ui: sync job: small style & casing-consistency fixes

Ensure title-case is honored, while at it drop the "snapshot" for the
advanced options, we do not use that for non-advanced option like
"Removed Vanished" either. This avoids that some field labels wrap
over multiple lines, at least for English.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-04-05 18:44:38 +02:00
parent a3815aff82
commit bccff939fa

View File

@ -338,7 +338,7 @@ Ext.define('PBS.window.SyncJobEdit', {
},
},
{
fieldLabel: gettext('Remove vanished'),
fieldLabel: gettext('Remove Vanished'),
xtype: 'proxmoxcheckbox',
name: 'remove-vanished',
autoEl: {
@ -386,7 +386,7 @@ Ext.define('PBS.window.SyncJobEdit', {
},
},
{
fieldLabel: gettext('Re-sync corrupt snapshots'),
fieldLabel: gettext('Re-sync Corrupt'),
xtype: 'proxmoxcheckbox',
name: 'resync-corrupt',
autoEl: {
@ -402,9 +402,9 @@ Ext.define('PBS.window.SyncJobEdit', {
],
advancedColumn2: [
{
fieldLabel: gettext('Encrypted snapshots only'),
xtype: 'proxmoxcheckbox',
name: 'encrypted-only',
fieldLabel: gettext('Encrypted Only'),
autoEl: {
tag: 'div',
'data-qtip': gettext('Sync only encrypted backup snapshots, exclude others.'),
@ -413,9 +413,9 @@ Ext.define('PBS.window.SyncJobEdit', {
value: false,
},
{
fieldLabel: gettext('Verified snapshots only'),
xtype: 'proxmoxcheckbox',
name: 'verified-only',
fieldLabel: gettext('Verified Only'),
autoEl: {
tag: 'div',
'data-qtip': gettext('Sync only verified backup snapshots, exclude others.'),