Browse Source

Add localization, remove debug only for accounts

pull/324/head
Ionite 1 year ago
parent
commit
bee3bec549
No known key found for this signature in database
  1. 9
      StabilityMatrix.Avalonia/Languages/Resources.Designer.cs
  2. 3
      StabilityMatrix.Avalonia/Languages/Resources.resx
  3. 3
      StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml

9
StabilityMatrix.Avalonia/Languages/Resources.Designer.cs generated

@ -581,6 +581,15 @@ namespace StabilityMatrix.Avalonia.Languages {
} }
} }
/// <summary>
/// Looks up a localized string similar to .
/// </summary>
public static string Label_Accounts {
get {
return ResourceManager.GetString("Label_Accounts", resourceCulture);
}
}
/// <summary> /// <summary>
/// Looks up a localized string similar to Add Stability Matrix to the Start Menu. /// Looks up a localized string similar to Add Stability Matrix to the Start Menu.
/// </summary> /// </summary>

3
StabilityMatrix.Avalonia/Languages/Resources.resx

@ -777,4 +777,7 @@
<data name="Label_ApiKey" xml:space="preserve"> <data name="Label_ApiKey" xml:space="preserve">
<value>API Key</value> <value>API Key</value>
</data> </data>
<data name="Label_Accounts" xml:space="preserve">
<value />
</data>
</root> </root>

3
StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml

@ -255,10 +255,9 @@
Grid.Row="1" Grid.Row="1"
Margin="8,0" Margin="8,0"
IsClickEnabled="True" IsClickEnabled="True"
IsVisible="{Binding SharedState.IsDebugMode}"
Command="{Binding NavigateToSubPageCommand}" Command="{Binding NavigateToSubPageCommand}"
CommandParameter="{x:Type vmSettings:AccountSettingsViewModel}" CommandParameter="{x:Type vmSettings:AccountSettingsViewModel}"
Header="Accounts" Header="{x:Static lang:Resources.Label_Accounts}"
ActionIconSource="ChevronRight"> ActionIconSource="ChevronRight">
<ui:SettingsExpander.IconSource> <ui:SettingsExpander.IconSource>
<fluentIcons:SymbolIconSource <fluentIcons:SymbolIconSource

Loading…
Cancel
Save