[pve-devel] applied: [PATCH manager] grid/replication: show textual description of default value

Dietmar Maurer dietmar at proxmox.com
Wed Jun 28 10:01:08 CEST 2017


applied - But I would prefer "Every {0} minutes" as gettext string ...

> On June 28, 2017 at 9:19 AM Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
> 
> 
> When a user sees this the first time and wants to add a job he
> shouldn't be confused what the default value means, so display this
> through the emptyText property, which does not get submitted to the
> backend.
> 
> Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> ---
>  www/manager6/grid/Replication.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/grid/Replication.js
> b/www/manager6/grid/Replication.js
> index 6381c63a..6bd9aa03 100644
> --- a/www/manager6/grid/Replication.js
> +++ b/www/manager6/grid/Replication.js
> @@ -35,7 +35,7 @@ Ext.define('PVE.window.ReplicaEdit', {
>  	    {
>  		xtype: 'pveCalendarEvent',
>  		fieldLabel: gettext('Schedule'),
> -		emptyText: '*/15',
> +		emptyText: '*/15 - ' + gettext('Every 15 minutes'),
>  		name: 'schedule'
>  	    },
>  	    {
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel




More information about the pve-devel mailing list