diff options
author | Simon Rettberg | 2016-05-10 19:17:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-05-10 19:17:28 +0200 |
commit | a79bbfa1a23838b91e9a08f7014c2c7304976714 (patch) | |
tree | fafb56190707d10b01cb282bc14b99156e100dcb /modules-available/support | |
parent | Translating module strings and custom sections works (diff) | |
download | slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.gz slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.tar.xz slx-admin-a79bbfa1a23838b91e9a08f7014c2c7304976714.zip |
Migrated messages to modules
Diffstat (limited to 'modules-available/support')
-rw-r--r-- | modules-available/support/lang/de/messages.json | 4 | ||||
-rw-r--r-- | modules-available/support/lang/de/template-tags.json | 3 | ||||
-rw-r--r-- | modules-available/support/lang/en/messages.json | 4 | ||||
-rw-r--r-- | modules-available/support/lang/pt/messages.json | 4 | ||||
-rw-r--r-- | modules-available/support/page.inc.php | 2 |
5 files changed, 16 insertions, 1 deletions
diff --git a/modules-available/support/lang/de/messages.json b/modules-available/support/lang/de/messages.json new file mode 100644 index 00000000..fe4a973d --- /dev/null +++ b/modules-available/support/lang/de/messages.json @@ -0,0 +1,4 @@ +{ + "news-save-success": "News erfolgreich aktualisiert", + "news-empty": "Es wurde keine News in der Datenbank gefunden" +}
\ No newline at end of file diff --git a/modules-available/support/lang/de/template-tags.json b/modules-available/support/lang/de/template-tags.json new file mode 100644 index 00000000..c44dc44f --- /dev/null +++ b/modules-available/support/lang/de/template-tags.json @@ -0,0 +1,3 @@ +[ + +]
\ No newline at end of file diff --git a/modules-available/support/lang/en/messages.json b/modules-available/support/lang/en/messages.json new file mode 100644 index 00000000..94d198c0 --- /dev/null +++ b/modules-available/support/lang/en/messages.json @@ -0,0 +1,4 @@ +{ + "news-save-success": "News updated successfully", + "news-empty": "There was no news found in the database" +}
\ No newline at end of file diff --git a/modules-available/support/lang/pt/messages.json b/modules-available/support/lang/pt/messages.json new file mode 100644 index 00000000..7420aef9 --- /dev/null +++ b/modules-available/support/lang/pt/messages.json @@ -0,0 +1,4 @@ +{ + "news-save-success": "Not\u00edcia atualizada com sucesso", + "news-empty": "N\u00e3o havia not\u00edcias no banco de dados" +}
\ No newline at end of file diff --git a/modules-available/support/page.inc.php b/modules-available/support/page.inc.php index 10695969..5ad7854f 100644 --- a/modules-available/support/page.inc.php +++ b/modules-available/support/page.inc.php @@ -6,7 +6,7 @@ class Page_Support extends Page protected function doPreprocess(){ User::load(); if (!User::hasPermission('superadmin')) { - Message::addError('no-permission'); + Message::addError('main.no-permission'); Util::redirect('?do=Main'); } error_reporting(E_ALL); |