Skip to content

Commit

Permalink
pkp/pkp-lib#4779 Move to using XLIFF files for translation (work in p…
Browse files Browse the repository at this point in the history
…rogress)
  • Loading branch information
asmecher committed May 28, 2019
1 parent 3468b7f commit b2f244c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions classes/i18n/AppLocale.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
}
}
Expand Down

0 comments on commit b2f244c

Please sign in to comment.