feat(web-stack): complete translations of locales below 70% (#10641)

This commit is contained in:
OlivierFL
2026-10-28 09:24:55 +01:00
committed by GitHub
parent e2ca66130c
commit 9e1fc78f84
17 changed files with 12290 additions and 15 deletions

View File

@@ -127,6 +127,9 @@ When naming translation keys, follow these conventions:
- Use verbs prefixed with `action:` for actions (e.g., `action:save`, `action:delete`, `action:update-profile`)
- Use `status:` prefix for status messages (e.g., `status:loading`, `status:error`, `status:running`)
- Use singular when naming a key representing an empty state (e.g., `no-user`, `no-host-connected`, `no-vm`), even if the translation output is plural in some languages
- A key without prefix MUST have a single meaning: a standalone label or value (e.g., `on` for an "On"/"Off" state). It MUST NOT be reused as a word inside another phrase
- A word whose translation depends on its usage (e.g., "on" as a state vs. as a preposition) MUST use a prefixed key describing that usage (e.g., `traffic-rules:target-on`), linked to an existing key when the translation is the same (see [Linked translations](#linked-translations))
- Prefer a full sentence with placeholders over concatenated fragments, as word order varies across languages
## Pluralization

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1360,6 +1360,7 @@
"traffic-rules:format-warning:check-doc": "check the latest documentation",
"traffic-rules:info-message": "Traffic rules order is being implemented. Behaviour may be hazardous.",
"traffic-rules:no-traffic-rules-detected": "No traffic rules detected",
"traffic-rules:target-on": "@.capitalize:direction-on",
"traffic-rules:xapi-plugin-required": "Requires XAPI plugin mode",
"translation-tool": "Translation tool",
"treeview": "Treeview",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1267,7 +1267,7 @@
"status": "Statut",
"status:active": "Actif | Actif | Actifs",
"status:configured": "Configuré",
"status:connected": "Connecté |Connecté | Connectés",
"status:connected": "Connecté | Connecté | Connectés",
"status:disabled": "Désactivé | Désactivé | Désactivés",
"status:disconnected": "Déconnecté | Déconnecté | Déconnectés",
"status:halted": "Arrêté | Arrêté | Arrêtés",
@@ -1360,6 +1360,7 @@
"traffic-rules:format-warning:check-doc": "consulter la documentation",
"traffic-rules:info-message": "Les règles de trafic sont en cours d'application. Certains comportements peuvent être hasardeux.",
"traffic-rules:no-traffic-rules-detected": "Aucune règle de trafic détectée",
"traffic-rules:target-on": "@.capitalize:direction-on",
"traffic-rules:xapi-plugin-required": "Nécessite le mode plugin XAPI",
"translation-tool": "Outil de traduction",
"treeview": "Arborescence",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -22,7 +22,7 @@
<div class="row target-row">
<span class="prefix-wrapper">
<span class="prefix">{{ t('on') }}</span>
<span class="prefix">{{ t('traffic-rules:target-on') }}</span>
</span>
<TrafficRuleFormSelect v-bind="targetTypeSelectBindings" />
<TrafficRuleFormSelect v-if="isVifTarget" v-bind="vmSelectBindings">

View File

@@ -21,6 +21,7 @@
- [Backup jobs] The backup links of the site dashboard and the VM Backups tab now use the backup jobs of the admin menu (PR [#10636](https://github.com/vatesfr/xen-orchestra/pull/10636))
- [Pool/Dashboard] In the CPU and RAM usage cards, show a "No data to calculate" message when there is no host or VM to rank (PR [#10386](https://github.com/vatesfr/xen-orchestra/pull/10386))
- [i18n] Update Chinese (Simplified Han script), Czech, Danish, Dutch, German, Italian, Portuguese, Portuguese (Brasil), Russian, Slovak, Spanish, Swedish and Ukrainian translations (PR [#10464](https://github.com/vatesfr/xen-orchestra/pull/10464))
- [i18n] Update Arabic, Danish, Finnish, Italian, Japanese, Korean, Norwegian, Persian, Polish, Portuguese (Brasil), Russian and Ukrainian translations (PR [#10641](https://github.com/vatesfr/xen-orchestra/pull/10641))
### Bug fixes