mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
commit
e0171afec8
1090
FModel/Properties/Resources.pt-PT.resx
Normal file
1090
FModel/Properties/Resources.pt-PT.resx
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -13,11 +13,13 @@ namespace FModel.ViewModels.ComboBox
|
|||
private static readonly string _Japanese = "ja-JP";
|
||||
private static readonly string _Russian = "ru-RU";
|
||||
private static readonly string _ChineseSimp = "zh-CN";
|
||||
private static readonly string _Portuguese = "pt-PT";
|
||||
|
||||
public static string GetProgramLang()
|
||||
{
|
||||
return Properties.Settings.Default.ProgramLanguage switch
|
||||
{
|
||||
9 => _Portuguese,
|
||||
8 => _ChineseSimp,
|
||||
7 => _Russian,
|
||||
6 => _Japanese,
|
||||
|
|
@ -43,7 +45,8 @@ namespace FModel.ViewModels.ComboBox
|
|||
new ComboBoxViewModel { Id = 5, Content = Properties.Resources.Arabic },
|
||||
new ComboBoxViewModel { Id = 6, Content = Properties.Resources.Japanese },
|
||||
new ComboBoxViewModel { Id = 7, Content = Properties.Resources.Russian },
|
||||
new ComboBoxViewModel { Id = 8, Content = Properties.Resources.Chinese }
|
||||
new ComboBoxViewModel { Id = 8, Content = Properties.Resources.Chinese },
|
||||
new ComboBoxViewModel { Id = 9, Content = Properties.Resources.PortugueseBrazil }
|
||||
};
|
||||
|
||||
public static ObservableCollection<ComboBoxViewModel> languageCbViewModel = new ObservableCollection<ComboBoxViewModel>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user