Skip to content

Commit

Permalink
feat: add translation string for upload button
Browse files Browse the repository at this point in the history
Add translation string and fix Italian.
  • Loading branch information
bfabio committed Jan 31, 2024
1 parent 80ba636 commit 64a5cd1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Foot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const Footer = (props: Props): JSX.Element => {
className="editor_button editor_button--secondary"
onClick={() => setDialog(!dialog)}
>
{"Upload"}
{t("editor.form.upload")}
</button>
</div>
<div className="content__foot_item">
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"form": {
"reset": "Reset",
"upload": "Upload",
"validate": "Validate",
"generate": "Generate",
"addnew": "Add new",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"form": {
"reset": "Reset",
"upload": "Upload",
"validate": "Validate",
"generate": "Generate",
"addnew": "Add new",
Expand Down
5 changes: 3 additions & 2 deletions src/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"genericerror": "Ci sono degli errori",
"success": "Ottimo",
"browsefile": "Carica il file dal disco",
"browse": "Upload",
"browse": "Sfoglia",
"pastefile": "Incolla l'URL del tuo publiccode.yml",
"load": "Carica",
"notvalidurl": "URL non valido",
Expand All @@ -23,10 +23,11 @@
},
"form": {
"reset": "Reset",
"upload": "Carica",
"validate": "Valida",
"generate": "Genera",
"addnew": "Aggiungi",
"overwrite": "Sovrascrivi form",
"overwrite": "Sovrascrivi",
"overwritetext": "Questa operazione cancellerà tutti i dati già inseriti"
},
"sections": {
Expand Down

0 comments on commit 64a5cd1

Please sign in to comment.