]> git.mxchange.org Git - friendica.git/blobdiff - include/pgettext.php
Merge pull request #2016 from fabrixxm/template_vars_hook
[friendica.git] / include / pgettext.php
index 23430fc77dc272b65274542d239debf0c4e5ca06..4f8db43d471b12ea828004d433194fcba90e99a5 100644 (file)
@@ -100,6 +100,7 @@ if(! function_exists('load_translation_table')) {
 function load_translation_table($lang) {
        global $a;
 
+       $a->strings = array();
        // load enabled plugins strings
        $plugins = q("SELECT name FROM addon WHERE installed=1;");
        if ($plugins!==false) {
@@ -111,7 +112,6 @@ function load_translation_table($lang) {
                }
        }
        
-       $a->strings = array();
        if(file_exists("view/$lang/strings.php")) {
                include("view/$lang/strings.php");
        }