mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Fix missing translation on combined column titles
This commit is contained in:
parent
797d396a4a
commit
f5b1b68e20
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user