diff --git a/locales/en/index.yml b/locales/en/index.yml index 43350d48fbb..feee53b8ed1 100644 --- a/locales/en/index.yml +++ b/locales/en/index.yml @@ -3196,6 +3196,10 @@ features: content: "Do you want to quit signing **{{dossierTitle}}**?" cancel: "Quit signing" confirm: "Keep signing" + alert: + title: "Do you want to interrupt the operation?" + confirm: "Yes, interrupt" + cancel: "No, go back" checkService: title: "Turn on messages" content: "To receive the signed documents, you must turn on the setting that allows the service to send you messages. If you don't turn it on, you can complete the signature but you won't receive the signed documents." diff --git a/locales/it/index.yml b/locales/it/index.yml index 87e81440b7b..2bbd9710509 100644 --- a/locales/it/index.yml +++ b/locales/it/index.yml @@ -3196,6 +3196,10 @@ features: content: "Vuoi annullare la firma di **{{dossierTitle}}**?" cancel: "Annulla la firma" confirm: "Continua a firmare" + alert: + title: "Vuoi interrompere l'operazione?" + confirm: "Sì, interrompi" + cancel: "No, torna indietro" checkService: title: "Attiva i messaggi" content: "Per ricevere i documenti firmati devi attivare l’opzione che consente al servizio di inviarti messaggi. Se non la attivi, puoi completare la firma ma non riceverai i documenti firmati." diff --git a/ts/features/fci/hooks/useFciAbortSignatureFlow.tsx b/ts/features/fci/hooks/useFciAbortSignatureFlow.tsx index 6a2c68ecfad..34c8f6d2cee 100644 --- a/ts/features/fci/hooks/useFciAbortSignatureFlow.tsx +++ b/ts/features/fci/hooks/useFciAbortSignatureFlow.tsx @@ -80,14 +80,14 @@ export const useFciAbortSignatureFlow = () => { * Show an alert to confirm the abort signature flow. */ const showAlert = () => { - Alert.alert("Vuoi interrompere l’operazione?", undefined, [ + Alert.alert(I18n.t("features.fci.abort.alert.title"), undefined, [ { - text: "Sì, interrompi", + text: I18n.t("features.fci.abort.alert.confirm"), onPress: () => abortSignatureFlow(), style: "cancel" }, { - text: "No, torna indietro" + text: I18n.t("features.fci.abort.alert.cancel") } ]); };