ui: lxc/net: s/i.e./e.g./ and transform to emptyText

We want to name an example here, so `e.g.` would be better.

Also show that in the field if empty. No changes to gettext stuff.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-11-19 12:56:04 +01:00 committed by Dominik Csapak
parent ba196e4b49
commit 6d350cdc71

View File

@ -91,7 +91,8 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
{
xtype: 'textfield',
name: 'name',
fieldLabel: gettext('Name') + ' (i.e. eth0)',
fieldLabel: gettext('Name'),
emptyText: '(e.g., eth0)',
allowBlank: false,
value: cdata.name,
validator: function(value) {