mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08: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
|
@ -110,6 +110,8 @@ This app supports open repository in external tools listed in the table below.
|
||||||
|
|
||||||
## Contributing
|
## 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.
|
Thanks to all the people who contribute.
|
||||||
|
|
||||||
[![Contributors](https://contrib.rocks/image?repo=sourcegit-scm/sourcegit&columns=10)](https://github.com/sourcegit-scm/sourcegit/graphs/contributors)
|
[![Contributors](https://contrib.rocks/image?repo=sourcegit-scm/sourcegit&columns=10)](https://github.com/sourcegit-scm/sourcegit/graphs/contributors)
|
||||||
|
|
|
@ -9,10 +9,10 @@ namespace SourceGit.Models
|
||||||
|
|
||||||
public static readonly List<Locale> Supported = new List<Locale>() {
|
public static readonly List<Locale> Supported = new List<Locale>() {
|
||||||
new Locale("English", "en_US"),
|
new Locale("English", "en_US"),
|
||||||
|
new Locale("Deutsch", "de_DE"),
|
||||||
new Locale("Português (Brasil)", "pt_BR"),
|
new Locale("Português (Brasil)", "pt_BR"),
|
||||||
new Locale("简体中文", "zh_CN"),
|
new Locale("简体中文", "zh_CN"),
|
||||||
new Locale("繁體中文", "zh_TW"),
|
new Locale("繁體中文", "zh_TW"),
|
||||||
new Locale("Deutsch", "de_DE")
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public Locale(string name, string key)
|
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 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" 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.Menu" xml:space="preserve">Über SourceGit</x:String>
|
||||||
<x:String x:Key="Text.About.BuildWith" xml:space="preserve">• Erstellen mit </x:String>
|
<x:String x:Key="Text.About.BuildWith" xml:space="preserve">• Erstellen mit </x:String>
|
||||||
|
|
Loading…
Reference in a new issue