featL add localization for various UI strings and error messages

This commit is contained in:
2026-03-14 17:46:00 +07:00
parent 758f5ec05f
commit 8a15572fb9
15 changed files with 1079 additions and 69 deletions
+5 -5
View File
@@ -14,9 +14,9 @@ struct VerifyEmailView: View {
Spacer()
VStack(spacing: 8) {
Text("Подтвердите email")
Text("verify_email_title")
.font(.largeTitle.bold())
Text("Код отправлен на")
Text("verify_code_sent_to")
.foregroundStyle(.secondary)
Text(email)
.fontWeight(.semibold)
@@ -51,9 +51,9 @@ struct VerifyEmailView: View {
Task { await resendCode() }
} label: {
if resendCooldown > 0 {
Text("Отправить повторно (\(resendCooldown) сек)")
Text("verify_resend_cooldown \(resendCooldown)")
} else {
Text("Отправить повторно")
Text("verify_resend")
}
}
.disabled(resendCooldown > 0)
@@ -61,7 +61,7 @@ struct VerifyEmailView: View {
Spacer()
}
.padding()
.navigationTitle("Подтверждение")
.navigationTitle("verify_nav_title")
.navigationBarTitleDisplayMode(.inline)
.onAppear { focusedIndex = 0 }
.onDisappear { cooldownTask?.cancel() }