summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-07-29 19:22:10 +0300
committerAndrew Dolgov <[email protected]>2015-07-29 19:22:10 +0300
commite053fd8d6bd02ea1943b61f3ace5396845c2d1db (patch)
tree46fa8d870985f55542db764c87d2dbdd099a2a5a
parent8691b32abf8935fcd1681cf59b9d45f2a8d1e019 (diff)
parentcd839c98129a460bad6d3480d04fdd2d8e55c5bd (diff)
Merge branch 'api_translation' into 'master'
Enable translation of strings returned by API Adding "startup_gettext" call makes API specials categories and feeds to be sent translated Works like a charm with official ttrss android app See merge request !2
-rw-r--r--api/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/index.php b/api/index.php
index facdf82c5..a8484ef0e 100644
--- a/api/index.php
+++ b/api/index.php
@@ -53,6 +53,8 @@
@session_start();
}
+ startup_gettext();
+
if (!init_plugins()) return;
$method = strtolower($_REQUEST["op"]);