summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-01-21 18:22:25 +0000
committersr55 <[email protected]>2021-01-21 18:22:25 +0000
commitce57e7a23872c299854d76201a5e000a98d11acf (patch)
tree4dc17c6824f0b8ffceb3a971d277ee887a1a1730
parent19693f67181b0a8a40615d919d03a8420893b6e7 (diff)
WinGui: Add ISO standard langauge names to the langugae dropdown in preferences. Closes #3363
-rw-r--r--win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs22
-rw-r--r--win/CS/HandBrakeWPF/Views/OptionsView.xaml2
2 files changed, 12 insertions, 12 deletions
diff --git a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
index a0ac427ed..e8fc554f1 100644
--- a/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
+++ b/win/CS/HandBrakeWPF/Utilities/InterfaceLanguageUtilities.cs
@@ -23,17 +23,17 @@ namespace HandBrakeWPF.Utilities
{
new InterfaceLanguage(null, Resources.Language_UseSystem),
new InterfaceLanguage("en", "English"),
- new InterfaceLanguage("de", "German"),
- new InterfaceLanguage("zh", "Chinese"),
- new InterfaceLanguage("fr", "French"),
- new InterfaceLanguage("ru", "Russian"),
- new InterfaceLanguage("es", "Spanish"),
- new InterfaceLanguage("tr", "Turkish"),
- new InterfaceLanguage("ko", "Korean"),
- new InterfaceLanguage("ja", "Japanese"),
- new InterfaceLanguage("pt-BR", "Brazilian Portuguese"),
- new InterfaceLanguage("co", "Corsican"),
- new InterfaceLanguage("uk", "Ukrainian"),
+ new InterfaceLanguage("de", "German (Deutsch)"),
+ new InterfaceLanguage("zh", "Chinese (中文)"),
+ new InterfaceLanguage("fr", "French (Français)"),
+ new InterfaceLanguage("ru", "Russian (Русский)"),
+ new InterfaceLanguage("es", "Spanish (Español)"),
+ new InterfaceLanguage("tr", "Turkish (Türkçe)"),
+ new InterfaceLanguage("ko", "Korean (한국어)"),
+ new InterfaceLanguage("ja", "Japanese (日本語 (にほんご))"),
+ new InterfaceLanguage("pt-BR", "Brazilian Portuguese (Português do Brasil)"),
+ new InterfaceLanguage("co", "Corsican (Corsu)"),
+ new InterfaceLanguage("uk", "Ukrainian (Українська)"),
};
}
diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
index 8b0005f1c..837484f2c 100644
--- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml
+++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml
@@ -134,7 +134,7 @@
<StackPanel Orientation="Horizontal" Margin="20,0,0,5">
<TextBlock Text="{x:Static Properties:Resources.OptionsView_Language}" Margin="0,0,0,0" VerticalAlignment="Center"/>
- <ComboBox DisplayMemberPath="Name" ItemsSource="{Binding InterfaceLanguages}" SelectedItem="{Binding SelectedLanguage}" Margin="5,0,0,0" HorizontalAlignment="Left" Width="150" />
+ <ComboBox DisplayMemberPath="Name" ItemsSource="{Binding InterfaceLanguages}" SelectedItem="{Binding SelectedLanguage}" Margin="5,0,0,0" HorizontalAlignment="Left" Width="245" />
</StackPanel>
<StackPanel Orientation="Vertical" Margin="20,5,0,0">