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
This commit is contained in:
Andrew Dolgov 2015-07-29 19:22:10 +03:00
commit e053fd8d6b
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@
@session_start(); @session_start();
} }
startup_gettext();
if (!init_plugins()) return; if (!init_plugins()) return;
$method = strtolower($_REQUEST["op"]); $method = strtolower($_REQUEST["op"]);