Skip to content

Commit

Permalink
IOS-3335: Add localization for disabled access code recovery error
Browse files Browse the repository at this point in the history
  • Loading branch information
Andoran90 committed Apr 11, 2023
1 parent 73be7ac commit 5d679a9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions TangemSdk/TangemSdk/Common/Core/TangemSdkError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ public enum TangemSdkError: Error, LocalizedError, Encodable {
case .resetPinWrongCard:
return "error_reset_wrong_card".localized("\(self.code)")
case .oldCard: return "error_old_card".localized
case .userCodeRecoveryDisabled: return "error_user_code_recovery_disabled".localized

default:
if let message = self.message {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "Die Konfiguration der Karte erlaubt nicht, das Wallet zu löschen";
"error_reset_wrong_card" = "This card can't be used for code recovery. Error code: %@.";
"error_user_cancelled" = "Der Benutzer hat den Vorgang unterbrochen";
"error_user_code_recovery_disabled" = "Unable to reset the access code using this card";
"error_wrong_card_number_with_card_id" = "You tapped a different card. Please tap card %@.";
"error_wrong_card_number_without_card_id" = "You tapped a different card";
"error_wrong_card_type" = "Diese Karte ist für eine andere App konfiguriert. Sehen Sie sich die Informationen auf Ihrer Karte an und laden Sie die entsprechende App herunter.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "This card's configuration does not allow you to erase the wallet";
"error_reset_wrong_card" = "This card can't be used for code recovery. Error code: %@.";
"error_user_cancelled" = "The user cancelled the operation";
"error_user_code_recovery_disabled" = "Unable to reset the access code using this card";
"error_wrong_card_number_with_card_id" = "You tapped a different card. Please tap card %@.";
"error_wrong_card_number_without_card_id" = "You tapped a different card";
"error_wrong_card_type" = "This card is not designed to work with this app";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "La configuration de cette carte ne permet pas d'effacer le portefeuille";
"error_reset_wrong_card" = "This card can't be used for code recovery. Error code: %@.";
"error_user_cancelled" = "L'utilisateur a annulé l'opération";
"error_user_code_recovery_disabled" = "Unable to reset the access code using this card";
"error_wrong_card_number_with_card_id" = "You tapped a different card. Please tap card %@.";
"error_wrong_card_number_without_card_id" = "You tapped a different card";
"error_wrong_card_type" = "Cette carte est personnalisée pour une autre application. Veuillez lire les informations sur votre carte et télécharger l'application correspondante.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "La configurazione di questa carta non consente la cancellazione del portafoglio";
"error_reset_wrong_card" = "This card can't be used for code recovery. Error code: %@.";
"error_user_cancelled" = "L'utente ha annullato l'operazione";
"error_user_code_recovery_disabled" = "Unable to reset the access code using this card";
"error_wrong_card_number_with_card_id" = "You tapped a different card. Please tap card %@.";
"error_wrong_card_number_without_card_id" = "You tapped a different card";
"error_wrong_card_type" = "Questa carta è creata per un'altra applicazione. Controlla le informazioni sulla mappa e scarica l'apposita applicazione.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "Конфигурация этой карты не позволяет удалить кошелек";
"error_reset_wrong_card" = "Эту карту нельзя использовать для восстановления кода. Код ошибки: %@.";
"error_user_cancelled" = "Пользователь отменил операцию";
"error_user_code_recovery_disabled" = "Невозможно сбросить код доступа, используя эту карту";
"error_wrong_card_number_with_card_id" = "Вы коснулись другой картой. Пожалуйста, приложите карту %@.";
"error_wrong_card_number_without_card_id" = "Вы коснулись другой картой";
"error_wrong_card_type" = "Данная карта не предназначена для работы с этим приложением";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"error_purge_prohibited" = "此卡的配置不允許您清除錢包";
"error_reset_wrong_card" = "此卡不能用於代碼恢復。錯誤代碼:%@。";
"error_user_cancelled" = "用戶取消了操作";
"error_user_code_recovery_disabled" = "Unable to reset the access code using this card";
"error_wrong_card_number_with_card_id" = "您掃了另一張卡片。 請點擊卡片 %@";
"error_wrong_card_number_without_card_id" = "你掃了另一張牌";
"error_wrong_card_type" = "此卡不適用於此應用";
Expand Down

0 comments on commit 5d679a9

Please sign in to comment.