From 276d920ccaf560200068107f6a0370bc92b0d751 Mon Sep 17 00:00:00 2001
From: Thierry Goettelmann
{{ $t('vcpus-used') }}
diff --git a/@xen-orchestra/lite/src/components/pool/dashboard/alarm/AlarmRow.vue b/@xen-orchestra/lite/src/components/pool/dashboard/alarm/AlarmRow.vue index 207d957bc5..046a3af56c 100644 --- a/@xen-orchestra/lite/src/components/pool/dashboard/alarm/AlarmRow.vue +++ b/@xen-orchestra/lite/src/components/pool/dashboard/alarm/AlarmRow.vue @@ -10,7 +10,10 @@ {{ $t(`alarm-type.${alarm.type}`, { n: alarm.triggerLevel * 100 }) }}{{ $t('total-used') }}:
+{{ $t('total-used:') }}
{{ percentUsed }}%
+{{ $n(percentUsed / 100, 'percent') }}
{{ formatSize(usage) }}
{{ $t('total-free') }}:
+{{ $t('total-free:') }}
{{ percentFree }}%
+{{ $n(percentFree / 100, 'percent') }}
{{ formatSize(free) }}
diff --git a/@xen-orchestra/lite/src/components/ui/progress/UiProgressBar.vue b/@xen-orchestra/lite/src/components/ui/progress/UiProgressBar.vue index 97bd7678f9..19c67cfccb 100644 --- a/@xen-orchestra/lite/src/components/ui/progress/UiProgressBar.vue +++ b/@xen-orchestra/lite/src/components/ui/progress/UiProgressBar.vue @@ -17,7 +17,7 @@ const props = withDefaults( { color: 'info', maxValue: 100 } ) -const progressWithUnit = computed(() => { +const cssFillWidth = computed(() => { const progress = (props.value / props.maxValue) * 100 return `${progress}%` }) @@ -49,7 +49,7 @@ const progressWithUnit = computed(() => { } .fill { - width: v-bind(progressWithUnit); + width: v-bind(cssFillWidth); height: var(--progress-bar-height, 0.4rem); transition: width 1s ease-in-out; background-color: var(--progress-bar-color); diff --git a/@xen-orchestra/lite/src/components/ui/progress/UiProgressScale.vue b/@xen-orchestra/lite/src/components/ui/progress/UiProgressScale.vue index 7ad5eab3f6..e4fb90191e 100644 --- a/@xen-orchestra/lite/src/components/ui/progress/UiProgressScale.vue +++ b/@xen-orchestra/lite/src/components/ui/progress/UiProgressScale.vue @@ -1,6 +1,6 @@- 0{{ unit }} + {{ `0${unit}` }} {{ Math.round((maxValue / (steps + 1)) * step) }}{{ unit }} {{ maxValue }}{{ unit }}
diff --git a/@xen-orchestra/lite/src/i18n.ts b/@xen-orchestra/lite/src/i18n.ts deleted file mode 100644 index d0dd3015b9..0000000000 --- a/@xen-orchestra/lite/src/i18n.ts +++ /dev/null @@ -1,158 +0,0 @@ -import messages from '@intlify/unplugin-vue-i18n/messages' -import { createI18n } from 'vue-i18n' - -interface Locales { - [key: string]: { - code: string - name: string - } -} - -export const locales: Locales = { - en: { - code: 'en', - name: 'English', - }, - fr: { - code: 'fr', - name: 'Français', - }, - de: { - code: 'de', - name: 'Deutsch', - }, -} - -export default createI18n({ - locale: localStorage.getItem('lang') ?? 'en', - fallbackLocale: 'en', - messages, - datetimeFormats: { - en: { - date_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - }, - date_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - }, - date_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - }, - datetime_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - time: { - hour: '2-digit', - minute: '2-digit', - }, - }, - fr: { - date_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - }, - date_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - }, - date_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - }, - datetime_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - time: { - hour: '2-digit', - minute: '2-digit', - }, - }, - de: { - date_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - }, - date_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - }, - date_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - }, - datetime_short: { - year: 'numeric', - month: 'numeric', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_medium: { - year: 'numeric', - month: 'short', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - datetime_long: { - year: 'numeric', - month: 'long', - day: 'numeric', - hour: '2-digit', - minute: '2-digit', - }, - time: { - hour: '2-digit', - minute: '2-digit', - }, - }, - }, -}) diff --git a/@xen-orchestra/lite/src/locales/de.json b/@xen-orchestra/lite/src/locales/de.json index 478595d3b5..f22e38557f 100644 --- a/@xen-orchestra/lite/src/locales/de.json +++ b/@xen-orchestra/lite/src/locales/de.json @@ -8,19 +8,18 @@ "admin-login": "Administrator Login", "admin-password": "Administrator Passwort", "admin-password-confirm": "Administrator Passwortbestätigung", - "alarm-type": { - "cpu_usage": "CPU-Nutzung überschreitet {n}%", - "disk_usage": "Speicherbelegung überschreitet {n}%", - "fs_usage": "Dateisystem überschreitet {n}%", - "log_fs_usage": "Loggingdateisystem überschreitet {n}%", - "mem_usage": "Arbeitsspeicherauslastung überschreitet {n}%", - "memory_free_kib": "Freier Speicher fällt unter {n}%", - "network_usage": "Netzwerkauslastung überschreitet {n}%", - "physical_utilisation": "Physical utilisation exceeds {n}%", - "sr_io_throughput_total_per_host": "SR IO throughput total per host exceeds {n}%", - "unknown": "unbekannter Alarmtyp" - }, - "alarms": "Alarme", + + "alarm-type.cpu_usage": "CPU-Nutzung überschreitet {n}%", + "alarm-type.disk_usage": "Speicherbelegung überschreitet {n}%", + "alarm-type.fs_usage": "Dateisystem überschreitet {n}%", + "alarm-type.log_fs_usage": "Loggingdateisystem überschreitet {n}%", + "alarm-type.mem_usage": "Arbeitsspeicherauslastung überschreitet {n}%", + "alarm-type.memory_free_kib": "Freier Speicher fällt unter {n}%", + "alarm-type.network_usage": "Netzwerkauslastung überschreitet {n}%", + "alarm-type.physical_utilisation": "Physical utilisation exceeds {n}%", + "alarm-type.sr_io_throughput_total_per_host": "SR IO throughput total per host exceeds {n}%", + "alarm-type.unknown": "unbekannter Alarmtyp", + "all-good": "Alles in Ordnung!", "allow-self-signed-ssl": "Es müssen eventuell selbstsignierte SSL-Zertifikate im Browser zugelassen werden", "appearance": "Aussehen", @@ -33,32 +32,29 @@ "check-errors": "Überprüfe die Fehler:", "click-to-display-alarms": "Hier klicken um Alarme anzuzeigen:", "click-to-return-default-pool": "Hier klicken um zum Standardpool zurückzukehren", - "coming-soon": "Bald verfügbar!", "community": "Community", "community-name": "{name} community", "configuration": "Konfiguration", "confirm-cancel": "Willst du wirklich abbrechen?", "confirm-delete": "Willst du wirklich {0} löschen?", - "console": "Konsole", "console-unavailable": "Die Konsole ist nicht verfügbar", "copy": "Kopieren", "cpu-provisioning": "Zugewiesene Prozessoren", "cpu-provisioning-warning": "Die Anzahl der zugewiesenen vCPUs überschreitet die physikalisch vorhandenen CPUs. Die Systemperformance kann darunter leiden.", "cpu-usage": "Prozessorauslastung", - "dashboard": "Dashboard", "delete": "Löschen", "delete-vms": "1 VM löschen| {n} VMs löschen", "deploy": "Installieren", "deploy-xoa": "XOA installieren", "deploy-xoa-available-on-desktop": "Die Installation von XOA ist auf dem Desktop verfügbar", - "deploy-xoa-status": { - "configuring": "Konfiguriere XOA…", - "importing": "Importiere XOA…", - "not-responding": "XOA antwortet nicht", - "ready": "XOA ist startklar!", - "starting": "Starte XOA…", - "waiting": "Warte auf Antwort von XOA…" - }, + + "deploy-xoa-status.configuring": "Konfiguriere XOA…", + "deploy-xoa-status.importing": "Importiere XOA…", + "deploy-xoa-status.not-responding": "XOA antwortet nicht", + "deploy-xoa-status.ready": "XOA ist startklar!", + "deploy-xoa-status.starting": "Starte XOA…", + "deploy-xoa-status.waiting": "Warte auf Antwort von XOA…", + "descending": "absteigend", "description": "Beschreibung", "dhcp": "DHCP", @@ -67,7 +63,6 @@ "dns": "DNS", "do-you-have-needs": "Vermisst du Funktionen oder hast Vorschläge? Sag uns Bescheid: ", "documentation": "Dokumentation", - "documentation-name": "{name} Dokumentation", "edit-config": "Einstellungen anpassen", "enabled": "Aktiviert", "error-no-data": "Fehler beim Datenabruf.", @@ -80,24 +75,22 @@ "export-vms": "VMs exportieren", "export-vms-manually-information": "Some VM exports were not able to start automatically, probably due to your browser settings. To export them, you should click on each one. (Alternatively, copy the link as well.)", "fetching-fresh-data": "Rufe neue Daten ab", - "filter": { - "comparison": { - "contains": "Enthält", - "ends-with": "Endet mit", - "equals": "Entspricht", - "is": "Ist", - "is-false": "Ist falsch", - "is-not": "Ist nicht", - "is-true": "Ist wahr", - "matches-regex": "Entspricht Regulärem Ausdruck", - "not-contain": "Enthält nicht", - "not-end-with": "Endet nicht mit", - "not-equal": "Entspricht nicht", - "not-match-regex": "Entspricht nicht Regulärem Ausdruck", - "not-start-with": "Beginnt nicht mit", - "starts-with": "Beginnt mit" - } - }, + + "filter.comparison.contains": "Enthält", + "filter.comparison.ends-with": "Endet mit", + "filter.comparison.equals": "Entspricht", + "filter.comparison.is": "Ist", + "filter.comparison.is-false": "Ist falsch", + "filter.comparison.is-not": "Ist nicht", + "filter.comparison.is-true": "Ist wahr", + "filter.comparison.matches-regex": "Entspricht Regulärem Ausdruck", + "filter.comparison.not-contain": "Enthält nicht", + "filter.comparison.not-end-with": "Endet nicht mit", + "filter.comparison.not-equal": "Entspricht nicht", + "filter.comparison.not-match-regex": "Entspricht nicht Regulärem Ausdruck", + "filter.comparison.not-start-with": "Beginnt nicht mit", + "filter.comparison.starts-with": "Beginnt mit", + "following-hosts-unreachable": "Die folgenden Hosts sind nicht erreichbar", "force-reboot": "Neustart erzwingen", "force-shutdown": "Herunterfahren erzwingen", @@ -109,10 +102,10 @@ "go-back": "Zurück", "gzip": "gzip", "here": "Hier", - "host": { - "active": "Aktiv", - "inactive": "Inaktiv" - }, + + "host.active": "Aktiv", + "host.inactive": "Inaktiv", + "hosts": "Hosts", "invalid-field": "Ungültiges Feld", "keep-me-logged": "Angemeldet bleiben", @@ -132,7 +125,6 @@ "n-vms": "1 VM | {n} VMs", "name": "Name", "netmask": "Netzmaske", - "network": "Netzwerk", "network-download": "Download", "network-throughput": "Netzwerkdurchsatz", "network-upload": "Upload", @@ -159,23 +151,22 @@ "please-confirm": "Bitte bestätigen", "pool-cpu-usage": "Pool Prozessorauslastung", "pool-ram-usage": "Pool Arbeitsspeicherbelegung", - "power-on-for-console": "Konsole ist nach Start der VM verfügbar", "power-state": "Energiezustand", "property": "Feld", "ram-usage": "Arbeitsspeicherbelegung", "reboot": "Neustart", "reformat": "Reformat", - "relative-time": { - "day": "1 Tag | {n} Tage", - "future": "In {str}", - "hour": "1 Stunde | {n} Stunden", - "minute": "1 Minute | {n} Minuten", - "month": "1 Monat | {n} Monate", - "now": "Gerade eben", - "past": "Vor {str}", - "second": "1 Sekunde | {n} Sekunden", - "year": "1 Jahr | {n} Jahre" - }, + + "relative-time.day": "1 Tag | {n} Tage", + "relative-time.future": "In {str}", + "relative-time.hour": "1 Stunde | {n} Stunden", + "relative-time.minute": "1 Minute | {n} Minuten", + "relative-time.month": "1 Monat | {n} Monate", + "relative-time.now": "Gerade eben", + "relative-time.past": "Vor {str}", + "relative-time.second": "1 Sekunde | {n} Sekunden", + "relative-time.year": "1 Jahr | {n} Jahre", + "resume": "Fortsetzen", "save": "Speichern", "select-compression": "Kompression auswählen", @@ -183,10 +174,10 @@ "selected-vms-in-execution": "Einige der ausgewählten VMs sind eingeschaltet", "send-ctrl-alt-del": "Ctrl+Alt+Del senden", "send-us-feedback": "Gib uns Feedback", - "select": { - "network": "Ein Netzwerk auswählen", - "storage": "Einen Speicher auswählen" - }, + + "select.network": "Ein Netzwerk auswählen", + "select.storage": "Einen Speicher auswählen", + "settings": "Einstellungen", "shutdown": "Herunterfahren", "snapshot": "Snapshot", @@ -200,39 +191,33 @@ "start": "Starten", "start-on-host": "Auf bestimmtem Host starten", "static-ip": "Statische IP", - "stats": "Statistiken", "status": "Status", - "storage": "Speicher", "storage-usage": "Belegung Storage", "support": "Support", - "support-name": "{name} pro support", "suspend": "Standby", "switch-theme": "Theme wechseln", - "system": "System", - "task": { - "estimated-end": "Vorraussichtliches Ende", - "progress": "Fortschritt", - "started": "Beginn" - }, - "tasks": "Aufgaben", + + "task.estimated-end": "Vorraussichtliches Ende", + "task.progress": "Fortschritt", + "task.started": "Beginn", + "theme-auto": "Auto", "theme-dark": "Dunkel", "theme-light": "Hell", "this-vm-cant-be-migrated": "Diese VM kann nicht migriert werden", "top-#": "Top {n}", - "total": "Gesamt", "total-cpus": "Gesamt CPUs", - "total-free": "Gesamt frei", - "total-used": "Gesamt benutzt", + "total-free:": "Gesamt frei :", + "total-used:": "Gesamt benutzt :", "unreachable-hosts": "Hosts nicht erreichbar", "unreachable-hosts-reload-page": "Abgeschlossen, bitte lade die Seite neu", "vcpus": "vCPUs", "vcpus-used": "vCPUs in Benutzung", "version": "Version", - "vm": { - "active": "Aktiv", - "inactive": "Inaktiv" - }, + + "vm.active": "Aktiv", + "vm.inactive": "Inaktiv", + "vm-is-running": "Die VM ist eingeschalten", "vm-running": "VM eingeschalten | VMs eingeschalten", "vms": "VMs", diff --git a/@xen-orchestra/lite/src/locales/en.json b/@xen-orchestra/lite/src/locales/en.json index 706d25ffe2..b8d0954233 100644 --- a/@xen-orchestra/lite/src/locales/en.json +++ b/@xen-orchestra/lite/src/locales/en.json @@ -8,19 +8,18 @@ "admin-login": "Admin login", "admin-password": "Admin password", "admin-password-confirm": "Confirm admin password", - "alarm-type": { - "cpu_usage": "CPU usage exceeds {n}%", - "disk_usage": "Disk usage exceeds {n}%", - "fs_usage": "FS usage exceeds {n}%", - "log_fs_usage": "Log FS usage exceeds {n}%", - "mem_usage": "Memory usage exceeds {n}%", - "memory_free_kib": "Free memory falls below {n}%", - "network_usage": "Network usage exceeds {n}%", - "physical_utilisation": "Physical utilisation exceeds {n}%", - "sr_io_throughput_total_per_host": "SR IO throughput total per host exceeds {n}%", - "unknown": "Unknown alarm type" - }, - "alarms": "Alarms", + + "alarm-type.cpu_usage": "CPU usage exceeds {n}%", + "alarm-type.disk_usage": "Disk usage exceeds {n}%", + "alarm-type.fs_usage": "FS usage exceeds {n}%", + "alarm-type.log_fs_usage": "Log FS usage exceeds {n}%", + "alarm-type.mem_usage": "Memory usage exceeds {n}%", + "alarm-type.memory_free_kib": "Free memory falls below {n}%", + "alarm-type.network_usage": "Network usage exceeds {n}%", + "alarm-type.physical_utilisation": "Physical utilisation exceeds {n}%", + "alarm-type.sr_io_throughput_total_per_host": "SR IO throughput total per host exceeds {n}%", + "alarm-type.unknown": "Unknown alarm type", + "all-good": "All good!", "allow-self-signed-ssl": "You may need to allow self-signed SSL certificates in your browser", "appearance": "Appearance", @@ -34,32 +33,29 @@ "click-to-display-alarms": "Click to display alarms:", "click-to-return-default-pool": "Click here to return to the default pool", "close": "Close", - "coming-soon": "Coming soon!", "community": "Community", "community-name": "{name} community", "configuration": "Configuration", "confirm-cancel": "Are you sure you want to cancel?", "confirm-delete": "You're about to delete {0}", - "console": "Console", "console-unavailable": "Console unavailable", "copy": "Copy", "cpu-provisioning": "CPU provisioning", "cpu-provisioning-warning": "The number of vCPUs allocated exceeds the number of physical CPUs available. System performance could be affected", "cpu-usage": "CPU usage", - "dashboard": "Dashboard", "delete": "Delete", "delete-vms": "Delete 1 VM | Delete {n} VMs", "deploy": "Deploy", "deploy-xoa": "Deploy XOA", "deploy-xoa-available-on-desktop": "XOA deployment is available on your desktop interface", - "deploy-xoa-status": { - "configuring": "Configuring XOA…", - "importing": "Importing XOA…", - "not-responding": "XOA is not responding", - "ready": "XOA is ready!", - "starting": "Starting XOA…", - "waiting": "Waiting for XOA to respond…" - }, + + "deploy-xoa-status.configuring": "Configuring XOA…", + "deploy-xoa-status.importing": "Importing XOA…", + "deploy-xoa-status.not-responding": "XOA is not responding", + "deploy-xoa-status.ready": "XOA is ready!", + "deploy-xoa-status.starting": "Starting XOA…", + "deploy-xoa-status.waiting": "Waiting for XOA to respond…", + "descending": "descending", "description": "Description", "dhcp": "DHCP", @@ -68,7 +64,6 @@ "dns": "DNS", "do-you-have-needs": "You have needs and/or expectations? Let us know", "documentation": "Documentation", - "documentation-name": "{name} documentation", "edit-config": "Edit config", "enabled": "Enabled", "error-no-data": "Error, can't collect data.", @@ -81,24 +76,22 @@ "export-vms": "Export VMs", "export-vms-manually-information": "Some VM exports were not able to start automatically, probably due to your browser settings. To export them, you should click on each one. (Alternatively, copy the link as well.)", "fetching-fresh-data": "Fetching fresh data", - "filter": { - "comparison": { - "contains": "Contains", - "ends-with": "Ends with", - "equals": "Equals", - "is": "Is", - "is-false": "Is false", - "is-not": "Is not", - "is-true": "Is true", - "matches-regex": "Matches regex", - "not-contain": "Doesn't contain", - "not-end-with": "Doesn't end with", - "not-equal": "Doesn't equal", - "not-match-regex": "Doesn't match regex", - "not-start-with": "Doesn't start with", - "starts-with": "Starts with" - } - }, + + "filter.comparison.contains": "Contains", + "filter.comparison.ends-with": "Ends with", + "filter.comparison.equals": "Equals", + "filter.comparison.is": "Is", + "filter.comparison.is-false": "Is false", + "filter.comparison.is-not": "Is not", + "filter.comparison.is-true": "Is true", + "filter.comparison.matches-regex": "Matches regex", + "filter.comparison.not-contain": "Doesn't contain", + "filter.comparison.not-end-with": "Doesn't end with", + "filter.comparison.not-equal": "Doesn't equal", + "filter.comparison.not-match-regex": "Doesn't match regex", + "filter.comparison.not-start-with": "Doesn't start with", + "filter.comparison.starts-with": "Starts with", + "following-hosts-unreachable": "The following hosts are unreachable", "force-reboot": "Force reboot", "force-shutdown": "Force shutdown", @@ -110,10 +103,10 @@ "go-back": "Go back", "gzip": "gzip", "here": "Here", - "host": { - "active": "Active", - "inactive": "Inactive" - }, + + "host.active": "Active", + "host.inactive": "Inactive", + "hosts": "Hosts", "invalid-field": "Invalid field", "keep-me-logged": "Keep me logged in", @@ -133,7 +126,6 @@ "n-vms": "1 VM | {n} VMs", "name": "Name", "netmask": "Netmask", - "network": "Network", "network-download": "Download", "network-throughput": "Network throughput", "network-upload": "Upload", @@ -160,23 +152,22 @@ "please-confirm": "Please confirm", "pool-cpu-usage": "Pool CPU Usage", "pool-ram-usage": "Pool RAM Usage", - "power-on-for-console": "Power on your VM to access its console", "power-state": "Power state", "property": "Property", "ram-usage": "RAM usage", "reboot": "Reboot", "reformat": "Reformat", - "relative-time": { - "day": "1 day | {n} days", - "future": "In {str}", - "hour": "1 hour | {n} hours", - "minute": "1 minute | {n} minutes", - "month": "1 month | {n} months", - "now": "Just now", - "past": "{str} ago", - "second": "1 second | {n} seconds", - "year": "1 year | {n} years" - }, + + "relative-time.day": "1 day | {n} days", + "relative-time.future": "In {str}", + "relative-time.hour": "1 hour | {n} hours", + "relative-time.minute": "1 minute | {n} minutes", + "relative-time.month": "1 month | {n} months", + "relative-time.now": "Just now", + "relative-time.past": "{str} ago", + "relative-time.second": "1 second | {n} seconds", + "relative-time.year": "1 year | {n} years", + "resume": "Resume", "save": "Save", "select-compression": "Select a compression", @@ -184,10 +175,10 @@ "selected-vms-in-execution": "Some selected VMs are running", "send-ctrl-alt-del": "Send Ctrl+Alt+Del", "send-us-feedback": "Send us feedback", - "select": { - "network": "Select a network", - "storage": "Select a storage" - }, + + "select.network": "Select a network", + "select.storage": "Select a storage", + "settings": "Settings", "shutdown": "Shutdown", "snapshot": "Snapshot", @@ -201,21 +192,16 @@ "start": "Start", "start-on-host": "Start on specific host", "static-ip": "Static IP", - "stats": "Stats", "status": "Status", - "storage": "Storage", "storage-usage": "Storage usage", "support": "Support", - "support-name": "{name} pro support", "suspend": "Suspend", "switch-theme": "Switch theme", - "system": "System", - "task": { - "estimated-end": "Estimated end", - "progress": "Progress", - "started": "Started" - }, - "tasks": "Tasks", + + "task.estimated-end": "Estimated end", + "task.progress": "Progress", + "task.started": "Started", + "theme-auto": "Auto", "theme-dark": "Dark", "theme-light": "Light", @@ -223,17 +209,17 @@ "top-#": "Top {n}", "total": "Total", "total-cpus": "Total CPUs", - "total-free": "Total free", - "total-used": "Total used", + "total-free:": "Total free:", + "total-used:": "Total used:", "unreachable-hosts": "Unreachable hosts", "unreachable-hosts-reload-page": "Done, reload the page", "vcpus": "vCPUs", "vcpus-used": "vCPUs used", "version": "Version", - "vm": { - "active": "Active", - "inactive": "Inactive" - }, + + "vm.active": "Active", + "vm.inactive": "Inactive", + "vm-is-running": "The VM is running", "vm-running": "VM running | VMs running", "vms": "VMs", diff --git a/@xen-orchestra/lite/src/locales/fr.json b/@xen-orchestra/lite/src/locales/fr.json index 6c5058bcf8..7fd7557f4f 100644 --- a/@xen-orchestra/lite/src/locales/fr.json +++ b/@xen-orchestra/lite/src/locales/fr.json @@ -8,19 +8,18 @@ "admin-login": "Nom d'utilisateur administrateur", "admin-password": "Mot de passe administrateur", "admin-password-confirm": "Confirmer le mot de passe administrateur", - "alarm-type": { - "cpu_usage": "L'utilisation du CPU dépasse {n}%", - "disk_usage": "L'utilisation du disque dépasse {n}%", - "fs_usage": "L'utilisation de FS dépasse {n}%", - "log_fs_usage": "L'utilisation de Log FS dépasse {n}%", - "mem_usage": "L'utilisation de la mémoire dépasse {n}%", - "memory_free_kib": "La mémoire libre est inférieure à {n}%", - "network_usage": "L'utilisation du réseau dépasse {n}%", - "physical_utilisation": "L'utilisation physique dépasse {n}%", - "sr_io_throughput_total_per_host": "Le débit total de l'IO SR par hôte dépasse {n}%", - "unknown": "Type d'alarme inconnu" - }, - "alarms": "Alarmes", + + "alarm-type.cpu_usage": "L'utilisation du CPU dépasse {n}%", + "alarm-type.disk_usage": "L'utilisation du disque dépasse {n}%", + "alarm-type.fs_usage": "L'utilisation de FS dépasse {n}%", + "alarm-type.log_fs_usage": "L'utilisation de Log FS dépasse {n}%", + "alarm-type.mem_usage": "L'utilisation de la mémoire dépasse {n}%", + "alarm-type.memory_free_kib": "La mémoire libre est inférieure à {n}%", + "alarm-type.network_usage": "L'utilisation du réseau dépasse {n}%", + "alarm-type.physical_utilisation": "L'utilisation physique dépasse {n}%", + "alarm-type.sr_io_throughput_total_per_host": "Le débit total de l'IO SR par hôte dépasse {n}%", + "alarm-type.unknown": "Type d'alarme inconnu", + "all-good": "Tout va bien !", "allow-self-signed-ssl": "Vous devrez peut-être autoriser les certificats SSL auto-signés depuis votre navigateur", "appearance": "Apparence", @@ -34,32 +33,29 @@ "click-to-display-alarms": "Cliquer pour afficher les alarmes :", "click-to-return-default-pool": "Cliquer ici pour revenir au pool par défaut", "close": "Fermer", - "coming-soon": "Bientôt disponible !", "community": "Communauté", "community-name": "Communauté {name}", "configuration": "Configuration", "confirm-cancel": "Êtes-vous sûr de vouloir annuler ?", "confirm-delete": "Vous êtes sur le point de supprimer {0}", - "console": "Console", "console-unavailable": "Console indisponible", "copy": "Copier", "cpu-provisioning": "Provisionnement CPU", "cpu-provisioning-warning": "Le nombre de vCPU alloués dépasse le nombre de CPU physique disponible. Les performances du système pourraient être affectées", "cpu-usage": "Utilisation CPU", - "dashboard": "Tableau de bord", "delete": "Supprimer", "delete-vms": "Supprimer 1 VM | Supprimer {n} VMs", "deploy": "Déployer", "deploy-xoa": "Déployer XOA", "deploy-xoa-available-on-desktop": "Le déploiement de la XOA est disponible sur ordinateur", - "deploy-xoa-status": { - "configuring": "Configuration de la XOA…", - "importing": "Importation de la XOA…", - "not-responding": "La XOA ne répond pas", - "ready": "La XOA est prête !", - "starting": "Démarrage de la XOA…", - "waiting": "En attente de réponse de la XOA…" - }, + + "deploy-xoa-status.configuring": "Configuration de la XOA…", + "deploy-xoa-status.importing": "Importation de la XOA…", + "deploy-xoa-status.not-responding": "La XOA ne répond pas", + "deploy-xoa-status.ready": "La XOA est prête !", + "deploy-xoa-status.starting": "Démarrage de la XOA…", + "deploy-xoa-status.waiting": "En attente de réponse de la XOA…", + "descending": "descendant", "description": "Description", "dhcp": "DHCP", @@ -68,7 +64,6 @@ "display": "Affichage", "do-you-have-needs": "Vous avez des besoins et/ou des attentes ? Faites le nous savoir", "documentation": "Documentation", - "documentation-name": "Documentation {name}", "edit-config": "Modifier config", "enabled": "Activé", "error-no-data": "Erreur, impossible de collecter les données.", @@ -81,24 +76,22 @@ "export-vms": "Exporter les VMs", "export-vms-manually-information": "Certaines exportations de VMs n'ont pas pu démarrer automatiquement, peut-être en raison des paramètres du navigateur. Pour les exporter, vous devrez cliquer sur chacune d'entre elles. (Ou copier le lien.)", "fetching-fresh-data": "Récupération de données à jour", - "filter": { - "comparison": { - "contains": "Contient", - "ends-with": "Termine par", - "equals": "Est égal à", - "is": "Est", - "is-false": "Est faux", - "is-not": "N'est pas", - "is-true": "Est vrai", - "matches-regex": "Correspond à la regex", - "not-contain": "Ne contient pas", - "not-end-with": "Ne termine pas par", - "not-equal": "N'est pas égal à", - "not-match-regex": "Ne correspond pas à la regex", - "not-start-with": "Ne commence pas par", - "starts-with": "Commence par" - } - }, + + "filter.comparison.contains": "Contient", + "filter.comparison.ends-with": "Termine par", + "filter.comparison.equals": "Est égal à", + "filter.comparison.is": "Est", + "filter.comparison.is-false": "Est faux", + "filter.comparison.is-not": "N'est pas", + "filter.comparison.is-true": "Est vrai", + "filter.comparison.matches-regex": "Correspond à la regex", + "filter.comparison.not-contain": "Ne contient pas", + "filter.comparison.not-end-with": "Ne termine pas par", + "filter.comparison.not-equal": "N'est pas égal à", + "filter.comparison.not-match-regex": "Ne correspond pas à la regex", + "filter.comparison.not-start-with": "Ne commence pas par", + "filter.comparison.starts-with": "Commence par", + "following-hosts-unreachable": "Les hôtes suivants sont inaccessibles", "force-reboot": "Forcer le redémarrage", "force-shutdown": "Forcer l'arrêt", @@ -110,10 +103,10 @@ "go-back": "Revenir en arrière", "gzip": "gzip", "here": "Ici", - "host": { - "active": "Actif | Actif | Actifs", - "inactive": "Inactif | Inactif | Inactifs" - }, + + "host.active": "Actif | Actif | Actifs", + "host.inactive": "Inactif | Inactif | Inactifs", + "hosts": "Hôtes", "invalid-field": "Champ invalide", "keep-me-logged": "Rester connecté", @@ -133,7 +126,6 @@ "n-vms": "1 VM | {n} VMs", "name": "Nom", "netmask": "Masque réseau", - "network": "Réseau", "network-download": "Descendant", "network-throughput": "Débit du réseau", "network-upload": "Montant", @@ -160,23 +152,22 @@ "please-confirm": "Veuillez confirmer", "pool-cpu-usage": "Utilisation CPU du Pool", "pool-ram-usage": "Utilisation RAM du Pool", - "power-on-for-console": "Allumez votre VM pour accéder à sa console", "power-state": "État d'alimentation", "property": "Propriété", "ram-usage": "Utilisation de la RAM", "reboot": "Redémarrer", "reformat": "Reformater", - "relative-time": { - "day": "1 jour | {n} jours", - "future": "Dans {str}", - "hour": "1 heure | {n} heures", - "minute": "1 minute | {n} minutes", - "month": "{n} mois", - "now": "À l'instant", - "past": "Il y a {str}", - "second": "1 seconde | {n} secondes", - "year": "1 an | {n} ans" - }, + + "relative-time.day": "1 jour | {n} jours", + "relative-time.future": "Dans {str}", + "relative-time.hour": "1 heure | {n} heures", + "relative-time.minute": "1 minute | {n} minutes", + "relative-time.month": "{n} mois", + "relative-time.now": "À l'instant", + "relative-time.past": "Il y a {str}", + "relative-time.second": "1 seconde | {n} secondes", + "relative-time.year": "1 an | {n} ans", + "resume": "Reprendre", "save": "Enregistrer", "select-compression": "Sélectionnez une compression", @@ -184,10 +175,10 @@ "selected-vms-in-execution": "Certaines VMs sélectionnées sont en cours d'exécution", "send-ctrl-alt-del": "Envoyer Ctrl+Alt+Suppr", "send-us-feedback": "Envoyez-nous vos commentaires", - "select": { - "network": "Sélectionner un réseau", - "storage": "Sélectionner un SR" - }, + + "select.network": "Sélectionner un réseau", + "select.storage": "Sélectionner un SR", + "settings": "Paramètres", "shutdown": "Arrêter", "snapshot": "Instantané", @@ -201,21 +192,16 @@ "start": "Démarrer", "start-on-host": "Démarrer sur un hôte spécifique", "static-ip": "IP statique", - "stats": "Stats", "status": "Statut", - "storage": "Stockage", "storage-usage": "Utilisation du stockage", "support": "Support", - "support-name": "Support pro {name}", "suspend": "Suspendre", "switch-theme": "Changer de thème", - "system": "Système", - "task": { - "estimated-end": "Fin estimée", - "progress": "Progression", - "started": "Démarré" - }, - "tasks": "Tâches", + + "task.estimated-end": "Fin estimée", + "task.progress": "Progression", + "task.started": "Démarré", + "theme-auto": "Auto", "theme-dark": "Sombre", "theme-light": "Clair", @@ -223,17 +209,17 @@ "top-#": "Top {n}", "total": "Total", "total-cpus": "Total CPUs", - "total-free": "Total libre", - "total-used": "Total utilisé", + "total-free:": "Total libre :", + "total-used:": "Total utilisé :", "unreachable-hosts": "Hôtes inaccessibles", "unreachable-hosts-reload-page": "C'est fait. Rafraîchir la page", "vcpus": "vCPUs", "vcpus-used": "vCPUs utilisés", "version": "Version", - "vm": { - "active": "Active | Active | Actives", - "inactive": "Inactive | Inactive | Inactives" - }, + + "vm.active": "Active | Active | Actives", + "vm.inactive": "Inactive | Inactive | Inactives", + "vm-is-running": "La VM est en cours d'exécution", "vm-running": "VM en cours d'exécution | VMs en cours d'exécution", "vms": "VMs", diff --git a/@xen-orchestra/lite/src/views/HomeView.vue b/@xen-orchestra/lite/src/views/HomeView.vue index 142c2f0cf0..7567367b23 100644 --- a/@xen-orchestra/lite/src/views/HomeView.vue +++ b/@xen-orchestra/lite/src/views/HomeView.vue @@ -1,4 +1,4 @@ -Chargement en cours... +{{ $t('loading-in-progress') }} diff --git a/@xen-orchestra/web-core/lib/components/dropdown/DropdownTitle.vue b/@xen-orchestra/web-core/lib/components/dropdown/DropdownTitle.vue index 48c9125572..853a941f68 100644 --- a/@xen-orchestra/web-core/lib/components/dropdown/DropdownTitle.vue +++ b/@xen-orchestra/web-core/lib/components/dropdown/DropdownTitle.vue @@ -9,8 +9,12 @@