From a7e49219325d5b22c4186c1615c6a95ce66a6b02 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 13 Dec 2018 20:54:37 +0000 Subject: [PATCH] rewording and translations --- .../main/java/net/ktnx/mobileledger/AccountSummary.java | 4 ++-- app/src/main/res/menu/account_summary.xml | 6 +++--- app/src/main/res/values-bg/strings.xml | 8 +++++++- app/src/main/res/values/strings.xml | 8 ++++---- app/src/main/res/xml/pref_interface.xml | 6 +++--- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java index c1f834b1..b6b3cfd0 100644 --- a/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java +++ b/app/src/main/java/net/ktnx/mobileledger/AccountSummary.java @@ -162,7 +162,7 @@ public class AccountSummary extends AppCompatActivity { getMenuInflater().inflate(R.menu.account_summary, menu); optMenu = menu; - mShowHiddenAccounts = menu.findItem(R.id.menu_acc_summary_show_hidden); + mShowHiddenAccounts = menu.findItem(R.id.menu_acc_summary_only_starred); if (mShowHiddenAccounts == null) throw new AssertionError(); sBindPreferenceSummaryToValueListener = (preference, value) -> mShowHiddenAccounts @@ -195,7 +195,7 @@ public class AccountSummary extends AppCompatActivity { } public - void onShowHiddenAccountsClicked(MenuItem mi) { + void onShowOnlyStarredClicked(MenuItem mi) { SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); boolean flag = pref.getBoolean("show_hidden_accounts", false); diff --git a/app/src/main/res/menu/account_summary.xml b/app/src/main/res/menu/account_summary.xml index 0a4b4361..65abb6dd 100644 --- a/app/src/main/res/menu/account_summary.xml +++ b/app/src/main/res/menu/account_summary.xml @@ -3,12 +3,12 @@ xmlns:android="http://schemas.android.com/apk/res/android"> Скриване на сметката Обновяване Мрежова грешка - Показване на скритите сметки + Показване само на любимите Отначало Следващ + Интерфейс + Списъкът на сметките съдържа всички сметки + Показват се само отбелязаните със звезда + Отказ + Грешно потребителско име или парола + 0,00 \ 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 c0540162..a57104ea 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -57,7 +57,7 @@ New Transaction Account today - 0.00 + 0.00 Add another acount At least two accounts are required Invalid backend URL @@ -72,13 +72,13 @@ Refresh Hide account Hide - Show hidden accounts + Show only starred Invalid username or password Reset Next Interface - Hidden accounts are not visible in the account list - Hidden accounts are shown in the account list + Account list contains all accounts + Only starred accounts are shown Hide selected accounts Cancel selection diff --git a/app/src/main/res/xml/pref_interface.xml b/app/src/main/res/xml/pref_interface.xml index 218ab0e4..bc832f88 100644 --- a/app/src/main/res/xml/pref_interface.xml +++ b/app/src/main/res/xml/pref_interface.xml @@ -5,7 +5,7 @@ android:id="@+id/pref_show_hidden_accounts" android:defaultValue="false" android:key="show_hidden_accounts" - android:summaryOff="@string/pref_show_hidden_accounts_off_summary" - android:summaryOn="@string/pref_show_hidden_accounts_on_summary" - android:title="@string/menu_acc_summary_show_hidden_accounts_title" /> + android:summaryOff="@string/pref_show_only_starred_off_summary" + android:summaryOn="@string/pref_show_only_starred_on_summary" + android:title="@string/menu_acc_summary_show_only_starred_title" /> \ No newline at end of file -- 2.39.5