[pve-devel] [widget-toolkit 2/2] change the hard coded text against the translated text

Wolfgang Link w.link at proxmox.com
Wed Dec 20 13:38:27 CET 2017


---
 node/NetworkView.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/node/NetworkView.js b/node/NetworkView.js
index 90be36f..b38a07e 100644
--- a/node/NetworkView.js
+++ b/node/NetworkView.js
@@ -280,9 +280,9 @@ Ext.define('Proxmox.node.NetworkView', {
 			    width: 80,
 			    sortable: true,
 			    dataIndex: 'active',
-			    trueText: 'Yes',
-			    falseText: 'No',
-			    undefinedText: 'No'
+			    trueText: Proxmox.Utils.yesText,
+			    falseText: Proxmox.Utils.noText,
+			    undefinedText: Proxmox.Utils.noText,
 			},
 			{
 			    xtype: 'booleancolumn',
@@ -290,9 +290,9 @@ Ext.define('Proxmox.node.NetworkView', {
 			    width: 80,
 			    sortable: true,
 			    dataIndex: 'autostart',
-			    trueText: 'Yes',
-			    falseText: 'No',
-			    undefinedText: 'No'
+			    trueText: Proxmox.Utils.yesText,
+			    falseText: Proxmox.Utils.noText,
+			    undefinedText: Proxmox.Utils.noText
 			},
 			{
 			    xtype: 'booleancolumn',
-- 
2.11.0





More information about the pve-devel mailing list