From 094124480988d8f8b8da451fff6f467295700b2f Mon Sep 17 00:00:00 2001 From: Bozana Bokan Date: Tue, 29 Oct 2024 13:39:44 +0100 Subject: [PATCH] use getIso1FromLocale, us weblate locales for ui --- GoogleScholarPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GoogleScholarPlugin.php b/GoogleScholarPlugin.php index 344c497..aa14d47 100644 --- a/GoogleScholarPlugin.php +++ b/GoogleScholarPlugin.php @@ -180,7 +180,7 @@ public function submissionView($hookName, $args) 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 +189,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++, ''); } } }