[pbs-devel] [PATCH proxmox-backup] ui: utils: add task description for mounting/unmounting

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Nov 26 11:39:42 CET 2024


On November 26, 2024 11:15 am, Dominik Csapak wrote:
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/Utils.js | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/www/Utils.js b/www/Utils.js
> index 6bae9b709..484c607bd 100644
> --- a/www/Utils.js
> +++ b/www/Utils.js
> @@ -417,6 +417,7 @@ Ext.define('PBS.Utils', {
>  	    'label-media': [gettext('Drive'), gettext('Label Media')],
>  	    'load-media': (type, id) => PBS.Utils.render_drive_load_media_id(id, gettext('Load Media')),
>  	    logrotate: [null, gettext('Log Rotation')],
> +	    'mount-device': [gettext('Datastore'), gettext('Mount Device')],
>  	    prune: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Prune')),
>  	    prunejob: (type, id) => PBS.Utils.render_prune_job_worker_id(id, gettext('Prune Job')),
>  	    reader: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Read Objects')),
> @@ -427,6 +428,7 @@ Ext.define('PBS.Utils', {
>  	    'tape-backup-job': (type, id) => PBS.Utils.render_tape_backup_id(id, gettext('Tape Backup Job')),
>  	    'tape-restore': ['Datastore', gettext('Tape Restore')],
>  	    'unload-media': [gettext('Drive'), gettext('Unload Media')],
> +	    'unmount-device': [gettext('Datastore'), gettext('Un-mount Device')],

nit: I'd prefer "Unmount" instead of "Un-mount". we don't have a single
"Un-" in the whole codebase AFAICT ;)

>  	    verificationjob: [gettext('Verify Job'), gettext('Scheduled Verification')],
>  	    verify: ['Datastore', gettext('Verification')],
>  	    verify_group: ['Group', gettext('Verification')],
> -- 
> 2.39.5
> 
> 
> 
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
> 
> 
> 




More information about the pbs-devel mailing list