From 61d11198891a15d17a061c89e3152d91a1b462a4 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 3 Oct 2017 22:46:23 +0900 Subject: [PATCH] Improve log activity title --- src/main/AndroidManifest.xml | 1 - .../syncthingandroid/activities/LogActivity.java | 11 +++++++++-- src/main/res/layout/fragment_external_versioning.xml | 2 -- src/main/res/layout/fragment_no_versioning.xml | 1 - src/main/res/layout/fragment_simple_versioning.xml | 3 --- src/main/res/layout/fragment_staggered_versioning.xml | 4 ---- src/main/res/layout/fragment_trashcan_versioning.xml | 3 --- src/main/res/layout/numberpicker_fragment.xml | 1 - src/main/res/menu/log_list.xml | 2 +- src/main/res/values-bg/strings.xml | 7 +++---- src/main/res/values-ca-rES/strings.xml | 7 +++---- src/main/res/values-cs/strings.xml | 7 +++---- src/main/res/values-da/strings.xml | 7 +++---- src/main/res/values-de/strings.xml | 7 +++---- src/main/res/values-el/strings.xml | 7 +++---- src/main/res/values-es-rMX/strings.xml | 7 +++---- src/main/res/values-es/strings.xml | 7 +++---- src/main/res/values-fi/strings.xml | 7 +++---- src/main/res/values-fr/strings.xml | 7 +++---- src/main/res/values-hu/strings.xml | 7 +++---- src/main/res/values-in/strings.xml | 7 +++---- src/main/res/values-it/strings.xml | 7 +++---- src/main/res/values-ja/strings.xml | 7 +++---- src/main/res/values-ko/strings.xml | 7 +++---- src/main/res/values-nb/strings.xml | 7 +++---- src/main/res/values-nl/strings.xml | 7 +++---- src/main/res/values-nn/strings.xml | 7 +++---- src/main/res/values-pl/strings.xml | 7 +++---- src/main/res/values-pt-rBR/strings.xml | 7 +++---- src/main/res/values-pt/strings.xml | 7 +++---- src/main/res/values-ru/strings.xml | 7 +++---- src/main/res/values-sk/strings.xml | 7 +++---- src/main/res/values-sv/strings.xml | 7 +++---- src/main/res/values-tr/strings.xml | 7 +++---- src/main/res/values-vi/strings.xml | 7 +++---- src/main/res/values-zh-rCN/strings.xml | 7 +++---- src/main/res/values/strings.xml | 8 ++++---- 37 files changed, 95 insertions(+), 130 deletions(-) diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 96b0fbf8..78451542 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -70,7 +70,6 @@ diff --git a/src/main/java/com/nutomic/syncthingandroid/activities/LogActivity.java b/src/main/java/com/nutomic/syncthingandroid/activities/LogActivity.java index 57fa7093..1729736c 100644 --- a/src/main/java/com/nutomic/syncthingandroid/activities/LogActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/activities/LogActivity.java @@ -39,6 +39,7 @@ public class LogActivity extends SyncthingActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_log); + setTitle(R.string.syncthing_log_title); if (savedInstanceState != null) { mSyncthingLog = savedInstanceState.getBoolean("syncthingLog"); @@ -63,7 +64,7 @@ public class LogActivity extends SyncthingActivity { inflater.inflate(R.menu.log_list, menu); MenuItem switchLog = menu.findItem(R.id.switch_logs); - switchLog.setTitle(mSyncthingLog ? R.string.log_android_title : R.string.log_syncthing_title); + switchLog.setTitle(mSyncthingLog ? R.string.view_android_log : R.string.view_syncthing_log); // Add the share button MenuItem shareItem = menu.findItem(R.id.menu_share); @@ -82,7 +83,13 @@ public class LogActivity extends SyncthingActivity { switch (item.getItemId()) { case R.id.switch_logs: mSyncthingLog = !mSyncthingLog; - item.setTitle(mSyncthingLog ? R.string.log_android_title : R.string.log_syncthing_title); + if (mSyncthingLog) { + item.setTitle(R.string.view_android_log); + setTitle(R.string.syncthing_log_title); + } else { + item.setTitle(R.string.view_syncthing_log); + setTitle(R.string.android_log_title); + } updateLog(); return true; default: diff --git a/src/main/res/layout/fragment_external_versioning.xml b/src/main/res/layout/fragment_external_versioning.xml index e99ee5f2..82ebab19 100644 --- a/src/main/res/layout/fragment_external_versioning.xml +++ b/src/main/res/layout/fragment_external_versioning.xml @@ -4,7 +4,6 @@ android:layout_height="match_parent"> diff --git a/src/main/res/layout/fragment_no_versioning.xml b/src/main/res/layout/fragment_no_versioning.xml index b1885bb1..8b3d671e 100644 --- a/src/main/res/layout/fragment_no_versioning.xml +++ b/src/main/res/layout/fragment_no_versioning.xml @@ -4,7 +4,6 @@ android:layout_height="wrap_content"> \ No newline at end of file diff --git a/src/main/res/menu/log_list.xml b/src/main/res/menu/log_list.xml index a713ee6d..2119e917 100644 --- a/src/main/res/menu/log_list.xml +++ b/src/main/res/menu/log_list.xml @@ -5,7 +5,7 @@ Създаването на нова папка се провали - Журнал - - Към журнала на Android + + Към журнала на Android - Към журнала на Syncthing + Към журнала на Syncthing Извличане на журналите... Сподели diff --git a/src/main/res/values-ca-rES/strings.xml b/src/main/res/values-ca-rES/strings.xml index 1dab6aa0..91bfb972 100644 --- a/src/main/res/values-ca-rES/strings.xml +++ b/src/main/res/values-ca-rES/strings.xml @@ -261,11 +261,10 @@ Ens podeu informar dels problemes que trobeu a través de Github. No s\'ha pogut crear la carpeta - Registre - - Mostra el registre de l\'Android + + Mostra el registre de l\'Android - Mostra el registre del Syncthing + Mostra el registre del Syncthing Obtenint registres... Comparteix diff --git a/src/main/res/values-cs/strings.xml b/src/main/res/values-cs/strings.xml index 9e204eb6..0fd06809 100644 --- a/src/main/res/values-cs/strings.xml +++ b/src/main/res/values-cs/strings.xml @@ -236,11 +236,10 @@ Všechny zaznamenané chyby prosím hlašte přes Github. Vytvoření adresáře selhalo - Log - - Zobrazit log pro Android + + Zobrazit log pro Android - Zobrazit log pro Syncthing + Zobrazit log pro Syncthing Získávám logy... Sdílet diff --git a/src/main/res/values-da/strings.xml b/src/main/res/values-da/strings.xml index d04eafbd..65326b74 100644 --- a/src/main/res/values-da/strings.xml +++ b/src/main/res/values-da/strings.xml @@ -248,11 +248,10 @@ Vær venlig at rapportere ethvert problem, du støder på, via Github. Det lykkedes ikke at oprette en ny mappe - Log - - Vis Android Log + + Vis Android Log - Vis Syncthing Log + Vis Syncthing Log Indhenter logs... Del diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml index 3b9d4d81..6a4d9f68 100644 --- a/src/main/res/values-de/strings.xml +++ b/src/main/res/values-de/strings.xml @@ -255,11 +255,10 @@ Bitte melden Sie auftretende Probleme via Github. Verzeichniserstellung fehlgeschlagen - Log - - Zeige Android-Log + + Zeige Android-Log - Zeige Syncthing-Log + Zeige Syncthing-Log Rufe Protokoll ab... Teilen diff --git a/src/main/res/values-el/strings.xml b/src/main/res/values-el/strings.xml index 18f470e6..2a09febc 100644 --- a/src/main/res/values-el/strings.xml +++ b/src/main/res/values-el/strings.xml @@ -261,11 +261,10 @@ Η δημιουργία φακέλου απέτυχε - Καταγραφή συμβάντων - - Εμφάνιση καταγραφής Android + + Εμφάνιση καταγραφής Android - Εμφάνιση καταγραφής Syncthing + Εμφάνιση καταγραφής Syncthing Ανάκτηση καταγραφών... Κοινή χρήση diff --git a/src/main/res/values-es-rMX/strings.xml b/src/main/res/values-es-rMX/strings.xml index c76cbdf5..20470ac5 100644 --- a/src/main/res/values-es-rMX/strings.xml +++ b/src/main/res/values-es-rMX/strings.xml @@ -208,11 +208,10 @@ Fallo al crear carpeta - Registro - - Ver registro de Android + + Ver registro de Android - Ver registro de Syncthing + Ver registro de Syncthing Compartir diff --git a/src/main/res/values-es/strings.xml b/src/main/res/values-es/strings.xml index 598d5abe..0ab59ed0 100644 --- a/src/main/res/values-es/strings.xml +++ b/src/main/res/values-es/strings.xml @@ -242,11 +242,10 @@ Error al crear la carpeta - Registro - - Mostrar registro de Android + + Mostrar registro de Android - Mostrar registro de Syncthing + Mostrar registro de Syncthing Recuperando los registros... Compartir diff --git a/src/main/res/values-fi/strings.xml b/src/main/res/values-fi/strings.xml index d2de8a8e..a775f604 100644 --- a/src/main/res/values-fi/strings.xml +++ b/src/main/res/values-fi/strings.xml @@ -243,11 +243,10 @@ Ilmoitathan ystävällisesti kaikista havaitsemistasi ongelmista Githubin kautta Kansion luominen epäonnistui - Loki - - Näytä Android loki + + Näytä Android loki - Näytä Synching loki + Näytä Synching loki Noudetaan lokeja... Jaa diff --git a/src/main/res/values-fr/strings.xml b/src/main/res/values-fr/strings.xml index e4226460..9ed8f645 100644 --- a/src/main/res/values-fr/strings.xml +++ b/src/main/res/values-fr/strings.xml @@ -261,11 +261,10 @@ S\'il vous plaît, soumettez les problèmes que vous rencontrez via Github.Échec de création du partage - Journal - - Voir le journal Android + + Voir le journal Android - Voir le journal Syncthing + Voir le journal Syncthing Récupération des journaux.... Partage diff --git a/src/main/res/values-hu/strings.xml b/src/main/res/values-hu/strings.xml index ebad683f..430ce3e4 100644 --- a/src/main/res/values-hu/strings.xml +++ b/src/main/res/values-hu/strings.xml @@ -269,11 +269,10 @@ Biztosan törölni szeretnéd a Syncthing index adatbázisát? Nem sikerült létrehozni a mappát - Napló - - Android napló megtekintése + + Android napló megtekintése - Syncthing napló megtekintése + Syncthing napló megtekintése Naplók betöltése... Megosztás diff --git a/src/main/res/values-in/strings.xml b/src/main/res/values-in/strings.xml index 1d23192a..f0f8ccdb 100644 --- a/src/main/res/values-in/strings.xml +++ b/src/main/res/values-in/strings.xml @@ -241,11 +241,10 @@ Jika ada masalah silakan laporkan lewat Github. Gagal membuat folder - Log - - Lihat Log Android + + Lihat Log Android - Lihat Log Syncthing + Lihat Log Syncthing Memuat log... Bagikan diff --git a/src/main/res/values-it/strings.xml b/src/main/res/values-it/strings.xml index 64efaaf0..e8cfe420 100644 --- a/src/main/res/values-it/strings.xml +++ b/src/main/res/values-it/strings.xml @@ -258,11 +258,10 @@ Si prega di segnalare eventuali problemi che si incontrano via Github. Impossibile creare la cartella - Registro - - Mostra Registro di Android + + Mostra Registro di Android - Mostra Registro di Syncthing + Mostra Registro di Syncthing Recupero log... Condividi diff --git a/src/main/res/values-ja/strings.xml b/src/main/res/values-ja/strings.xml index 3e9273e9..42efa799 100644 --- a/src/main/res/values-ja/strings.xml +++ b/src/main/res/values-ja/strings.xml @@ -259,11 +259,10 @@ フォルダーの作成に失敗しました - ログ - - Android ログを表示 + + Android ログを表示 - Syncthing ログを表示 + Syncthing ログを表示 ログの取得中… 共有 diff --git a/src/main/res/values-ko/strings.xml b/src/main/res/values-ko/strings.xml index c8f87d68..25a69883 100644 --- a/src/main/res/values-ko/strings.xml +++ b/src/main/res/values-ko/strings.xml @@ -259,11 +259,10 @@ 폴더를 생성할 수 없었습니다 - 로그 - - Android 로그 보기 + + Android 로그 보기 - Syncthing 로그 보기 + Syncthing 로그 보기 로그를 받아오는중... 공유 diff --git a/src/main/res/values-nb/strings.xml b/src/main/res/values-nb/strings.xml index 79e1346f..bf4d9738 100644 --- a/src/main/res/values-nb/strings.xml +++ b/src/main/res/values-nb/strings.xml @@ -214,11 +214,10 @@ Feil ved opprettelse av mappe - Logg - - Vis Android-logg + + Vis Android-logg - Vis Syncthing-logg + Vis Syncthing-logg Del diff --git a/src/main/res/values-nl/strings.xml b/src/main/res/values-nl/strings.xml index df8ecc7d..6ce71851 100644 --- a/src/main/res/values-nl/strings.xml +++ b/src/main/res/values-nl/strings.xml @@ -248,11 +248,10 @@ Als je problemen tegenkomt, meld ze dan via GitHub. Aanmaken van map mislukt - Log - - Bekijk Android-log + + Bekijk Android-log - Bekijk Syncthing-log + Bekijk Syncthing-log Logs worden opgehaald… Delen diff --git a/src/main/res/values-nn/strings.xml b/src/main/res/values-nn/strings.xml index ad949b5f..535bde74 100644 --- a/src/main/res/values-nn/strings.xml +++ b/src/main/res/values-nn/strings.xml @@ -214,11 +214,10 @@ Lukkast ikkje med å lage mappe - Logg - - Vis Android-logg + + Vis Android-logg - Vis Synchting-logg + Vis Synchting-logg Del diff --git a/src/main/res/values-pl/strings.xml b/src/main/res/values-pl/strings.xml index 252ebbfa..5e5936b6 100644 --- a/src/main/res/values-pl/strings.xml +++ b/src/main/res/values-pl/strings.xml @@ -237,11 +237,10 @@ Proszę zgłaszać napotkane błędy programu za pośrednictwem serwisu Github.< Nie udało się utworzyć katalogu - Dziennik - - Wyświetl dziennik systemu + + Wyświetl dziennik systemu - Wyświetl dziennik programu + Wyświetl dziennik programu Uzyskiwanie dzienników… Udostępnij diff --git a/src/main/res/values-pt-rBR/strings.xml b/src/main/res/values-pt-rBR/strings.xml index 194f56c5..1a42a7e4 100644 --- a/src/main/res/values-pt-rBR/strings.xml +++ b/src/main/res/values-pt-rBR/strings.xml @@ -255,11 +255,10 @@ Por favor, nos avise sobre quaisquer problemas que você encontrar via Github.Falha na criação da pasta - Log - - Exibir o log do Android + + Exibir o log do Android - Exibir o log do Syncthing + Exibir o log do Syncthing Recuperando logs... Compartilhar diff --git a/src/main/res/values-pt/strings.xml b/src/main/res/values-pt/strings.xml index bb18d752..ecce9bae 100644 --- a/src/main/res/values-pt/strings.xml +++ b/src/main/res/values-pt/strings.xml @@ -235,11 +235,10 @@ Reporte, através do Github, quaisquer problemas que encontre, por favor.Falhou a criação da pasta - Registo - - Ver registo do Android + + Ver registo do Android - Ver o registo do Syncthing + Ver o registo do Syncthing Obtendo registos... Partilhar diff --git a/src/main/res/values-ru/strings.xml b/src/main/res/values-ru/strings.xml index 2ccd08e8..eae96e27 100644 --- a/src/main/res/values-ru/strings.xml +++ b/src/main/res/values-ru/strings.xml @@ -241,11 +241,10 @@ Не удалось создать папку - Лог - - Логи Android + + Логи Android - Логи Syncthing + Логи Syncthing Получение логов... Поделиться diff --git a/src/main/res/values-sk/strings.xml b/src/main/res/values-sk/strings.xml index 60941eaf..634b8f08 100644 --- a/src/main/res/values-sk/strings.xml +++ b/src/main/res/values-sk/strings.xml @@ -194,11 +194,10 @@ Naozaj chcete resetovať databázu s indexom súborov? Nepodarilo sa vytvoriť adresár - Záznam - - Zobraziť záznam Androidu + + Zobraziť záznam Androidu - Zobraziť záznam Syncthing + Zobraziť záznam Syncthing Zdielať diff --git a/src/main/res/values-sv/strings.xml b/src/main/res/values-sv/strings.xml index a5afe28b..8a5fcd33 100644 --- a/src/main/res/values-sv/strings.xml +++ b/src/main/res/values-sv/strings.xml @@ -260,11 +260,10 @@ Vänligen rapportera eventuella problem du stöter på via Github. Det gick inte att skapa mapp - Logg - - Visa Android logg + + Visa Android logg - Visa Syncthing logg + Visa Syncthing logg Hämtar loggar... Dela diff --git a/src/main/res/values-tr/strings.xml b/src/main/res/values-tr/strings.xml index 05706d72..dcd44926 100644 --- a/src/main/res/values-tr/strings.xml +++ b/src/main/res/values-tr/strings.xml @@ -234,11 +234,10 @@ Eğer herhangi bir sorunla karşılaşırsan Github aracılığıyla bildir.Klasör oluşturulamadı - Günlük - - Android Günlüğünü Göster + + Android Günlüğünü Göster - Syncthing Günlük Kayıtlarını Göster + Syncthing Günlük Kayıtlarını Göster Günlükler alınıyor... Paylaş diff --git a/src/main/res/values-vi/strings.xml b/src/main/res/values-vi/strings.xml index 6646aa38..ef449c17 100644 --- a/src/main/res/values-vi/strings.xml +++ b/src/main/res/values-vi/strings.xml @@ -208,11 +208,10 @@ Tạo thư mục thất bại - Lịch sử - - Xem lịch sử Android + + Xem lịch sử Android - Xem lịch sử Syncthing + Xem lịch sử Syncthing Chia sẻ diff --git a/src/main/res/values-zh-rCN/strings.xml b/src/main/res/values-zh-rCN/strings.xml index dfaa35e7..56e48d33 100644 --- a/src/main/res/values-zh-rCN/strings.xml +++ b/src/main/res/values-zh-rCN/strings.xml @@ -261,11 +261,10 @@ 新建文件夹失败 - 日志 - - 查看 Android 系统日志 + + 查看 Android 系统日志 - 查看 Syncthing 日志 + 查看 Syncthing 日志 正在检索日志… 日志 diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 5ae78ce2..f4193473 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -437,14 +437,14 @@ Please report any problems you encounter via Github. - - Log + Syncthing Log + Android Log - View Android Log + View Android Log - View Syncthing Log + View Syncthing Log Retrieving logs…