mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-24 21:54:59 +00:00
code_review: PR (#307)
* locale selection is sorted by name * add en_US fallback for de_DE
This commit is contained in:
parent
c8c881c38a
commit
425b713d1e
3 changed files with 6 additions and 1 deletions
|
@ -9,10 +9,10 @@ namespace SourceGit.Models
|
|||
|
||||
public static readonly List<Locale> Supported = new List<Locale>() {
|
||||
new Locale("English", "en_US"),
|
||||
new Locale("Deutsch", "de_DE"),
|
||||
new Locale("Português (Brasil)", "pt_BR"),
|
||||
new Locale("简体中文", "zh_CN"),
|
||||
new Locale("繁體中文", "zh_TW"),
|
||||
new Locale("Deutsch", "de_DE")
|
||||
};
|
||||
|
||||
public Locale(string name, string key)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceInclude Source="avares://SourceGit/Resources/Locales/en_US.axaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<x:String x:Key="Text.About" xml:space="preserve">Info</x:String>
|
||||
<x:String x:Key="Text.About.Menu" xml:space="preserve">Über SourceGit</x:String>
|
||||
<x:String x:Key="Text.About.BuildWith" xml:space="preserve">• Erstellen mit </x:String>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue