diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-05-30 19:39:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 19:39:17 +0200 |
commit | 2428d4c0deb5d088112ed10391932acf325e84d5 (patch) | |
tree | 692b15264e45ea4cb59b7d45dfa47edd7d4af033 /app/src/main/res | |
parent | 72ede314ef02dfc255b3a28b3540e6fef10da9ac (diff) |
Switch password authentication over to SSHJ (#811)
* Switch password authentication over to SSHJ
* Address review comments and refactor further
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/git_credential_layout.xml (renamed from app/src/main/res/layout/git_passphrase_layout.xml) | 6 | ||||
-rw-r--r-- | app/src/main/res/values-es/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values-fr/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values-ru/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 6 |
5 files changed, 14 insertions, 7 deletions
diff --git a/app/src/main/res/layout/git_passphrase_layout.xml b/app/src/main/res/layout/git_credential_layout.xml index 83eeddd0..511a9f8f 100644 --- a/app/src/main/res/layout/git_passphrase_layout.xml +++ b/app/src/main/res/layout/git_credential_layout.xml @@ -19,7 +19,7 @@ app:layout_constraintTop_toTopOf="parent"> <com.google.android.material.textfield.TextInputEditText - android:id="@+id/git_auth_passphrase" + android:id="@+id/git_auth_credential" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/ssh_keygen_passphrase" @@ -27,10 +27,10 @@ </com.google.android.material.textfield.TextInputLayout> <com.google.android.material.checkbox.MaterialCheckBox - android:id="@+id/git_auth_remember_passphrase" + android:id="@+id/git_auth_remember_credential" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/remember_the_passphrase" + android:text="@string/git_operation_remember_passphrase" app:layout_constraintRight_toRightOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/git_auth_passphrase_layout" /> diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 975f088f..5d74c581 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -208,7 +208,8 @@ <string name="git_push_nff_error">La subida fue rechazada por el servidor, Ejecuta \'Descargar desde servidor\' antes de subir o pulsa \'Sincronizar con servidor\' para realizar ambas acciones.</string> <string name="git_push_generic_error">El envío fue rechazado por el servidor, la razón:</string> <string name="jgit_error_push_dialog_text">Ocurrió un error durante el envío:</string> - <string name="remember_the_passphrase">Recordar contraseñagit (inseguro)</string> + <string name="hotp_remember_clear_choice">Limpiar preferencia para incremento HOTP</string> + <string name="git_operation_remember_passphrase">Recordar contraseñagit (inseguro)</string> <string name="hackish_tools">Hackish tools</string> <string name="abort_rebase">Abortar rebase</string> <string name="commit_hash">Hash del commit</string> diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 5a295a92..eb234323 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -209,7 +209,8 @@ <string name="git_push_generic_error">Poussée rejetée par le dépôt distant, raison:</string> <string name="git_push_other_error">Pousser au dépôt distant sans avance rapide rejetée. Vérifiez la variable receive.denyNonFastForwards dans le fichier de configuration du répertoire de destination.</string> <string name="jgit_error_push_dialog_text">Une erreur s\'est produite lors de l\'opération de poussée:</string> - <string name="remember_the_passphrase">Se rappeler de la phrase secrète dans la configuration de l\'application (peu sûr)</string> + <string name="hotp_remember_clear_choice">Effacer les préférences enregistrées pour l’incrémentation HOTP</string> + <string name="git_operation_remember_passphrase">Se rappeler de la phrase secrète dans la configuration de l\'application (peu sûr)</string> <string name="hackish_tools">Outils de hack</string> <string name="commit_hash">Commettre la clé</string> <string name="crypto_extra_edit_hint">nom d\'utilisateur: quelque chose d\'autre contenu supplémentaire</string> diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index d286bbb4..a4999f9b 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -270,7 +270,8 @@ <string name="git_push_generic_error">Запись изменений была отклонена удаленным репозиторием, причина:</string> <string name="git_push_other_error">Удаленный репозиторий отклонил запись изменений без быстрой перемотки вперед. Проверьте переменную receive.denyNonFastForwards в файле конфигурации репозитория назначения.</string> <string name="jgit_error_push_dialog_text">В хоте операции записи изменений возникла ошибка:</string> - <string name="remember_the_passphrase">Заполнить парольную фразу в конфигурации приложнеия (небезопасно)</string> + <string name="hotp_remember_clear_choice">Очистить сохраненные настройки для увеличения HOTP</string> + <string name="git_operation_remember_passphrase">Заполнить парольную фразу в конфигурации приложнеия (небезопасно)</string> <string name="hackish_tools">Костыльные инструменты</string> <string name="abort_rebase">Прервать перебазирование и записать изменения в новую ветку</string> <string name="reset_to_remote">Полный сброс до состояния удаленной ветки</string> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9b76e05f..d485f923 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -307,7 +307,8 @@ <string name="jgit_error_push_dialog_text">Error occurred during the push operation:</string> <string name="clear_saved_passphrase_ssh">Clear saved passphrase for local SSH key</string> <string name="clear_saved_passphrase_https">Clear saved HTTPS password</string> - <string name="remember_the_passphrase">Remember key passphrase</string> + <string name="hotp_remember_clear_choice">Clear saved preference for HOTP incrementing</string> + <string name="git_operation_remember_passphrase">Remember key passphrase</string> <string name="hackish_tools">Hackish tools</string> <string name="abort_rebase">Abort rebase and push new branch</string> <string name="reset_to_remote">Hard reset to remote branch</string> @@ -360,6 +361,7 @@ <string name="git_operation_unable_to_open_ssh_key_title">Unable to open the ssh-key</string> <string name="git_operation_unable_to_open_ssh_key_message">Please check that it was imported.</string> <string name="git_operation_wrong_passphrase">Wrong passphrase</string> + <string name="git_operation_wrong_password">Wrong password</string> <string name="bottom_sheet_create_new_folder">Create new folder</string> <string name="bottom_sheet_create_new_password">Create new password</string> <string name="autofill_onboarding_dialog_title">New, revamped Autofill!</string> @@ -369,4 +371,6 @@ <string name="pref_debug_logging_title">Debug logging</string> <string name="preference_default_username_summary">If Autofill is unable to determine a username from your password file or directory structure, it will use the value specified here</string> <string name="preference_default_username_title">Default username</string> + <string name="git_operation_remember_password">Remember password</string> + <string name="git_operation_hint_password">Password</string> </resources> |