ui: hyphenate "Media-Set" to make it clearer that its one noun

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-21 15:53:50 +02:00
parent 07875ce13e
commit f44254b4bd
5 changed files with 12 additions and 9 deletions

View File

@ -259,7 +259,7 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
columns: [
{
xtype: 'treecolumn',
text: gettext('Pool/Media Set/Snapshot'),
text: gettext('Pool/Media-Set/Snapshot'),
dataIndex: 'text',
sortable: false,
flex: 3,
@ -287,7 +287,7 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
sortable: false,
},
{
text: gettext('Media Set UUID'),
text: gettext('Media-Set UUID'),
dataIndex: 'media-set-uuid',
hidden: true,
sortable: false,

View File

@ -246,7 +246,7 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
flex: 1,
},
{
text: gettext('Media Set'),
text: gettext('Media-Set'),
dataIndex: 'media-set-name',
flex: 2,
sorter: function(a, b) {

View File

@ -32,12 +32,12 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
{
xtype: 'proxmoxcheckbox',
name: 'force-media-set',
fieldLabel: gettext('Force new Media Set'),
fieldLabel: gettext('Force new Media-Set'),
},
{
xtype: 'proxmoxcheckbox',
name: 'export-media-set',
fieldLabel: gettext('Export Media Set'),
fieldLabel: gettext('Export Media-Set'),
listeners: {
change: function(cb, value) {
let me = this;

View File

@ -86,7 +86,7 @@ Ext.define('PBS.TapeManagement.BackupJobEdit', {
},
},
{
fieldLabel: gettext('Export Media Set'),
fieldLabel: gettext('Export Media-Set'),
xtype: 'proxmoxcheckbox',
name: 'export-media-set',
cbind: {

View File

@ -3,11 +3,14 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
alias: 'widget.pbsTapeRestoreWindow',
mixins: ['Proxmox.Mixin.CBind'],
title: gettext('Restore Media-Set'),
width: 800,
height: 500,
title: gettext('Restore Media Set'),
url: '/api2/extjs/tape/restore',
method: 'POST',
showTaskViewer: true,
isCreate: true,
@ -282,7 +285,7 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
column1: [
{
xtype: 'displayfield',
fieldLabel: gettext('Media Set'),
fieldLabel: gettext('Media-Set'),
cbind: {
value: '{mediaset}',
},
@ -292,7 +295,7 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
column2: [
{
xtype: 'displayfield',
fieldLabel: gettext('Media Set UUID'),
fieldLabel: gettext('Media-Set UUID'),
name: 'media-set',
submitValue: true,
cbind: {