Move translations

This commit is contained in:
Trevor Slocum 2020-09-05 09:56:45 -07:00
parent 520db4f331
commit a458945ab5
26 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ if (TINYIB_LOCALE == '') {
}
} else {
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->loadTranslations($translations);
$translator->register();