From f89d5c282faf34234440a89d1765ac43baa54be9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 25 Apr 2020 16:53:40 +0530 Subject: Improve UX around settings items (#744) Fixes #461 --- app/src/main/res/layout/activity_git_config.xml | 2 +- app/src/main/res/layout/fragment_ssh_keygen.xml | 33 ++++- app/src/main/res/values-ar/strings.xml | 4 +- app/src/main/res/values-cs/strings.xml | 3 +- app/src/main/res/values-de/strings.xml | 5 +- app/src/main/res/values-es/strings.xml | 5 +- app/src/main/res/values-fr/strings.xml | 5 +- app/src/main/res/values-ja/strings.xml | 3 +- app/src/main/res/values-ru/strings.xml | 6 +- app/src/main/res/values-zh-rCN/strings.xml | 3 +- app/src/main/res/values-zh-rTW/strings.xml | 3 +- app/src/main/res/values/strings.xml | 17 +-- app/src/main/res/xml/preference.xml | 154 ++++++++++++------------ 13 files changed, 123 insertions(+), 120 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_git_config.xml b/app/src/main/res/layout/activity_git_config.xml index 94c09e27..0ea45c55 100644 --- a/app/src/main/res/layout/activity_git_config.xml +++ b/app/src/main/res/layout/activity_git_config.xml @@ -23,7 +23,7 @@ android:id="@+id/git_user_name" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="textNoSuggestions|textVisiblePassword" /> + android:inputType="textPersonName" /> diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml index 16c3f512..90cf4df0 100644 --- a/app/src/main/res/layout/fragment_ssh_keygen.xml +++ b/app/src/main/res/layout/fragment_ssh_keygen.xml @@ -17,11 +17,34 @@ android:gravity="center_vertical" android:text="@string/ssh_keygen_length" /> - + app:selectionRequired="true" + app:singleSelection="true"> + + + - تنحية المستودع التشفير إختيار مزود الأوبن بي جي بي OpenPGP - الإعدادات العامة - مدة الإبقاء على كلمة السر ظاهرة + الإعدادات العامة نسخ كلمة السر تلقائيًا تم استيراد مفتاح الـ SSH نص الرسالة : \n @@ -88,7 +87,6 @@ إستخدم كلمة مرور المستودع الخارجي إختيار مستودع التخزين الخارجي إستخدم أداة إختيار الملفات الإفتراضي - تنظيف الحافظة مباشرةً بعد النسخ تصدير كلمات السر النسخة diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 5917ff6b..6b8c6f44 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -112,8 +112,7 @@ Šifrování Vybrat poskytovatele OpenPGP Vybrat ID OpenPGP klíče - Všeobecné - Čas zobrazení hesla + Všeobecné Automaticky kopírovat heslo Automatické kopírování hesla do schránky po úspěšném dešifrování. SSH-key importován diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index aec047f9..c94b363c 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -87,8 +87,7 @@ Kryptografie Wähle OpenPGP-Provider Wähle OpenPGP-Key ID - Allgemein - Ablaufzeit des Passworts + Allgemein Kopiere Passwort automatisch Kopiert das Passwort in die Zwischenablage, wenn der Eintrag entschlüsselt wurde. SSH-Key importiert @@ -112,8 +111,6 @@ Nutze ein externes Repository Wähle ein externes Repository Benutze Standardauswahl für Dateien - Zwischenablage automatisch leeren - Nach automatischen oder manuellen Kopieren des Passwords wird die Zwischenablage automatisch geleert Passwörter exportieren Exportiert die verschlüsselten Passwörter in ein externes Verzeichnis Version diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 55cc3cda..2904e767 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -113,8 +113,7 @@ Selecciona un proveedor OpenPGP Selecciona la llave OpenPGP Ninguna llave seleccionada - General - Tiempo para mostrar contraseña + General Copiar contraseña automáticamente Automáticamente copia la contraseña al portapapeles si el descifrado fue exitoso. Llave SSH importada @@ -142,8 +141,6 @@ Usar un repositorio externo para contraseñas Seleccionar repositorio externo Usar seleccionador de archivos por defecto - Limpiar automáticamente el portapapeles después de copiar - Después de copiar manual o automáticamente la contraseña, el portapapeles será automáticamente limpiado. Exportar contraseñas Exporta las contraseñas cifradas a un directorio externo. Versión diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 7a28dd82..e8a70667 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -121,8 +121,7 @@ Sélection du prestataire OpenPGP Sélection de votre identifiant OpenPGP Aucune clé sélectionnée - Général - Durée de disponibilité du mot de passe + Général Copie automatique du mot de passe Copie automatiquement le mot de passe vers le presse-papier si le déchiffrement a réussi. Clef SSH importée @@ -147,8 +146,6 @@ Utilise un dépôt externe pour les mots de passe Choisissez un dépôt externe Utiliser le selecteur de fichier par défaut - Vider le presse-papier automatiquement après la copie - "Après une copie du mot de passe, le presse papier sera automatiquement vidé " Exporter les mots de passe Exporter les mots de passe (chiffrés) vers un répertoire externe Version diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index a70c5670..4337c6d0 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -73,8 +73,7 @@ 暗号化 OpenPGP プロバイダーを選択 OpenPGP 鍵 ID を選択 - 全般 - パスワード表示時間 + 全般 自動的にパスワードをコピー 復号化が成功した後、自動的にパスワードをクリップボードにコピーします。 SSH 鍵をインポートしました diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 9e192c1d..3859ac6b 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -126,9 +126,7 @@ Выберите провайдера OpenPGP Выберите ключ OpenPGP Ключи не выбраны - Общие - Время в буфере - Уставить время (в секундах) в течении которого пароль будет находиться в буфере обмена. 0 - останется навсегда. Текущее значение: %1$s + Общие Автоматически копировать пароль Автоматически копировать пароль в буфер обмена после успешного расшифрования SSH ключ импортирован @@ -158,8 +156,6 @@ Использовать внешний репозиторий Выбрать внешний репозиторий Использовать стандартное окно выбора файлов - Автоматически очищать буфер обмена после вставки - После автоматического или ручного копирования, буфер обмена будет автоматически очищен. Экспортировать пароли Экспортировать пароли в открытом виде во внешнее хранилище Версия diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 76926ce9..1ab16b96 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -73,8 +73,7 @@ 加密 选择 OpenPGP 应用 选择 OpenPGP Key Id - 通用 - 密码保存时限 + 通用 自动复制密码 解密成功后自动将密码复制到剪贴板 成功导入SSH密钥 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index 7a4b4f1f..b0f5231a 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -70,8 +70,7 @@ 加密 選擇 OpenPGP app 選擇 OpenPGP Key Id - 一般 - 密碼保存時限 + 一般 自動複製密碼 解密成功後自動將密碼複製到剪貼簿 成功匯入 SSH 金鑰 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 37dbfef6..650762eb 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -143,9 +143,10 @@ Select OpenPGP provider Select OpenPGP key ID No key selected - General - Password show time - Set the time (in seconds) you want the password to be in clipboard. 0 means forever. Current value: %1$s + General + Passwords + Password copy timeout + Set the time (in seconds) you want the password to be in clipboard. 0 means forever. Current value: %1$s Automatically copy password Automatically copy the password to the clipboard after decryption was successful. Selected file does not appear to be an SSH private key. @@ -177,8 +178,6 @@ Use an external password repository Select external repository Use default file picker - Automatically clear the clipboard after copy - After an automatic copy or a manual copy of the password, the clipboard will be automatically cleared. Export passwords Exports the encrypted passwords to an external directory Version @@ -223,6 +222,10 @@ Copy Provide this public key to your Git server. Show passphrase + Generating keys… + Done! + 2048 + 4096 OK @@ -236,9 +239,9 @@ Pull from remote Push to remote Show the password - Control the visibility of the passwords once decrypted, this does not disable the password copy + Control the visibility of the passwords once decrypted. This does not disable copying to clipboard. Show extra content - Control the visibility of the extra content once decrypted + Control the visibility of the extra content once decrypted. Generate Refresh list No external repository selected diff --git a/app/src/main/res/xml/preference.xml b/app/src/main/res/xml/preference.xml index abc40a8e..fe488a35 100644 --- a/app/src/main/res/xml/preference.xml +++ b/app/src/main/res/xml/preference.xml @@ -1,61 +1,61 @@ - - - + - - - - - - + - - + - - - - - + - - - @@ -63,23 +63,23 @@ app:key="git_external" app:summary="@string/pref_external_repository_summary" app:title="@string/pref_external_repository" /> - - + - + - - + - - + - - - + - + - - - - - - + - - - - - + + + + + + + - - + - - + - - + - - + + -- cgit v1.2.3