mirror of
https://gitlab.com/neothefox/LayTray
synced 2026-03-23 13:44:53 +03:00
Added Russian translation
This commit is contained in:
parent
687ceef17d
commit
7bed8dc93a
@ -45,7 +45,7 @@ implements View.OnClickListener, SharedPreferences.OnSharedPreferenceChangeListe
|
||||
layouts.registerOnSharedPreferenceChangeListener(this);
|
||||
|
||||
if (!isAccessibilitySettingsOn(getApplicationContext())) {
|
||||
Toast.makeText(this, "You have to enable the service!",
|
||||
Toast.makeText(this, R.string.toast_enableme,
|
||||
Toast.LENGTH_LONG).show();
|
||||
startActivity(new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS));
|
||||
}
|
||||
@ -56,7 +56,7 @@ implements View.OnClickListener, SharedPreferences.OnSharedPreferenceChangeListe
|
||||
{
|
||||
layoutLister.removeAllViewsInLayout();
|
||||
|
||||
Log.d(TAG, "Updateing Layouts:");
|
||||
Log.d(TAG, "Updating Layouts:");
|
||||
Map<String,?> keys = layouts.getAll();
|
||||
if(keys != null)
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:id="@+id/settings"
|
||||
android:title="Settings" />
|
||||
android:title="@string/title_activity_settings" />
|
||||
<item android:id="@+id/about"
|
||||
android:title="About" />
|
||||
android:title="@string/title_about" />
|
||||
</menu>
|
||||
38
app/src/main/res/values-ru/strings.xml
Normal file
38
app/src/main/res/values-ru/strings.xml
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name">LayTray</string>
|
||||
<string name="service_description">Простая иконка раскладки</string>
|
||||
<string name="accessibility_summary">LayTray требуется доступ к специальным возможностям для того чтобы прослушивать уведомления от клавиатуры. LayTray не видит что вы печатаете и не отправляет никаких данных о вашей активности в интернет.</string>
|
||||
<string name="activity_info">Введите краткие названия для раскладок</string>
|
||||
<string name="title_activity_settings">Настройки</string>
|
||||
<string name="toast_enableme">Необходимо включить сервис!</string>
|
||||
|
||||
<string name="pref_header_general">Общие</string>
|
||||
|
||||
<string name="pref_title_default_app_name">Приложения для наблюдения</string>
|
||||
<string-array name="pref_default_app_name_list_titles">
|
||||
<item>Blackberry Keyboard</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_notification_importance">Важность уведомления</string>
|
||||
|
||||
<string name="pref_title_notification_mode">Форма иконки</string>
|
||||
<string-array name="pref_notification_mode_list_titles">
|
||||
<item>Текст</item>
|
||||
<item>Текст в круге</item>
|
||||
<item>Текст в квадрате</item>
|
||||
<item>Текст в квадрате с обводкой</item>
|
||||
</string-array>
|
||||
|
||||
<string name="pref_title_icon_builder">Редактор иконок</string>
|
||||
|
||||
<!-- Example settings for Notifications -->
|
||||
<string name="pref_header_notifications">Иконка</string>
|
||||
|
||||
<string name="pref_title_text_fake_bold">Жирность</string>
|
||||
<string name="pref_title_text_size">Размер текста</string>
|
||||
|
||||
<string name="title_about">О программе</string>
|
||||
<string name="about_text">A layout icon by NeoTheFox \n
|
||||
Distributed on the terms of GNU GPLv3 licence</string>
|
||||
</resources>
|
||||
@ -4,6 +4,7 @@
|
||||
<string name="accessibility_summary">LayTray needs to be enabled as an accessibility app, because the only way to get layout info on Android is by monitoring the Toast notification. Right now it monitors Blackberry Keyboard exclusively.</string>
|
||||
<string name="activity_info">Associate layout name with layout icon</string>
|
||||
<string name="title_activity_settings">Settings</string>
|
||||
<string name="toast_enableme">You have to enable the service!</string>
|
||||
|
||||
<!-- Strings related to Settings -->
|
||||
|
||||
@ -54,6 +55,7 @@
|
||||
<string name="pref_title_text_fake_bold">Bold</string>
|
||||
<string name="pref_title_text_size">Text size</string>
|
||||
|
||||
<string name="title_about">About</string>
|
||||
<string name="about_text">A layout icon by NeoTheFox \n
|
||||
Distributed on the terms of GNU GPLv3 licence</string>
|
||||
</resources>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user