Add Russian local to the resources. (#796)
This commit is contained in:
@@ -17,6 +17,7 @@ public class SemiTheme : Styles
|
|||||||
{ new CultureInfo("zh-CN"), new zh_cn() },
|
{ new CultureInfo("zh-CN"), new zh_cn() },
|
||||||
{ new CultureInfo("en-US"), new en_us() },
|
{ new CultureInfo("en-US"), new en_us() },
|
||||||
{ new CultureInfo("fr-FR"), new fr_fr() },
|
{ new CultureInfo("fr-FR"), new fr_fr() },
|
||||||
|
{ new CultureInfo("ru-RU"), new ru_ru() },
|
||||||
};
|
};
|
||||||
|
|
||||||
private static readonly ResourceDictionary _defaultResource = new zh_cn();
|
private static readonly ResourceDictionary _defaultResource = new zh_cn();
|
||||||
|
|||||||
21
src/Ursa.Themes.Semi/Locale/ru-ru.axaml
Normal file
21
src/Ursa.Themes.Semi/Locale/ru-ru.axaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<ResourceDictionary xmlns="https://github.com/avaloniaui"
|
||||||
|
x:Class="Ursa.Themes.Semi.Locale.ru_ru"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
|
<x:String x:Key="STRING_MENU_BRING_TO_FRONT">На передний план</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_BRING_FORWARD">На слой выше</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_SEND_BACKWARD">На слой ниже</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_SEND_TO_BACK">На задний план</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_DIALOG_OK">ОК</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_DIALOG_CANCEL">Отмена</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_DIALOG_YES">Да</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_DIALOG_NO">Нет</x:String>
|
||||||
|
<x:String x:Key="STRING_MENU_DIALOG_CLOSE">Закрыть</x:String>
|
||||||
|
<x:String x:Key="STRING_PAGINATION_JUMP_TO">Перейти к странице</x:String>
|
||||||
|
<x:String x:Key="STRING_PAGINATION_PAGE"> </x:String>
|
||||||
|
<x:String x:Key="STRING_THEME_TOGGLE_DARK">Темная</x:String>
|
||||||
|
<x:String x:Key="STRING_THEME_TOGGLE_LIGHT">Светлая</x:String>
|
||||||
|
<x:String x:Key="STRING_THEME_TOGGLE_SYSTEM">Системная</x:String>
|
||||||
|
<x:String x:Key="STRING_DATE_TIME_CONFIRM">Подтвердить</x:String>
|
||||||
|
<x:String x:Key="STRING_DATE_TIME_START_TIME">Время начала</x:String>
|
||||||
|
<x:String x:Key="STRING_DATE_TIME_END_TIME">Время окончания</x:String>
|
||||||
|
</ResourceDictionary>
|
||||||
13
src/Ursa.Themes.Semi/Locale/ru-ru.axaml.cs
Normal file
13
src/Ursa.Themes.Semi/Locale/ru-ru.axaml.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace Ursa.Themes.Semi.Locale;
|
||||||
|
|
||||||
|
public class ru_ru: ResourceDictionary
|
||||||
|
{
|
||||||
|
public ru_ru()
|
||||||
|
{
|
||||||
|
AvaloniaXamlLoader.Load(this);
|
||||||
|
this["STRING_PAGINATION_PAGE"] = string.Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user