[pve-devel] [PATCH manager 1/6] ui: node: directory: use gettext for 'Directory'
Fabian Ebner
f.ebner at proxmox.com
Mon Oct 25 15:47:50 CEST 2021
It's also localised when adding a storage for example.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
www/manager6/node/Directory.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/node/Directory.js b/www/manager6/node/Directory.js
index 50c8d677..67f56870 100644
--- a/www/manager6/node/Directory.js
+++ b/www/manager6/node/Directory.js
@@ -105,7 +105,7 @@ Ext.define('PVE.node.Directorylist', {
},
},
{
- text: gettext('Create') + ': Directory',
+ text: `${gettext('Create')}: ${gettext('Directory')}`,
handler: function() {
let view = this.up('panel');
Ext.create('PVE.node.CreateDirectory', {
--
2.30.2
More information about the pve-devel
mailing list