Skip to content

Commit

Permalink
touch up Italian and Spanish
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Nov 13, 2024
1 parent 44457eb commit 24ba12a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/langs/json/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@
"addons": "Agregados",
"documents": "Documentos",
"unknown": "Desconocido",
"totalCount": "Seg\u00fan {n} activas {n, plural, one {proceso} other {procesos}}",
"totalCount": "Seg\u00fan {n} {n, plural, one {proceso activo} other {procesos activos}}",
"download": "Descargar archivo"
},
"feedback": {
Expand Down
2 changes: 1 addition & 1 deletion src/langs/json/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@
"addons": "Estensioni",
"documents": "Documenti",
"unknown": "Sconosciuto",
"totalCount": "{n} attiva {n, plural, one {progetto} other {progetti}}",
"totalCount": "{n} {n, plural, one {progetto attivo} other {progetti attivi}}",
"download": "Scarica file"
},
"feedback": {
Expand Down
7 changes: 5 additions & 2 deletions utility/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@
There may be HTML in some strings. Leave that as-is.
Some strings contain template parts in curly braces, like this: "Signed in as {name}." Leave any text
in braces as-is. For example: In Italian, "Signed in as {name}" should be translated to, "Segnato come {name}". Another example:
Translate "Showing {n, number} of {total, number} results" like this: "Mostrando {n, number} di {total, number} risultati".
in braces as-is. Some examples:
- In Italian, "Signed in as {name}" should be translated to, "Segnato come {name}".
- Translate "Showing {n, number} of {total, number} results" like this: "Mostrando {n, number} di {total, number} risultati".
- Translate "{n} active {n, plural, one {process} other {processes}}" to "{n} {n, plural, one {progetto attivo} other {progetti attivi}}"
If the string is too short to translate or looks like a programmatic expression, return the original string.
For example, date formatting strings like "MM" can be left alone.
Expand Down

0 comments on commit 24ba12a

Please sign in to comment.