Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrebane committed Sep 9, 2024
1 parent 8aadabb commit 1316893
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MoppApp/MoppApp/LocalizationKeys.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ enum LocKey : String
case nfcPinLocked = "nfc-pin-locked"
case nfcCertParseFailed = "nfc-cert-parse-failed"
case nfcCertExpired = "nfc-cert-expired"
case nfcWrongPin1 = "nfc-wrong-pin1"
case nfcWrongPin2 = "nfc-wrong-pin2"
case containerSignTitle = "container-sign-title"
case containerEncryptionTitle = "container-encryption-title"
case containerDecryptionTitle = "container-decryption-title"
Expand Down
2 changes: 1 addition & 1 deletion MoppApp/MoppApp/NFCSignature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class NFCSignature : NSObject, NFCTagReaderSessionDelegate {
switch error.attemptsLeft {
case 0: setSessionMessage(L(.pin2BlockedAlert), invalidate: true)
case 1: setSessionMessage(L(.wrongPin2Single), invalidate: true)
default: setSessionMessage(L(.wrongPin2, [error.attemptsLeft]), invalidate: true)
default: setSessionMessage(L(.nfcWrongPin2, [error.attemptsLeft]), invalidate: true)
}
} catch let error as RuntimeError {
printLog("\nRIA.NFC - RuntimeError \(error.msg)")
Expand Down
2 changes: 2 additions & 0 deletions MoppApp/MoppApp/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@
"nfc-pin-locked" = "Locked PIN";
"nfc-cert-parse-failed" = "Certificate parsing failed";
"nfc-cert-expired" = "An expired certificate cannot be used for signing";
"nfc-wrong-pin2" = "Wrong PIN2. Remaining attempts: %d";
"nfc-wrong-pin1" = "Wrong PIN1. Remaining attempts: %d";
"role-and-address" = "Role and address";
"role-and-address-title" = "Enter your role and address info";
"role-and-address-role-title" = "Role / resolution";
Expand Down
2 changes: 2 additions & 0 deletions MoppApp/MoppApp/et.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@
"nfc-pin-locked" = "Locked PIN";
"nfc-cert-parse-failed" = "Viga sertifikaadi parsimisel";
"nfc-cert-expired" = "Aegunud sertifikaati ei saa kasutada allkirjastamiseks";
"nfc-wrong-pin2" = "Vale PIN2. Katseid jäänud: %d";
"nfc-wrong-pin1" = "Vale PIN1. Katseid jäänud: %d";
"role-and-address" = "Roll ja aadress";
"role-and-address-title" = "Sisesta oma roll ja aadress";
"role-and-address-role-title" = "Roll / resolutsioon";
Expand Down
2 changes: 2 additions & 0 deletions MoppApp/MoppApp/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@
"nfc-pin-locked" = "Locked PIN";
"nfc-cert-parse-failed" = "Ошибка при анализе сертификата";
"nfc-cert-expired" = "Сертификат с истекшим сроком действия не может быть использован для подписи";
"nfc-wrong-pin2" = "Неверный PIN2-код. Оставшиеся попытки: %d";
"nfc-wrong-pin1" = "Неверный PIN1-код. Оставшиеся попытки: %d";
"role-and-address" = "Роль и адрес";
"role-and-address-title" = "Введите свою роль и адрес";
"role-and-address-role-title" = "Роль / pезолюция";
Expand Down

0 comments on commit 1316893

Please sign in to comment.