ui: task descriptions: fix casing

Enforce title-case. Affects mostly the new tape related task
description.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-03-28 13:50:50 +02:00
parent b3bed7e41f
commit 94352256b7

View File

@ -372,21 +372,21 @@ Ext.define('PBS.Utils', {
"tape-backup": (type, id) => PBS.Utils.render_tape_backup_id(id, gettext('Tape Backup')),
"tape-backup-job": (type, id) => PBS.Utils.render_tape_backup_id(id, gettext('Tape Backup Job')),
"tape-restore": ['Datastore', gettext('Tape Restore')],
"barcode-label-media": [gettext('Drive'), gettext('Barcode label media')],
"barcode-label-media": [gettext('Drive'), gettext('Barcode-Label Media')],
dircreate: [gettext('Directory Storage'), gettext('Create')],
dirremove: [gettext('Directory'), gettext('Remove')],
"load-media": (type, id) => PBS.Utils.render_drive_load_media_id(id, gettext('Load media')),
"unload-media": [gettext('Drive'), gettext('Unload media')],
"eject-media": [gettext('Drive'), gettext('Eject media')],
"erase-media": [gettext('Drive'), gettext('Erase media')],
garbage_collection: ['Datastore', gettext('Garbage collect')],
"inventory-update": [gettext('Drive'), gettext('Inventory update')],
"label-media": [gettext('Drive'), gettext('Label media')],
"catalog-media": [gettext('Drive'), gettext('Catalog media')],
"load-media": (type, id) => PBS.Utils.render_drive_load_media_id(id, gettext('Load Media')),
"unload-media": [gettext('Drive'), gettext('Unload Media')],
"eject-media": [gettext('Drive'), gettext('Eject Media')],
"erase-media": [gettext('Drive'), gettext('Erase Media')],
garbage_collection: ['Datastore', gettext('Garbage Collect')],
"inventory-update": [gettext('Drive'), gettext('Inventory Update')],
"label-media": [gettext('Drive'), gettext('Label Media')],
"catalog-media": [gettext('Drive'), gettext('Catalog Media')],
logrotate: [null, gettext('Log Rotation')],
prune: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Prune')),
reader: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Read objects')),
"rewind-media": [gettext('Drive'), gettext('Rewind media')],
reader: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Read Objects')),
"rewind-media": [gettext('Drive'), gettext('Rewind Media')],
sync: ['Datastore', gettext('Remote Sync')],
syncjob: [gettext('Sync Job'), gettext('Remote Sync')],
verify: ['Datastore', gettext('Verification')],