Fix missing translation on combined column titles

This commit is contained in:
nathangray 2019-06-03 16:22:29 -06:00
parent 797d396a4a
commit f5b1b68e20

View File

@ -740,9 +740,10 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
var result = null; var result = null;
if(typeof _widget._genColumnCaption == "function") return _widget._genColumnCaption(); if(typeof _widget._genColumnCaption == "function") return _widget._genColumnCaption();
var self = this;
_widget.iterateOver(function(_widget) { _widget.iterateOver(function(_widget) {
var label = (_widget.options.label ? _widget.options.label : _widget.options.empty_label); var label = self.egw().lang(_widget.options.label || _widget.options.empty_label || '');
if (!label) return; // skip empty, undefined or null labels if (!label) return; // skip empty, undefined or null labels
if (!result) if (!result)
{ {