diff options
author | Simon Rettberg | 2016-05-04 18:27:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-05-04 18:27:28 +0200 |
commit | 80424b29e00609bf837119fa810b5afdadf2b4e9 (patch) | |
tree | e59c49265aeb219c4137bdf21e71262201345b99 /inc/message.inc.php | |
parent | WIP (diff) | |
download | slx-admin-80424b29e00609bf837119fa810b5afdadf2b4e9.tar.gz slx-admin-80424b29e00609bf837119fa810b5afdadf2b4e9.tar.xz slx-admin-80424b29e00609bf837119fa810b5afdadf2b4e9.zip |
Work on translations: templates and messages work
Diffstat (limited to 'inc/message.inc.php')
-rw-r--r-- | inc/message.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/message.inc.php b/inc/message.inc.php index 96fb94c5..d6a62f4e 100644 --- a/inc/message.inc.php +++ b/inc/message.inc.php @@ -37,6 +37,9 @@ class Message */ private static function add($type, $id, $params) { + if (strstr($id, '.') === false) { + $id = Page::getModule()->getIdentifier() . '.' . $id; + } self::$list[] = array( 'type' => $type, 'id' => $id, |