1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-24 10:55:54 +00:00

Remove "loading" overlay dialog as the status tab tells (#22)

us if syncthing is starting or restarting.
This commit is contained in:
Catfriend1 2018-08-22 22:23:35 +02:00 committed by GitHub
parent b48bed7319
commit 0bfc7e3e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 3 additions and 224 deletions

View file

@ -65,7 +65,7 @@ import static java.lang.Math.min;
* {@link DeviceListFragment} in different tabs, and
* {@link DrawerFragment} in the navigation drawer.
*/
public class MainActivity extends StateDialogActivity
public class MainActivity extends SyncthingActivity
implements SyncthingService.OnServiceStateChangeListener {
private static final String TAG = "MainActivity";

View file

@ -45,7 +45,7 @@ import java.util.Map;
* {@link #getDisplayNameForUri} and {@link #getDisplayNameFromContentResolver} are taken from
* ownCloud Android {@see https://github.com/owncloud/android/blob/79664304fdb762b2e04f1ac505f50d0923ddd212/src/com/owncloud/android/utils/UriUtils.java#L193}
*/
public class ShareActivity extends StateDialogActivity
public class ShareActivity extends SyncthingActivity
implements SyncthingActivity.OnServiceConnectedListener, SyncthingService.OnServiceStateChangeListener {
private static final String TAG = "ShareActivity";

View file

@ -1,107 +0,0 @@
package com.nutomic.syncthingandroid.activities;
import android.app.AlertDialog;
import android.content.Intent;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.view.View;
import com.nutomic.syncthingandroid.R;
import com.nutomic.syncthingandroid.databinding.DialogLoadingBinding;
import com.nutomic.syncthingandroid.service.SyncthingService;
import com.nutomic.syncthingandroid.service.SyncthingService.State;
import com.nutomic.syncthingandroid.util.Util;
import java.util.concurrent.TimeUnit;
/**
* Handles loading/disabled dialogs.
*/
public abstract class StateDialogActivity extends SyncthingActivity {
private static final long SLOW_LOADING_TIME = TimeUnit.SECONDS.toMillis(30);
private State mServiceState = State.INIT;
private AlertDialog mLoadingDialog;
private AlertDialog mDisabledDialog;
private boolean mIsPaused = true;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
registerOnServiceConnectedListener(() ->
getService().registerOnServiceStateChangeListener(this::onServiceStateChange));
}
@Override
protected void onResume() {
super.onResume();
mIsPaused = false;
}
@Override
protected void onPause() {
super.onPause();
mIsPaused = true;
dismissLoadingDialog();
}
@Override
protected void onDestroy() {
super.onDestroy();
if (getService() != null) {
getService().unregisterOnServiceStateChangeListener(this::onServiceStateChange);
}
}
private void onServiceStateChange(SyncthingService.State currentState) {
mServiceState = currentState;
switch (mServiceState) {
case INIT: // fallthrough
case STARTING:
showLoadingDialog();
break;
case ACTIVE:
dismissLoadingDialog();
break;
case DISABLED: // fallthrough
case ERROR: // fallthrough
default:
break;
}
}
/**
* Shows the loading dialog with the correct text ("creating keys" or "loading").
*/
private void showLoadingDialog() {
if (mIsPaused || mLoadingDialog != null)
return;
DialogLoadingBinding binding = DataBindingUtil.inflate(
getLayoutInflater(), R.layout.dialog_loading, null, false);
binding.loadingText.setText(R.string.api_loading);
mLoadingDialog = new AlertDialog.Builder(this)
.setCancelable(false)
.setView(binding.getRoot())
.show();
new Handler().postDelayed(() -> {
if (this.isFinishing() || mLoadingDialog == null)
return;
binding.loadingSlowMessage.setVisibility(View.VISIBLE);
binding.viewLogs.setOnClickListener(v ->
startActivity(new Intent(this, LogActivity.class)));
}, SLOW_LOADING_TIME);
}
private void dismissLoadingDialog() {
Util.dismissDialogSafe(mLoadingDialog, this);
mLoadingDialog = null;
}
}

View file

@ -48,7 +48,7 @@ import java.util.Properties;
/**
* Holds a WebView that shows the web ui of the local syncthing instance.
*/
public class WebGuiActivity extends StateDialogActivity
public class WebGuiActivity extends SyncthingActivity
implements SyncthingService.OnServiceStateChangeListener {
private static final String TAG = "WebGuiActivity";

View file

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/abc_action_bar_content_inset_material"
android:theme="?alertDialogTheme"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center">
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/abc_action_bar_content_inset_material"
android:layout_marginEnd="@dimen/abc_action_bar_content_inset_material" />
<TextView
android:id="@+id/loading_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="@string/api_loading"/>
</LinearLayout>
<LinearLayout
android:id="@+id/loading_slow_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible"
android:gravity="center"
android:layout_marginTop="24dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/syncthing_loading_slow_message"/>
<Button
android:id="@+id/view_logs"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/open_log"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:textColor="@color/accent"/>
</LinearLayout>
</LinearLayout>
</layout>

View file

@ -22,7 +22,6 @@
<string name="open_website">فتح موقع الويب</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">تحميل ...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<!--FoldersFragment-->
<!--Shown if no folders exist-->

View file

@ -32,7 +32,6 @@
<string name="ignore_doze_permission_title">Пестене на батерия</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Зареждане...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Генериране на ключове за сигурност. Може да отнеме няколко минути.</string>
<!--FoldersFragment-->

View file

@ -35,10 +35,8 @@ Ens podeu informar dels problemes que trobeu a través de Github.</string>
<string name="dialog_disable_battery_optimizations_not_supported">El teu dispositiu no permet desactivar les optimitzacions de bateria</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Carregant…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generant claus segures. Pot trigar uns minuts.</string>
<string name="syncthing_loading_slow_message">El Syncthing està trigant molt a carregar-se. Reviseu els registres per si hi ha algun error.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Carpetes</string>
<!--Shown if no folders exist-->

View file

@ -35,10 +35,8 @@ Všechny zaznamenané chyby prosím hlašte přes Github.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Vaše zařízení nepodporuje vypnutí optimalizací baterie</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Načítání…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generování bezpečnostních klíčů. Toto může trvat pár minut.</string>
<string name="syncthing_loading_slow_message">Načtení programu Syncthing trvá velmi dlouho. Zkontrolujte logy pro výskyt chyb.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Adresáře</string>
<!--Shown if no folders exist-->

View file

@ -34,7 +34,6 @@ Vær venlig at rapportere ethvert problem, du støder på, via Github. </string>
<string name="dialog_disable_battery_optimizations_not_supported">Din enhed understøtter ikke at slå batterioptimeringer fra.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Loader...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Genererer sikre nøgler. Dette kan tage et par minutter.</string>
<!--FoldersFragment-->

View file

@ -40,10 +40,8 @@ Bitte melden Sie auftretende Probleme via GitHub.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Dein Gerät unterstützt das deaktivieren der Batterielaufzeit Optimierung nicht</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Ladevorgang…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Geheimschlüssel werden generiert. Dies kann einige Minuten dauern&#8230;</string>
<string name="syncthing_loading_slow_message">Syncthing lädt ungewöhnlich lange. Bitte die Logs auf Fehler überprüfen.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Verzeichnisse</string>
<!--Shown if no folders exist-->

View file

@ -34,10 +34,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">Η συσκευή σας δεν επιτρέπει την απενεργοποίηση των βελτιστοποιήσεων μπαταρίας</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Φόρτωση...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Δημιουργούνται τα κλειδιά κρυπτογράφησης. Αυτή η διαδικασία μπορεί να διαρκέσει μερικά λεπτά.</string>
<string name="syncthing_loading_slow_message">Η φόρτωση του Syncthing καθυστερεί πολύ. Ελέγξτε αν εμφανίζονται σφάλματα στις καταγραφές συμβάντων.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Φάκελοι</string>
<!--Shown if no folders exist-->

View file

@ -27,7 +27,6 @@
<string name="toast_write_storage_permission_required">Esta aplicación requiere permiso para escribir en el almacenamiento</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Cargando...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generando llaves seguras. Esto pude tomar algunos minutos.</string>
<!--FoldersFragment-->

View file

@ -31,7 +31,6 @@
<string name="ignore_doze_permission_desc">Andoid puede detener la sincronización pasado un tiempo. Para evitarlo, deshabilita la optimización de batería.\n\nAlgunos dispositivos tienen instaladas aplicaciones adicionales para terminar tareas. Igualmente, deberías añadir Syncthing a su lista blanca.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Cargando...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generando claves seguras. Esto puede llevar algún tiempo.</string>
<!--FoldersFragment-->

View file

@ -35,10 +35,8 @@ Ilmoitathan ystävällisesti kaikista havaitsemistasi ongelmista Githubin kautta
<string name="dialog_disable_battery_optimizations_not_supported">Laitteesi ei tue akun käytön optimoinnin poistamista käytöstä</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Lataa...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Luodaan salausavaimia. Tämä voi kestää muutaman minuutin.</string>
<string name="syncthing_loading_slow_message">Synthingin käynnistyminen kestää erittäin kauan. Tarkista lokit virheiden varalta.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Kansiot</string>
<!--Shown if no folders exist-->

View file

@ -36,10 +36,8 @@ S\'il vous plaît, soumettez les problèmes que vous rencontrez via Github.</str
<string name="dialog_disable_battery_optimizations_not_supported">Votre appareil ne prend pas en charge la désactivation des optimisations de la batterie.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Chargement...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Génération des clefs de sécurité. Cela peut prendre quelques minutes.</string>
<string name="syncthing_loading_slow_message">Syncthing prend très longtemps à se charger. Utilisez les journaux pour vérifier les erreurs.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Partages</string>
<!--Shown if no folders exist-->

View file

@ -41,10 +41,8 @@ Néhány eszközön extra alkalmazás-leállító alkalmazást telepített fel a
<string name="dialog_disable_battery_optimizations_not_supported">Az eszközöd nem támogatja az akkumulátor optimalizálás letiltását</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Betöltés...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Biztonsági kulcsok generálása. Ez eltarthat pár percig.</string>
<string name="syncthing_loading_slow_message">Nagyon sokáig tartott a Syncthing betöltése. A hibakereséshez használd a naplókat.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Mappák</string>
<!--Shown if no folders exist-->

View file

@ -32,10 +32,8 @@ Jika ada masalah silakan laporkan lewat Github.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Perangkat anda tidak mendukung untuk mematikan optimisasi baterai</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Memuat...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Membuat kunci aman. Ini mungkin perlu beberapa menit.</string>
<string name="syncthing_loading_slow_message">Syncthing butuh waktu terlalu lama untuk membuka. Silakan lihat log untuk memeriksa kesalahan.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Folder</string>
<!--Shown if no folders exist-->

View file

@ -36,10 +36,8 @@ Si prega di segnalare eventuali problemi che si incontrano via Github.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Il tuo dispositivo non supporta la disabilitazione delle ottimizzazioni della batteria</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Caricamento...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generazione delle chiavi in corso. Potrebbe essere necessario qualche minuto.</string>
<string name="syncthing_loading_slow_message">Syncthing sta impiegando molto tempo per caricarsi. Utilizza i log per controllare eventuali errori.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Cartelle</string>
<!--Shown if no folders exist-->

View file

@ -35,10 +35,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">お使いのデバイスはバッテリーの最適化を無効にできません</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">ロード中…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">セキュア鍵を生成しています。しばらくお待ちください。</string>
<string name="syncthing_loading_slow_message">Syncthingの起動に非常に時間がかかっています。ログにエラーが出力されていないか確認してください。</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">フォルダー</string>
<!--Shown if no folders exist-->

View file

@ -34,10 +34,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">기기가 배터리 최적화 비활성화를 지원하지 않습니다.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">로드 중...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">보안 키 생성 중. 몇 분 정도 소요될 수 있습니다.</string>
<string name="syncthing_loading_slow_message">Syncthing를 로드하는데 너무 오랜 시간이 걸리고 있습니다. 로그를 사용하여 오류가 있는지 확인하십시오.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">폴더</string>
<!--Shown if no folders exist-->

View file

@ -26,7 +26,6 @@
<string name="toast_write_storage_permission_required">Skriverettigheter til lagringsenheten kreves av denne appen</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Laster...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Genererer sikre nøkler. Dette kan ta noen minutter.</string>
<!--FoldersFragment-->

View file

@ -36,10 +36,8 @@ Als je problemen tegenkomt, meld ze dan via GitHub.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Je apparaat biedt geen ondersteuning voor het uitschakelen van batterijoptimalisatie</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Laden…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Bezig met aanmaken van veilige sleutels. Dit kan enkele minuten duren.</string>
<string name="syncthing_loading_slow_message">Syncthing is al erg lang bezig met opstarten. Controleer de logs op mogelijke fouten.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Mappen</string>
<!--Shown if no folders exist-->

View file

@ -26,7 +26,6 @@
<string name="toast_write_storage_permission_required">Løyve til å skrive data er naudsynt for å bruke appen</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Laster…</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Snikrar sikre nøklar. Dette kan da nokre minutt.</string>
<!--FoldersFragment-->

View file

@ -35,10 +35,8 @@ Proszę zgłaszać napotkane błędy programu za pośrednictwem serwisu Github.<
<string name="dialog_disable_battery_optimizations_not_supported">Twoje urządzenie nie wspiera wyłączania optymalizacji baterii</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Wczytywanie...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Generowanie kluczy bezpieczeństwa. To może zająć kilka minut.</string>
<string name="syncthing_loading_slow_message">Syncthing potrzebuje zbyt wiele czasu na załadowanie. Sprawdź logi pod kątem błędów.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Katalogi</string>
<!--Shown if no folders exist-->

View file

@ -36,10 +36,8 @@ Por favor, nos avise sobre quaisquer problemas que você encontrar via Github.</
<string name="dialog_disable_battery_optimizations_not_supported">Seu dispositivo não suporta a desativação das otimizações de bateria</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Carregando...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Gerando chaves de segurança. Isto pode levar alguns minutos.</string>
<string name="syncthing_loading_slow_message">O Syncthing está demorando muito para ser executado. Verifique os logs na busca por erros.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Pastas</string>
<!--Shown if no folders exist-->

View file

@ -33,7 +33,6 @@ Reporte, através do Github, quaisquer problemas que encontre, por favor.</strin
<string name="ignore_doze_permission_desc">O Android pode parar a sincronização passado algum tempo. Para prevenir isso, desligue a optimização da bateria.\n\nAlguns dispositivos têm aplicações adicionais pré-instaladas para matar tarefas. Deve adicionar o Syncthing à lista de excepções dessas aplicações.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Carregando...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Gerando chaves seguras. Isto pode demorar uns minutos.</string>
<!--FoldersFragment-->

View file

@ -39,10 +39,8 @@ Vă rugăm să raportați orice problemă întâlniți, prin intermediul GitHub.
<string name="dialog_disable_battery_optimizations_not_supported">Dispozitivul dumneavoastră nu suportă dezactivarea optimizărilor de baterie</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Se încarcă...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Se generează cheile de securitate. Poate dura câteva minute</string>
<string name="syncthing_loading_slow_message">Încărcarea Syncthing durează prea mult. Folosiți jurnalele de erori pentru a verifica existenta eventualelor probleme</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Directoare</string>
<!--Shown if no folders exist-->

View file

@ -36,10 +36,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">Ваше устройство не поддерживает отключение энергосбережения</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Загрузка...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Генерируем ключи. Это может занять несколько минут.</string>
<string name="syncthing_loading_slow_message">Syncthing запускается очень долго. Проверьте логи на ошибки.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Папки</string>
<!--Shown if no folders exist-->

View file

@ -26,7 +26,6 @@
<string name="toast_write_storage_permission_required">Táto aplikácia potrebuje práva pre zápis na úložisko</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Načítavam...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Syncthing generuje RSA klúč a certifikát. Táto operácia môže chvíľu trvať.</string>
<!--FoldersFragment-->

View file

@ -39,10 +39,8 @@ Vänligen rapportera eventuella problem du stöter på via Github.</string>
<string name="dialog_disable_battery_optimizations_not_supported">Din enhet har inte stöd för att inaktivera batterioptimeringar</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Laddar...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Genererar säkra nycklar. Detta kan ta några minuter.</string>
<string name="syncthing_loading_slow_message">Syncthing tar mycket lång tid att ladda. Använd loggarna för att kontrollera eventuella fel.</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">Mappar</string>
<!--Shown if no folders exist-->

View file

@ -33,7 +33,6 @@ Eğer herhangi bir sorunla karşılaşırsan Github aracılığıyla bildir.</st
<string name="ignore_doze_permission_desc">Android, birkaç zaman sonra eşzamanlamayı durdurabilir. Bunu önlemek için batarya iyileştirmesini kapat.\n\nBazı aygıtlar ek olarak görev bitirme uygulamalarıyla yüklü gelir. Syncthing\'i onların beyaz listesine ayrıca eklemelisiniz.</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Yükleniyor...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Güvenli anahtarlar üretiliyor. Birkaç dakika zaman alabilir.</string>
<!--FoldersFragment-->

View file

@ -23,7 +23,6 @@
<string name="toast_write_storage_permission_required">Додаток потребує прав на запис на носій(картку)</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Завантажується...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Генеруються ключі безпеки. Процедура може зайняти декілька хвилин.</string>
<!--FoldersFragment-->

View file

@ -27,7 +27,6 @@
<string name="toast_write_storage_permission_required">Ứng dụng này cần được phép chép vào ổ lưu trữ</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">Đang tải...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">Đang tạo khoá bảo mật. Thao tác này có thể mất vài phút.</string>
<!--FoldersFragment-->

View file

@ -37,10 +37,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">您的设备不支持禁用电池优化</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">正在加载...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">正在生成安全密钥。这可能需要一段时间,请稍等。</string>
<string name="syncthing_loading_slow_message">Syncthing 加载时间过长。使用日志检查是否有错误。</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">文件夹</string>
<!--Shown if no folders exist-->

View file

@ -34,10 +34,8 @@
<string name="dialog_disable_battery_optimizations_not_supported">你的裝置不支援停用電池最佳化</string>
<!--StateDialogActivity-->
<!--Text for FoldersFragment and DevicesFragment loading view-->
<string name="api_loading">載入中...</string>
<!--Shown instead of web_gui_loading if the key does not exist and has to be created-->
<string name="web_gui_creating_key">正在產生安全金鑰,這需要一些時間。</string>
<string name="syncthing_loading_slow_message">Syncthing 花了很久才載入。透過日誌來檢查錯誤。</string>
<!--FoldersFragment-->
<string name="folders_fragment_title">資料夾</string>
<!--Shown if no folders exist-->

View file

@ -82,13 +82,8 @@ Please report any problems you encounter via Github.</string>
<!-- Text for FoldersFragment and DevicesFragment loading view -->
<string name="api_loading">Loading&#8230;</string>
<!-- Shown instead of web_gui_loading if the key does not exist and has to be created -->
<string name="web_gui_creating_key">Generating secure keys. This may take a few minutes&#8230;</string>
<string name="syncthing_loading_slow_message">Syncthing is taking very long to load. Use the logs to check for any errors.</string>
<!-- FoldersFragment -->