From 069190310588d5d201d7144ff7ec326a785478b9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 7 May 2014 13:03:14 +0000 Subject: [PATCH] Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options --- etemplate/js/et2_widget_selectbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 5e7eaebc08..635ec7b773 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -628,7 +628,7 @@ var et2_selectbox = et2_inputWidget.extend( // Empty label should not be added as an option for chosen, it conflicts if(this.options.empty_label && !(this.options.tags || this.options.search)) { - this._appendOptionElement('',this.options.empty_label); + this._appendOptionElement('',this.egw().lang(this.options.empty_label)); } // Add the select_options