Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Cleanup translations (#1340)

Leendert de Borst95a539158993
diff --git a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/pinunlock/PinUnlockActivity.kt b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/pinunlock/PinUnlockActivity.kt
index 39b80b77e..c73f4864a 100644
--- a/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/pinunlock/PinUnlockActivity.kt
+++ b/apps/mobile-app/android/app/src/main/java/net/aliasvault/app/pinunlock/PinUnlockActivity.kt
@@ -193,7 +193,7 @@ class PinUnlockActivity : AppCompatActivity() {
// Update button text based on current step
if (showContinueButton) {
- continueButton.text = getString(R.string.pin_next)
+ continueButton.text = getString(R.string.common_next)
}
// Setup PIN display based on whether we have a fixed length
diff --git a/apps/mobile-app/android/app/src/main/res/layout/activity_pin_unlock.xml b/apps/mobile-app/android/app/src/main/res/layout/activity_pin_unlock.xml
index 7ad5497cb..399243ddf 100644
--- a/apps/mobile-app/android/app/src/main/res/layout/activity_pin_unlock.xml
+++ b/apps/mobile-app/android/app/src/main/res/layout/activity_pin_unlock.xml
@@ -118,7 +118,7 @@
android:id="@+id/continueButton"
android:layout_width="0dp"
android:layout_height="56dp"
- android:text="@string/pin_next"
+ android:text="@string/common_next"
android:textColor="@android:color/white"
android:textSize="16sp"
android:textStyle="bold"
diff --git a/apps/mobile-app/android/app/src/main/res/values/strings.xml b/apps/mobile-app/android/app/src/main/res/values/strings.xml
index 9da4011f2..7d64c1d03 100644
--- a/apps/mobile-app/android/app/src/main/res/values/strings.xml
+++ b/apps/mobile-app/android/app/src/main/res/values/strings.xml
@@ -8,6 +8,7 @@
<!-- Common strings -->
<string name="common_close">Close</string>
+ <string name="common_next">Next</string>
<!-- AutofillService strings -->
<string name="autofill_failed_to_retrieve">Failed to retrieve, open app</string>
@@ -87,6 +88,4 @@
<string name="pin_confirm_title">Confirm PIN</string>
<string name="pin_confirm_description">Re-enter your PIN to confirm</string>
<string name="pin_mismatch">PINs do not match. Please try again.</string>
- <string name="pin_next">Next</string>
- <string name="pin_confirm">Confirm</string>
</resources>
\ No newline at end of file
diff --git a/apps/mobile-app/ios/VaultUI/Auth/PinSetupView.swift b/apps/mobile-app/ios/VaultUI/Auth/PinSetupView.swift
index 4047a5bd9..2795659cc 100644
--- a/apps/mobile-app/ios/VaultUI/Auth/PinSetupView.swift
+++ b/apps/mobile-app/ios/VaultUI/Auth/PinSetupView.swift
@@ -104,7 +104,7 @@ public struct PinSetupView: View {
await viewModel.submitPin()
}
}) {
- Text(String(localized: "pin_next", bundle: locBundle))
+ Text(String(localized: "common_next", bundle: locBundle))
.font(.system(size: 16, weight: .semibold))
.foregroundColor(.white)
.frame(maxWidth: .infinity)
diff --git a/apps/mobile-app/ios/VaultUI/Auth/PinSetupViewModel.swift b/apps/mobile-app/ios/VaultUI/Auth/PinSetupViewModel.swift
index ceeeef001..728a69554 100644
--- a/apps/mobile-app/ios/VaultUI/Auth/PinSetupViewModel.swift
+++ b/apps/mobile-app/ios/VaultUI/Auth/PinSetupViewModel.swift
@@ -157,7 +157,7 @@ public class PinSetupViewModel: ObservableObject {
} catch {
// Generic error fallback
isProcessing = false
- self.error = String(localized: "pin_setup_failed", bundle: locBundle)
+ self.error = String(localized: "pin_setup_error", bundle: locBundle)
triggerErrorFeedback()
shakeAndClear()
}
diff --git a/apps/mobile-app/ios/VaultUI/en.lproj/Localizable.strings b/apps/mobile-app/ios/VaultUI/en.lproj/Localizable.strings
index 2ee2f1c71..14b6b57d6 100644
--- a/apps/mobile-app/ios/VaultUI/en.lproj/Localizable.strings
+++ b/apps/mobile-app/ios/VaultUI/en.lproj/Localizable.strings
@@ -1,6 +1,7 @@
/* English localization strings for VaultUI */
"error" = "Error";
"cancel" = "Cancel";
+"next" = "Next";
"loading_credentials" = "Loading credentials...";
"no_credentials_found" = "No credentials found";
"no_credentials_match" = "No existing credentials match your search";
@@ -61,7 +62,6 @@
"enter_pin" = "Enter PIN";
"enter_pin_to_unlock_vault" = "Enter your PIN to unlock your vault";
"unlock_failed" = "Unlock failed";
-"pin_locked" = "PIN locked. Please unlock with password in the main app.";
"unlocking" = "Unlocking...";
/* PIN Error Messages */
@@ -75,7 +75,5 @@
"pin_confirm_title" = "Confirm PIN";
"pin_confirm_subtitle" = "Re-enter your PIN to confirm";
"pin_mismatch" = "PINs do not match. Please try again.";
-"pin_next" = "Next";
"pin_setup_error" = "An error occurred during PIN setup";
-"pin_setup_failed" = "Failed to setup PIN";