yesText: gettext('Yes'),
noText: gettext('No'),
+ noneText: gettext('none'),
errorText: gettext('Error'),
unknownText: gettext('Unknown'),
defaultText: gettext('Default'),
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) {
var me = this;
me.data = [
- ['', gettext('none')],
+ ['', PVE.Utils.noneText],
['lzo', 'LZO (' + gettext('fast') + ')'],
['gzip', 'GZIP (' + gettext('good') + ')']
];
//}
if (includeNone) {
- list.push(['', 'none']);
+ list.push(['', PVE.Utils.noneText]);
}
return list;