[pve-devel] [PATCH manager v2] ui: acme: Remove false gettexts

Dominic Jäger d.jaeger at proxmox.com
Thu Jan 7 09:32:13 CET 2021


Translating these is not useful; e.g. API would be translated to API in German.

Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
---
new in v2

 www/manager6/dc/ACMEClusterView.js | 2 +-
 www/manager6/dc/ACMEPluginEdit.js  | 2 +-
 www/manager6/dc/Config.js          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/manager6/dc/ACMEClusterView.js b/www/manager6/dc/ACMEClusterView.js
index cb45a2ba..d02aeef0 100644
--- a/www/manager6/dc/ACMEClusterView.js
+++ b/www/manager6/dc/ACMEClusterView.js
@@ -171,7 +171,7 @@ Ext.define('PVE.dc.ACMEPluginView', {
 	},
 	{
 	    dataIndex: 'api',
-	    text: gettext('API'),
+	    text: 'API',
 	    renderer: Ext.String.htmlEncode,
 	    flex: 1,
 	},
diff --git a/www/manager6/dc/ACMEPluginEdit.js b/www/manager6/dc/ACMEPluginEdit.js
index 5b6c3a8b..bf4652f1 100644
--- a/www/manager6/dc/ACMEPluginEdit.js
+++ b/www/manager6/dc/ACMEPluginEdit.js
@@ -11,7 +11,7 @@ Ext.define('PVE.dc.ACMEPluginEditor', {
     width: 550,
     url: '/cluster/acme/plugins/',
 
-    subject: gettext('ACME DNS Plugin'),
+    subject: 'ACME DNS Plugin',
 
     items: [
 	{
diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 92b94afc..f517115d 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -182,7 +182,7 @@ Ext.define('PVE.dc.Config', {
 	    if (Proxmox.UserName === 'root at pam') {
 		me.items.push({
 		    xtype: 'pveACMEClusterView',
-		    title: gettext('ACME'),
+		    title: 'ACME',
 		    iconCls: 'fa fa-certificate',
 		    itemId: 'acme'
 		});
-- 
2.20.1





More information about the pve-devel mailing list