Skip to content

Commit

Permalink
IOS-2393 Use integer variables in the localisation wording
Browse files Browse the repository at this point in the history
  • Loading branch information
megakoko committed Oct 25, 2022
1 parent e80a193 commit 7330a77
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"reset_codes_message_body_backup" = "Tap the linked card";
"reset_codes_message_body_restore_final" = "Tap the restore card again";
"reset_codes_success_message" = "Code was reset successfully";
"sign_multiple_chunks_part" = "Signing part %@ of %@";
"sign_multiple_chunks_part" = "Signing part %d of %d";
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"reset_codes_message_body_backup" = "Tap the linked card";
"reset_codes_message_body_restore_final" = "Tap the restore card again";
"reset_codes_success_message" = "Code was reset successfully";
"sign_multiple_chunks_part" = "Signing part %@ of %@";
"sign_multiple_chunks_part" = "Signing part %d of %d";
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"reset_codes_message_body_backup" = "Tap the linked card";
"reset_codes_message_body_restore_final" = "Tap the restore card again";
"reset_codes_success_message" = "Code was reset successfully";
"sign_multiple_chunks_part" = "Signing part %@ of %@";
"sign_multiple_chunks_part" = "Signing part %d of %d";
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"reset_codes_message_body_backup" = "Tap the linked card";
"reset_codes_message_body_restore_final" = "Tap the restore card again";
"reset_codes_success_message" = "Code was reset successfully";
"sign_multiple_chunks_part" = "Signing part %@ of %@";
"sign_multiple_chunks_part" = "Signing part %d of %d";
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
"reset_codes_message_body_backup" = "Приложите связанную карту";
"reset_codes_message_body_restore_final" = "Приложите еще раз карту, которую хотите восстановить";
"reset_codes_success_message" = "Код успешно сброшен";
"sign_multiple_chunks_part" = "Подпись части %@ из %@";
"sign_multiple_chunks_part" = "Подпись части %d из %d";
2 changes: 1 addition & 1 deletion TangemSdk/TangemSdk/Operations/Sign/SignCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SignCommand: Command {

func sign(in session: CardSession, completion: @escaping CompletionResult<SignResponse>) {
if numberOfChunks > 1 {
session.viewDelegate.showAlertMessage("sign_multiple_chunks_part".localized(["\(currentChunkNumber + 1)", "\(numberOfChunks)"]))
session.viewDelegate.showAlertMessage("sign_multiple_chunks_part".localized([currentChunkNumber + 1, numberOfChunks]))
}

transceive(in: session) { result in
Expand Down

0 comments on commit 7330a77

Please sign in to comment.