X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpgettext.php;h=4f8db43d471b12ea828004d433194fcba90e99a5;hb=07fff2c3f543f443cb391ba998f4f7cb2f0c2644;hp=525b64a1867ea51feb2708b086106936c1515f37;hpb=f07df4f667c42866b2ea7e65ad1356cdd5b394f5;p=friendica.git diff --git a/include/pgettext.php b/include/pgettext.php index 525b64a186..4f8db43d47 100644 --- a/include/pgettext.php +++ b/include/pgettext.php @@ -1,5 +1,7 @@ strings = array(); - if(file_exists("view/$lang/strings.php")) { - include("view/$lang/strings.php"); - } // load enabled plugins strings $plugins = q("SELECT name FROM addon WHERE installed=1;"); if ($plugins!==false) { @@ -105,6 +111,11 @@ function load_translation_table($lang) { } } } + + if(file_exists("view/$lang/strings.php")) { + include("view/$lang/strings.php"); + } + }} // translate string if translation exists