From 226b84a5d9d63e38cb86cd4a0d638c0ea491aa20 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Tue, 5 Mar 2019 23:58:34 +0100 Subject: [PATCH] MainActivity/DeviceList: Improve "no devices configured" UI text (#349) * Add string: no_devices_configured * Imported de translation * Add newline * Import de translation --- .../fragments/DeviceListFragment.java | 2 +- app/src/main/res/values-de/strings.xml | 12 ++++++++---- app/src/main/res/values/strings.xml | 12 ++++++++---- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceListFragment.java b/app/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceListFragment.java index 53241adb..e8c12e25 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceListFragment.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceListFragment.java @@ -123,7 +123,7 @@ public class DeviceListFragment extends ListFragment implements SyncthingService super.onViewCreated(view, savedInstanceState); setHasOptionsMenu(true); - setEmptyText(getString(R.string.devices_list_empty)); + setEmptyText(getString(R.string.no_devices_configured)); getListView().setOnItemClickListener(this); } diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index a6ed2cd0..bb0ccc71 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -101,7 +101,8 @@ Bitte melden Sie auftretende Probleme via GitHub. Geheimschlüssel werden generiert. Dies kann einige Minuten dauern… - + + Ordner @@ -125,14 +126,17 @@ Bitte melden Sie auftretende Probleme via GitHub. Kein kompatibler Dateimanager gefunden Wir empfehlen Dir, die Open-Source App \"Simple File Manager\" aus F-Droid zu installieren. Möchtest Du ihre Seite im App-Store aufrufen? - - + + Geräte - + Keine Geräte konfiguriert. Tippe zum Hinzufügen eines neuen Geräts. + + Keine Geräte konfiguriert.\nBeginne jetzt mit dem Hinzufügen eines Geräts. + Aktuell diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6992d214..7155fe5c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -104,7 +104,8 @@ Please report any problems you encounter via Github. Generating secure keys. This may take a few minutes… - + + Folders @@ -128,14 +129,17 @@ Please report any problems you encounter via Github. No compatible file manager app found We recommend you to install the open-source file manager app \'Simple File Manager\' from F-Droid. Would you like to open its app store page? - - + + Devices - + No devices configured. Tap to add a new device. + + No devices configured.\nBegin by adding a device now. + Up to Date