[pve-devel] [PATCH manager 2/4] replication: reuse fitting translations

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 29 16:37:32 CEST 2017


while it does not makes sense do over-reuse translations for the sake
of translating less, imo, here we can safely reuse already existing
ones and pull out the unit 'MB/s' from the gettext.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/grid/Replication.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/grid/Replication.js b/www/manager6/grid/Replication.js
index 387d32c2..7f2d2477 100644
--- a/www/manager6/grid/Replication.js
+++ b/www/manager6/grid/Replication.js
@@ -40,7 +40,7 @@ Ext.define('PVE.window.ReplicaEdit', {
 	    },
 	    {
 		xtype: 'numberfield',
-		fieldLabel: gettext('Rate (MB/s)'),
+		fieldLabel: gettext('Rate limit') + ' (MB/s)',
 		step: 1,
 		minValue: 1,
 		emptyText: gettext('unlimited'),
@@ -430,7 +430,7 @@ Ext.define('PVE.grid.ReplicaView', {
 		dataIndex: 'schedule'
 	    },
 	    {
-		text: gettext('Rate'),
+		text: gettext('Rate limit'),
 		dataIndex: 'rate',
 		renderer: function(value) {
 		    if (!value) {
-- 
2.11.0





More information about the pve-devel mailing list