mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
Fix some bugs causing missing translations in home
This commit is contained in:
parent
106e27303b
commit
83afae3960
@ -185,6 +185,8 @@ var et2_portlet = et2_valueWidget.extend(
|
||||
for(var action_name in this.default_actions)
|
||||
{
|
||||
defaults[action_name] = this.default_actions[action_name];
|
||||
// Translate caption here, as translations aren't available earlier
|
||||
defaults[action_name].caption = this.egw().lang(this.default_actions[action_name].caption);
|
||||
if(typeof this[action_name] == "function")
|
||||
{
|
||||
defaults[action_name].onExecute = jQuery.proxy(this[action_name],this);
|
||||
|
@ -100,6 +100,8 @@ class home_favorite_portlet extends home_portlet
|
||||
}
|
||||
}
|
||||
$this->nm_settings['columnselection_pref'] = "nextmatch-home.{$this->context['id']}";
|
||||
|
||||
translation::add_app($context['appname']);
|
||||
}
|
||||
public function exec($id = null, etemplate_new &$etemplate = null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user