diff --git a/app/src/main/java/space/neothefox/laytray/MainActivity.java b/app/src/main/java/space/neothefox/laytray/MainActivity.java index 7da1bbd..e45c326 100644 --- a/app/src/main/java/space/neothefox/laytray/MainActivity.java +++ b/app/src/main/java/space/neothefox/laytray/MainActivity.java @@ -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 keys = layouts.getAll(); if(keys != null) { diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 5cb08c0..91fc77f 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -1,6 +1,6 @@ + android:title="@string/title_activity_settings" /> + android:title="@string/title_about" /> \ No newline at end of file diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml new file mode 100644 index 0000000..c5477a5 --- /dev/null +++ b/app/src/main/res/values-ru/strings.xml @@ -0,0 +1,38 @@ + + + LayTray + Простая иконка раскладки + LayTray требуется доступ к специальным возможностям для того чтобы прослушивать уведомления от клавиатуры. LayTray не видит что вы печатаете и не отправляет никаких данных о вашей активности в интернет. + Введите краткие названия для раскладок + Настройки + Необходимо включить сервис! + + Общие + + Приложения для наблюдения + + Blackberry Keyboard + + + Важность уведомления + + Форма иконки + + Текст + Текст в круге + Текст в квадрате + Текст в квадрате с обводкой + + + Редактор иконок + + + Иконка + + Жирность + Размер текста + + О программе + A layout icon by NeoTheFox \n + Distributed on the terms of GNU GPLv3 licence + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 137ae27..093b427 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -4,6 +4,7 @@ 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. Associate layout name with layout icon Settings + You have to enable the service! @@ -54,6 +55,7 @@ Bold Text size + About A layout icon by NeoTheFox \n Distributed on the terms of GNU GPLv3 licence