From 14f77ce9ebc5bad87c313e66aa5d6cad80e79a84 Mon Sep 17 00:00:00 2001 From: rafi612 Date: Tue, 5 Mar 2024 23:32:00 +0100 Subject: [PATCH] Refactor locale key names --- .../librepass/android/ui/components/CipherEditFields.kt | 4 ++-- .../medzik/librepass/android/ui/screens/vault/OtpConfigure.kt | 2 +- app/src/main/res/values-hi/strings.xml | 4 ++-- app/src/main/res/values-pl/strings.xml | 4 ++-- app/src/main/res/values/strings.xml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/src/main/java/dev/medzik/librepass/android/ui/components/CipherEditFields.kt b/app/src/main/java/dev/medzik/librepass/android/ui/components/CipherEditFields.kt index de2e6455..80236e69 100644 --- a/app/src/main/java/dev/medzik/librepass/android/ui/components/CipherEditFields.kt +++ b/app/src/main/java/dev/medzik/librepass/android/ui/components/CipherEditFields.kt @@ -188,7 +188,7 @@ fun CipherEditFieldsLogin( .padding(horizontal = 60.dp) .padding(top = 8.dp) ) { - Text(stringResource(R.string.ConfigureOtp)) + Text(stringResource(R.string.ConfigureTwoFactor)) } if (!cipher.loginData?.twoFactor.isNullOrEmpty()) { @@ -200,7 +200,7 @@ fun CipherEditFieldsLogin( .padding(horizontal = 60.dp) .padding(top = 8.dp) ) { - Text(stringResource(R.string.DeleteTotp)) + Text(stringResource(R.string.DeleteTwoFactor)) } } diff --git a/app/src/main/java/dev/medzik/librepass/android/ui/screens/vault/OtpConfigure.kt b/app/src/main/java/dev/medzik/librepass/android/ui/screens/vault/OtpConfigure.kt index ff44749b..598e753b 100644 --- a/app/src/main/java/dev/medzik/librepass/android/ui/screens/vault/OtpConfigure.kt +++ b/app/src/main/java/dev/medzik/librepass/android/ui/screens/vault/OtpConfigure.kt @@ -50,7 +50,7 @@ fun OtpConfigure( Scaffold( topBar = { TopBar( - title = stringResource(R.string.ConfigureOtp), + title = stringResource(R.string.ConfigureTwoFactor), navigationIcon = { TopBarBackIcon(navController) } ) } diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml index 0aa94bfd..ab698bb2 100644 --- a/app/src/main/res/values-hi/strings.xml +++ b/app/src/main/res/values-hi/strings.xml @@ -111,11 +111,11 @@ आंतरिक सर्वर त्रुटि - ईमेल भेजने में विफल स्कैन QR कोड मैन्युअल रूप से कुंजी दर्ज करें - द्वि-कारक हटाएं + द्वि-कारक हटाएं प्रकार एल्गोरिथ्म अंक अवधि काउंटर - द्वि-कारक कॉन्फ़िगर करें + द्वि-कारक कॉन्फ़िगर करें \ No newline at end of file diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 7ad0d786..b3e48634 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -103,10 +103,10 @@ Klucz biometryczny został unieważniony przez Androida Nowy adres e-mail Zmień adres e-mail - Skonfiguruj 2fa + Skonfiguruj 2fa Zeskanuj kod QR Wprowadź klucz manualnie - Usuń 2fa + Usuń 2fa Typ Algorytm Cyfry diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 8756b858..db5d73f3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -112,10 +112,10 @@ Invalid login token Too many requests Internal server error - Failed to send email - Configure two-factor + Configure two-factor Scan QR code Enter key manually - Delete two-factor + Delete two-factor Type Algorithm Digits