From 94352256b78eef66c27c3d7f5ee348d90c09a784 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 28 Mar 2021 13:50:50 +0200 Subject: [PATCH] ui: task descriptions: fix casing Enforce title-case. Affects mostly the new tape related task description. Signed-off-by: Thomas Lamprecht --- www/Utils.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/www/Utils.js b/www/Utils.js index 6c8ca5cb..de93140c 100644 --- a/www/Utils.js +++ b/www/Utils.js @@ -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')],