1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

fix(i18n): chart series and the preset announcement in the page's language

The VM and host charts named their series in English (Usage, Usage (RSS),
Read, Write, Inbound, Outbound) and the new-VM form announced an applied
preset as "...new N GiB disk" in English on Turkish and Chinese pages.
The texts now come from the templates: the stats tab and host overview
give the series names (disk and NIC series reuse In, Out, Read, Write of
the readings line), and each preset button carries its own announcement.
"Usage" has the context "chart": zh translated it for secrets as "used by".
This commit is contained in:
catborise 2026-11-09 14:34:57 +03:00
parent 0218a54c87
commit f92d443eec
12 changed files with 41 additions and 13 deletions

Binary file not shown.

View file

@ -10005,3 +10005,15 @@ msgstr "Tüm arabirimler"
#, python-format
msgid "The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set another maximum"
msgstr "VM'nin CPU topolojisi %(count)s vCPU içeriyor: başka bir en fazla değer için onu XML düzenleyicide değiştirin"
msgctxt "chart"
msgid "Usage"
msgstr "Kullanım"
msgctxt "chart"
msgid "Usage (RSS)"
msgstr "Kullanım (RSS)"
#, python-format
msgid "%(label)s: %(vcpu)s vCPU, %(memory)s MiB, new %(disk)s GiB disk"
msgstr "%(label)s: %(vcpu)s vCPU, %(memory)s MiB, yeni %(disk)s GiB disk"

Binary file not shown.

View file

@ -9424,3 +9424,15 @@ msgstr "所有接口"
#, python-format
msgid "The VM's CPU topology has %(count)s vCPUs: change it in the XML editor to set another maximum"
msgstr "该虚拟机的 CPU 拓扑为 %(count)s 个 vCPU:要设置其他最大值,请在 XML 编辑器中修改拓扑"
msgctxt "chart"
msgid "Usage"
msgstr "使用量"
msgctxt "chart"
msgid "Usage (RSS)"
msgstr "使用量 (RSS)"
#, python-format
msgid "%(label)s: %(vcpu)s vCPU, %(memory)s MiB, new %(disk)s GiB disk"
msgstr "%(label)s:%(vcpu)s 个 vCPU,%(memory)s MiB,新建 %(disk)s GiB 磁盘"