mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
LSdefault / copyable helper: Fix translating messages
This commit is contained in:
parent
140b000877
commit
80a50f98f1
2 changed files with 7 additions and 7 deletions
|
@ -497,13 +497,6 @@ class LSsession {
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
return False;
|
return False;
|
||||||
LStemplate :: addHelpInfo(
|
|
||||||
'LSdefault',
|
|
||||||
array(
|
|
||||||
'copy_to_clipboard' => _('Copy to clipboard'),
|
|
||||||
'copied' => _('Copied!'),
|
|
||||||
)
|
|
||||||
);
|
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
return False;
|
return False;
|
||||||
|
|
|
@ -416,6 +416,13 @@ class LStemplate extends LSlog_staticLoggerClass {
|
||||||
**/
|
**/
|
||||||
public static function assignCommonVars() {
|
public static function assignCommonVars() {
|
||||||
// JS config
|
// JS config
|
||||||
|
LStemplate :: addHelpInfo(
|
||||||
|
'LSdefault',
|
||||||
|
array(
|
||||||
|
'copy_to_clipboard' => _('Copy to clipboard'),
|
||||||
|
'copied' => _('Copied!'),
|
||||||
|
)
|
||||||
|
);
|
||||||
LStemplate :: assign('LSjsConfig', base64_encode(json_encode(self :: $JSconfigParams)));
|
LStemplate :: assign('LSjsConfig', base64_encode(json_encode(self :: $JSconfigParams)));
|
||||||
|
|
||||||
// JS files
|
// JS files
|
||||||
|
|
Loading…
Reference in a new issue