mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 08:34:59 +00:00
refactor: use axaml resource to manage locales instead of resx
This commit is contained in:
parent
1196fabfc1
commit
040a6d4bba
12 changed files with 896 additions and 8092 deletions
|
@ -9,6 +9,9 @@
|
|||
<ResourceInclude Source="/Resources/Icons.axaml"/>
|
||||
<ResourceInclude Source="/Resources/Themes.axaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<ResourceInclude x:Key="en_US" Source="/Resources/Locales/en_US.axaml"/>
|
||||
<ResourceInclude x:Key="zh_CN" Source="/Resources/Locales/zh_CN.axaml"/>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
|
||||
|
@ -18,4 +21,4 @@
|
|||
<StyleInclude Source="avares://AvaloniaEdit/Themes/Fluent/AvaloniaEdit.xaml" />
|
||||
<StyleInclude Source="/Resources/Styles.axaml"/>
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
</Application>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue