mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +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;
|
||||
LStemplate :: addHelpInfo(
|
||||
'LSdefault',
|
||||
array(
|
||||
'copy_to_clipboard' => _('Copy to clipboard'),
|
||||
'copied' => _('Copied!'),
|
||||
)
|
||||
);
|
||||
return True;
|
||||
}
|
||||
return False;
|
||||
|
|
|
@ -416,6 +416,13 @@ class LStemplate extends LSlog_staticLoggerClass {
|
|||
**/
|
||||
public static function assignCommonVars() {
|
||||
// JS config
|
||||
LStemplate :: addHelpInfo(
|
||||
'LSdefault',
|
||||
array(
|
||||
'copy_to_clipboard' => _('Copy to clipboard'),
|
||||
'copied' => _('Copied!'),
|
||||
)
|
||||
);
|
||||
LStemplate :: assign('LSjsConfig', base64_encode(json_encode(self :: $JSconfigParams)));
|
||||
|
||||
// JS files
|
||||
|
|
Loading…
Reference in a new issue