This is an automated email from the ASF dual-hosted git repository.
RosiKyu pushed a commit to branch 4.22
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.22 by this push:
new 437adc81dec ui: add the missing label for the backup resource limit
(#14163)
437adc81dec is described below
commit 437adc81dec08b2fbb6a57461126db56d1a20059
Author: Syed Talha Ahmed Gardazi <[email protected]>
AuthorDate: Thu Oct 8 08:33:04 2026 +0200
ui: add the missing label for the backup resource limit (#14163)
The Resource Limits tab derives each label from the resource type name
returned by listResourceLimits:
$t('label.max' + item.resourcetypename.replace('_', ''))
Resource.ResourceType declares backup("backup", 12), so the key looked up
for that row is label.maxbackup, which exists in no locale. en.json has
label.maxbackups, a different string used by the backup schedule form for
how many backups to retain, and label.maxbackupstorage, which is resource
type 13. With fallbackLocale 'en' and silentTranslationWarn enabled, the
miss is silent and vue-i18n renders the key itself, so the row reads
"label.maxbackup".
The same key is used for the tagged-limit validation message, which shows
the raw key for the same reason.
Backup was the only one of the 17 ResourceType values without a label; the
other 16 already resolve.
---
ui/public/locales/en.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json
index bf27ec0bb43..382eb785db0 100644
--- a/ui/public/locales/en.json
+++ b/ui/public/locales/en.json
@@ -1540,6 +1540,7 @@
"label.max.primary.storage": "Max. primary (GiB)",
"label.max.secondary.storage": "Max. secondary (GiB)",
"label.max.migrations": "Max. migrations",
+"label.maxbackup": "Max. Backups",
"label.maxbackups": "Max. Backups",
"label.maxbackupstorage": "Max. Backup Storage (GiB)",
"label.maxbackups.to.retain": "Max. Backups to retain",