Skip to content

Commit

Permalink
Add new translations: Greek and Arabic
Browse files Browse the repository at this point in the history
  • Loading branch information
timokoessler committed Jan 12, 2025
1 parent 95b8ecf commit cf335cd
Show file tree
Hide file tree
Showing 4 changed files with 619 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Guard.Core/Models/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public enum LanguageSetting
ZH_CN,
ZH_TW,
FR,
IT
IT,
EL,
AR
}

public enum SortOrderSetting
Expand Down
4 changes: 3 additions & 1 deletion Guard.WPF/Core/I18n.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class I18n
{ "zh_cn", "大陆简体" },
{ "zh_tw", "中文(繁體)" },
{ "fr", "Français" },
{ "it", "Italiano" }
{ "it", "Italiano" },
{ "el", "Ελληνικά" },
{ "ar", "العربية" },
};
private static readonly LanguageSetting defaultLanguage = LanguageSetting.EN;
private static LanguageSetting currentLanguage = defaultLanguage;
Expand Down
Loading

0 comments on commit cf335cd

Please sign in to comment.