aboutsummaryrefslogtreecommitdiffstats
path: root/include/pgettext.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-04-17 18:07:20 +0200
commitdbff4252d4ac7ccc1cda6b378a53c6761ea4c49d (patch)
tree23e17c4ceb420292d2dff3137ad4723f3d94fb4f /include/pgettext.php
parent757e3429ac6928c45ffebf0b64288e63efbc6322 (diff)
parentb30c761aae7e01e6fe727232e48b14303484a228 (diff)
downloadvolse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.gz
volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.bz2
volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.zip
Merge branch 'master' of https://github.com/friendica/friendica
Diffstat (limited to 'include/pgettext.php')
-rw-r--r--include/pgettext.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pgettext.php b/include/pgettext.php
index 83e76ba9d..a079a4687 100644
--- a/include/pgettext.php
+++ b/include/pgettext.php
@@ -49,6 +49,7 @@ function get_language() {
if(isset($preferred))
return $preferred;
+ $a = get_app();
return ((isset($a->config['system']['language'])) ? $a->config['system']['language'] : 'en');
}}