Skip to content

Commit

Permalink
Translate send-solution modal
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenaPonsico committed Nov 21, 2023
1 parent 750719f commit 616e752
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<div class="d-flex flex-column justify-items-center">
<div class="modal-body d-flex flex-column gap-3 pt-0 col-9 mx-auto text-center">
<img src="../../../../assets/img/icon/megaphone.svg" alt="Megaphone">
<h2 class="modal-title">¿Estás segur@?</h2>
<p>una vez enviado el código no se puede editar</p>
<h2 class="modal-title">{{'modules.modals.send-solution.title' | translate}}</h2>
<p>{{'modules.modals.send-solution.textEnd' | translate}}</p>
</div>
<div class="col-12 modal-footer gap-3 mb-3 text-center d-inline">
<button type="button" class="btn btn-outline-primary col-4 m-2" (click)="closeModal()">Cancelar</button>
<button type="submit" class="btn btn-primary col-4 m-2" (click)="acceptSolution()">Aceptar</button>
<button type="button" class="btn btn-outline-primary col-4 m-2" (click)="closeModal()">{{'modules.modals.send-solution.acceptButton' | translate}}</button>
<button type="submit" class="btn btn-primary col-4 m-2" (click)="acceptSolution()">{{'modules.modals.send-solution.cancelButton' | translate}}</button>
</div>
</div>
5 changes: 4 additions & 1 deletion src/assets/i18n/cat.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@

},
"send-solution":{

"title": "¿Estàs segur/a?",
"textEnd": "un cop enviat el codi no es pot editar",
"acceptButton": "Acceptar",
"cancelButton": "Cancel.lar"
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@

},
"send-solution":{

"title": "¿Are you sure?",
"textEnd": "once the code is sent it cannot be edited",
"acceptButton": "Accept",
"cancelButton": "Cancel"
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@

},
"send-solution":{

"title": "¿Estás segur@?",
"textEnd": "una vez enviado el código no se puede editar",
"acceptButton": "Aceptar",
"cancelButton": "Cancelar"
}
}
}
Expand Down

0 comments on commit 616e752

Please sign in to comment.