From b2f244c6bdbe39690f1e65383e675cf3f5b7081e Mon Sep 17 00:00:00 2001 From: Alec Smecher Date: Tue, 28 May 2019 16:01:25 -0700 Subject: [PATCH] pkp/pkp-lib#4779 Move to using XLIFF files for translation (work in progress) --- classes/i18n/AppLocale.inc.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/classes/i18n/AppLocale.inc.php b/classes/i18n/AppLocale.inc.php index 410a4235907..688459470a9 100644 --- a/classes/i18n/AppLocale.inc.php +++ b/classes/i18n/AppLocale.inc.php @@ -173,14 +173,14 @@ static function getPrimaryLocale() { static function makeComponentMap($locale) { $baseDir = "locale/$locale/"; return parent::makeComponentMap($locale) + array( - LOCALE_COMPONENT_APP_COMMON => $baseDir . 'locale.xml', - LOCALE_COMPONENT_APP_AUTHOR => $baseDir . 'author.xml', - LOCALE_COMPONENT_APP_SUBMISSION => $baseDir . 'submission.xml', - LOCALE_COMPONENT_APP_EDITOR => $baseDir . 'editor.xml', - LOCALE_COMPONENT_APP_MANAGER => $baseDir . 'manager.xml', - LOCALE_COMPONENT_APP_ADMIN => $baseDir . 'admin.xml', - LOCALE_COMPONENT_APP_DEFAULT => $baseDir . 'default.xml', - LOCALE_COMPONENT_APP_API => $baseDir . 'api.xml', + LOCALE_COMPONENT_APP_COMMON => $baseDir . 'locale.xliff', + LOCALE_COMPONENT_APP_AUTHOR => $baseDir . 'author.xliff', + LOCALE_COMPONENT_APP_SUBMISSION => $baseDir . 'submission.xliff', + LOCALE_COMPONENT_APP_EDITOR => $baseDir . 'editor.xliff', + LOCALE_COMPONENT_APP_MANAGER => $baseDir . 'manager.xliff', + LOCALE_COMPONENT_APP_ADMIN => $baseDir . 'admin.xliff', + LOCALE_COMPONENT_APP_DEFAULT => $baseDir . 'default.xliff', + LOCALE_COMPONENT_APP_API => $baseDir . 'api.xliff', ); } }