mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
code_review: PR (#307)
* locale selection is sorted by name * add en_US fallback for de_DE
This commit is contained in:
@@ -110,6 +110,8 @@ This app supports open repository in external tools listed in the table below.
|
||||
|
||||
## Contributing
|
||||
|
||||
Everyone is welcome to submit a PR. Please make sure your PR is based on the latest `develop` branch and the target branch of PR is `develop`.
|
||||
|
||||
Thanks to all the people who contribute.
|
||||
|
||||
[](https://github.com/sourcegit-scm/sourcegit/graphs/contributors)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user