[pbs-devel] [PATCH proxmox-backup 5/5] ui: SyncView/SyncJobEdit: unify store/namespace gettext

Dominik Csapak d.csapak at proxmox.com
Tue May 17 08:52:15 CEST 2022


so that the labels are the same in the list as in the edit window

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/config/SyncView.js    | 6 +++---
 www/window/SyncJobEdit.js | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/www/config/SyncView.js b/www/config/SyncView.js
index a90e9a70..f149cd8a 100644
--- a/www/config/SyncView.js
+++ b/www/config/SyncView.js
@@ -197,14 +197,14 @@ Ext.define('PBS.config.SyncJobView', {
 	    sortable: true,
 	},
 	{
-		header: gettext('Namespace'),
+		header: gettext('Local Namespace'),
 		dataIndex: 'ns',
-		width: 120,
+		width: 130,
 		sortable: true,
 		renderer: PBS.Utils.render_optional_namespace,
 	},
 	{
-	    header: gettext('Remote ID'),
+	    header: gettext('Source Remote'),
 	    dataIndex: 'remote',
 	    width: 120,
 	    sortable: true,
diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
index efa1adfc..2c09b354 100644
--- a/www/window/SyncJobEdit.js
+++ b/www/window/SyncJobEdit.js
@@ -73,7 +73,7 @@ Ext.define('PBS.window.SyncJobEdit', {
 		column1: [
 		    {
 			xtype: 'pmxDisplayEditField',
-			fieldLabel: gettext('Local Datastore'),
+			fieldLabel: gettext('Local Store'),
 			name: 'store',
 			submitValue: true,
 			cbind: {
@@ -150,7 +150,7 @@ Ext.define('PBS.window.SyncJobEdit', {
 			},
 		    },
 		    {
-			fieldLabel: gettext('Source Datastore'),
+			fieldLabel: gettext('Remote Store'),
 			xtype: 'pbsRemoteStoreSelector',
 			allowBlank: false,
 			autoSelect: false,
@@ -169,7 +169,7 @@ Ext.define('PBS.window.SyncJobEdit', {
 			},
 		    },
 		    {
-			fieldLabel: gettext('Source Namespace'),
+			fieldLabel: gettext('Remote Namespace'),
 			xtype: 'pbsRemoteNamespaceSelector',
 			allowBlank: true,
 			autoSelect: false,
-- 
2.30.2






More information about the pbs-devel mailing list