Translate taglist option labels

This commit is contained in:
nathangray 2018-09-13 11:16:20 -06:00
parent d29cd78a7c
commit 075c7851db

View File

@ -440,10 +440,11 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
{ {
jQuery.extend(option, options[id]); jQuery.extend(option, options[id]);
if(option.value) option.id = option.value; if(option.value) option.id = option.value;
option.label = this.options.no_lang ? option.label : this.egw().lang(option.label);
} }
else else
{ {
option.label = options[id]; option.label = this.options.no_lang ? options[id] : this.egw().lang(options[id]);
} }
data.push(option); data.push(option);
} }