2024-02-05 23:08:37 -08:00
|
|
|
<Application xmlns="https://github.com/avaloniaui"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-05-10 20:31:14 -07:00
|
|
|
xmlns:s="using:SourceGit"
|
2024-02-05 23:08:37 -08:00
|
|
|
x:Class="SourceGit.App"
|
|
|
|
Name="SourceGit"
|
|
|
|
RequestedThemeVariant="Dark">
|
|
|
|
<Application.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
|
<ResourceInclude Source="/Resources/Icons.axaml"/>
|
|
|
|
<ResourceInclude Source="/Resources/Themes.axaml"/>
|
|
|
|
</ResourceDictionary.MergedDictionaries>
|
2024-04-06 03:06:32 -07:00
|
|
|
|
2024-07-31 14:28:58 -07:00
|
|
|
<ResourceInclude x:Key="de_DE" Source="/Resources/Locales/de_DE.axaml"/>
|
2024-04-06 03:06:32 -07:00
|
|
|
<ResourceInclude x:Key="en_US" Source="/Resources/Locales/en_US.axaml"/>
|
2024-08-22 15:17:09 -07:00
|
|
|
<ResourceInclude x:Key="fr_FR" Source="/Resources/Locales/fr_FR.axaml"/>
|
2024-07-31 06:08:59 -07:00
|
|
|
<ResourceInclude x:Key="pt_BR" Source="/Resources/Locales/pt_BR.axaml"/>
|
2024-09-22 03:00:08 -07:00
|
|
|
<ResourceInclude x:Key="ru_RU" Source="/Resources/Locales/ru_RU.axaml"/>
|
2024-04-06 03:06:32 -07:00
|
|
|
<ResourceInclude x:Key="zh_CN" Source="/Resources/Locales/zh_CN.axaml"/>
|
2024-06-05 19:41:22 -07:00
|
|
|
<ResourceInclude x:Key="zh_TW" Source="/Resources/Locales/zh_TW.axaml"/>
|
2024-02-05 23:08:37 -08:00
|
|
|
</ResourceDictionary>
|
|
|
|
</Application.Resources>
|
|
|
|
|
|
|
|
<Application.Styles>
|
|
|
|
<FluentTheme />
|
|
|
|
<StyleInclude Source="avares://AvaloniaEdit/Themes/Fluent/AvaloniaEdit.xaml" />
|
|
|
|
<StyleInclude Source="/Resources/Styles.axaml"/>
|
|
|
|
</Application.Styles>
|
2024-05-10 20:31:14 -07:00
|
|
|
|
|
|
|
<NativeMenu.Menu>
|
|
|
|
<NativeMenu>
|
2024-05-11 01:51:10 -07:00
|
|
|
<NativeMenuItem Header="{DynamicResource Text.About.Menu}" Command="{x:Static s:App.OpenAboutCommand}"/>
|
2024-05-13 02:21:13 -07:00
|
|
|
<NativeMenuItem Header="{DynamicResource Text.Hotkeys}" Command="{x:Static s:App.OpenHotkeysCommand}"/>
|
2024-05-10 20:31:14 -07:00
|
|
|
<NativeMenuItem Header="{DynamicResource Text.SelfUpdate}" Command="{x:Static s:App.CheckForUpdateCommand}"/>
|
2024-05-10 20:43:02 -07:00
|
|
|
<NativeMenuItemSeparator/>
|
|
|
|
<NativeMenuItem Header="{DynamicResource Text.Preference}" Command="{x:Static s:App.OpenPreferenceCommand}" Gesture="⌘+,"/>
|
2024-08-14 20:47:04 -07:00
|
|
|
<NativeMenuItem Header="{DynamicResource Text.OpenAppDataDir}" Command="{x:Static s:App.OpenAppDataDirCommand}"/>
|
2024-05-10 20:43:02 -07:00
|
|
|
<NativeMenuItemSeparator/>
|
2024-05-17 00:23:29 -07:00
|
|
|
<NativeMenuItem Header="{DynamicResource Text.Quit}" Command="{x:Static s:App.QuitCommand}" Gesture="⌘+Q"/>
|
2024-05-10 20:31:14 -07:00
|
|
|
</NativeMenu>
|
|
|
|
</NativeMenu.Menu>
|
2024-04-06 03:06:32 -07:00
|
|
|
</Application>
|