diff --git a/GoogleScholarPlugin.php b/GoogleScholarPlugin.php
index 344c497..b4e1629 100644
--- a/GoogleScholarPlugin.php
+++ b/GoogleScholarPlugin.php
@@ -24,6 +24,7 @@
use PKP\citation\CitationDAO;
use PKP\core\PKPApplication;
use PKP\db\DAORegistry;
+use PKP\i18n\LocaleConversion;
use PKP\plugins\GenericPlugin;
use PKP\plugins\Hook;
@@ -123,7 +124,7 @@ public function submissionView($hookName, $args)
// Submission title
$templateMgr->addHeader('googleScholarTitle', '');
- $templateMgr->addHeader('googleScholarLanguage', '');
+ $templateMgr->addHeader('googleScholarLanguage', '');
// Submission publish date and issue information
if ($applicationName == 'ojs2') {
@@ -173,14 +174,14 @@ public function submissionView($hookName, $args)
// Abstract
if ($abstract = $publication->getLocalizedData('abstract', $publicationLocale)) {
- $templateMgr->addHeader('googleScholarAbstract', '');
+ $templateMgr->addHeader('googleScholarAbstract', '');
}
// Subjects
if ($subjects = $publication->getData('subjects')) {
foreach ($subjects as $locale => $localeSubjects) {
foreach ($localeSubjects as $i => $subject) {
- $templateMgr->addHeader('googleScholarSubject' . $i++, '');
+ $templateMgr->addHeader('googleScholarSubject' . $i++, '');
}
}
}
@@ -189,7 +190,7 @@ public function submissionView($hookName, $args)
if ($keywords = $publication->getData('keywords')) {
foreach ($keywords as $locale => $localeKeywords) {
foreach ($localeKeywords as $i => $keyword) {
- $templateMgr->addHeader('googleScholarKeyword' . $i++, '');
+ $templateMgr->addHeader('googleScholarKeyword' . $i++, '');
}
}
}
diff --git a/locale/fr_FR/locale.po b/locale/fr/locale.po
similarity index 100%
rename from locale/fr_FR/locale.po
rename to locale/fr/locale.po
diff --git a/locale/nb/locale.po b/locale/nb_NO/locale.po
similarity index 100%
rename from locale/nb/locale.po
rename to locale/nb_NO/locale.po