X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpgettext.php;h=fb87798ff72712b74acccc8f2d4a93bf6b5ba1f4;hb=51716957b24d97c20f078d1f880a6ca112cae792;hp=0acbb02cff4f5737b24b2e5bcf87f7e22489cfae;hpb=2fc2a1a228dbfada803618bdc4714f4ffaa9d149;p=friendica.git diff --git a/include/pgettext.php b/include/pgettext.php index 0acbb02cff..fb87798ff7 100644 --- a/include/pgettext.php +++ b/include/pgettext.php @@ -98,7 +98,7 @@ if(! function_exists('load_translation_table')) { * @param string $lang language code to load */ function load_translation_table($lang) { - global $a; + $a = get_app(); $a->strings = array(); // load enabled plugins strings @@ -189,4 +189,4 @@ function get_available_languages() { } } return $langs; -} \ No newline at end of file +}