Skip to content

Commit 839446c

Browse files
authored
ux: align source revision in about dialog (#2331)
1 parent 7cdae3b commit 839446c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Resources/Locales/zh_TW.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</ResourceDictionary.MergedDictionaries>
55

66
<x:String x:Key="Text.About" xml:space="preserve">關於</x:String>
7-
<x:String x:Key="Text.About.GitSourceRevision" xml:space="preserve">構建於源代碼修訂版: </x:String>
7+
<x:String x:Key="Text.About.GitSourceRevision" xml:space="preserve">原始碼版本:</x:String>
88
<x:String x:Key="Text.About.Menu" xml:space="preserve">關於 SourceGit</x:String>
99
<x:String x:Key="Text.About.ReleaseDate" xml:space="preserve">發行日期: {0}</x:String>
1010
<x:String x:Key="Text.About.ReleaseNotes" xml:space="preserve">版本說明</x:String>

src/Views/About.axaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@
7171
</StackPanel>
7272

7373
<TextBlock x:Name="TxtReleaseDate" Margin="0,28,0,0" Foreground="{DynamicResource Brush.FG2}"/>
74-
74+
7575
<StackPanel x:Name="PnlGitSourceRevision" Orientation="Horizontal" Margin="0,2,0,0" IsVisible="False">
76-
<TextBlock Foreground="{DynamicResource Brush.FG2}" Text="{DynamicResource Text.About.GitSourceRevision}"/>
77-
<SelectableTextBlock x:Name="TxtGitSourceRevision" Margin="4,0,0,0" Foreground="{DynamicResource Brush.FG2}"/>
76+
<TextBlock VerticalAlignment="Center" Foreground="{DynamicResource Brush.FG2}" Text="{DynamicResource Text.About.GitSourceRevision}"/>
77+
<SelectableTextBlock x:Name="TxtGitSourceRevision" Margin="4,0,0,0" VerticalAlignment="Center" Foreground="{DynamicResource Brush.FG2}"/>
7878
</StackPanel>
7979

8080
<TextBlock x:Name="TxtCopyright" Margin="0,2,0,0" Foreground="{DynamicResource Brush.FG2}"/>

0 commit comments

Comments
 (0)