mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 02:28:34 +00:00
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:
parent
4e120eb254
commit
160673c147
@ -91,7 +91,8 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
|
|||||||
{
|
{
|
||||||
xtype: 'textfield',
|
xtype: 'textfield',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
fieldLabel: gettext('Name') + ' (i.e. eth0)',
|
fieldLabel: gettext('Name'),
|
||||||
|
emptyText: '(e.g., eth0)',
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
value: cdata.name,
|
value: cdata.name,
|
||||||
validator: function(value) {
|
validator: function(value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user