forked from GithubBackups/tinyib
Move translations
This commit is contained in:
parent
520db4f331
commit
a458945ab5
@ -68,7 +68,7 @@ if (TINYIB_LOCALE == '') {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
require 'inc/gettext/src/autoloader.php';
|
require 'inc/gettext/src/autoloader.php';
|
||||||
$translations = Translations::fromPoFile('locale/' . TINYIB_LOCALE . '/LC_MESSAGES/tinyib.po');
|
$translations = Translations::fromPoFile('locale/' . TINYIB_LOCALE . '/tinyib.po');
|
||||||
$translator = new Translator();
|
$translator = new Translator();
|
||||||
$translator->loadTranslations($translations);
|
$translator->loadTranslations($translations);
|
||||||
$translator->register();
|
$translator->register();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user