Commit 71a69316 authored by Dietmar Maurer's avatar Dietmar Maurer

use gettext for 'none'

parent eb9d4732
......@@ -670,6 +670,7 @@ Ext.define('PVE.Utils', { statics: {
yesText: gettext('Yes'),
noText: gettext('No'),
noneText: gettext('none'),
errorText: gettext('Error'),
unknownText: gettext('Unknown'),
defaultText: gettext('Default'),
......
......@@ -127,7 +127,7 @@ Ext.define('PVE.dc.AuthEdit', {
name: 'tfa',
value: '',
fieldLabel: gettext('TFA'),
data: [ ['', 'none'], ['oath', 'OATH'], ['yubico', 'Yubico']],
data: [ ['', PVE.Utils.noneText], ['oath', 'OATH'], ['yubico', 'Yubico']],
listeners: {
change: function(f, value) {
if (!me.rendered) {
......
......@@ -6,7 +6,7 @@ Ext.define('PVE.form.CompressionSelector', {
var me = this;
me.data = [
['', gettext('none')],
['', PVE.Utils.noneText],
['lzo', 'LZO (' + gettext('fast') + ')'],
['gzip', 'GZIP (' + gettext('good') + ')']
];
......
......@@ -78,7 +78,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
//}
if (includeNone) {
list.push(['', 'none']);
list.push(['', PVE.Utils.noneText]);
}
return list;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment