diff --git a/classes/decision/Repository.php b/classes/decision/Repository.php index f811aad4c22..767f7c9a479 100644 --- a/classes/decision/Repository.php +++ b/classes/decision/Repository.php @@ -2,8 +2,8 @@ /** * @file classes/decision/Repository.php * - * Copyright (c) 2014-2022 Simon Fraser University - * Copyright (c) 2000-2022 John Willinsky + * Copyright (c) 2014-2024 Simon Fraser University + * Copyright (c) 2000-2024 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class Repository @@ -237,6 +237,7 @@ public function add(Decision $decision): int ? PKPSubmissionEventLogEntry::SUBMISSION_LOG_EDITOR_RECOMMENDATION : PKPSubmissionEventLogEntry::SUBMISSION_LOG_EDITOR_DECISION, 'userId' => Validation::loggedInAs() ?? $this->request->getUser()?->getId(), + 'editorName' => $editor->getFullName(), 'message' => $decisionType->getLog(), 'isTranslated' => false, 'dateLogged' => Core::getCurrentDate() @@ -378,7 +379,7 @@ abstract public function getDecisionTypes(): Collection; abstract public function getDeclineDecisionTypes(): array; /** - * Get a list of the decision types that a recommending user is + * Get a list of the decision types that a recommending user is * allowed to make given a submission stage id. * * @return DecisionType[] diff --git a/locale/ar/submission.po b/locale/ar/submission.po index d8f87b0a71d..019a23909aa 100644 --- a/locale/ar/submission.po +++ b/locale/ar/submission.po @@ -1976,7 +1976,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"المحرر {$userName} قد أكد إجراء الجولة {$round} لتحكيم طلب التقديم " +"المحرر {$editorName} قد أكد إجراء الجولة {$round} لتحكيم طلب التقديم " "{$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/az/submission.po b/locale/az/submission.po index 5f12bab1250..6816b17ee4e 100644 --- a/locale/az/submission.po +++ b/locale/az/submission.po @@ -2101,7 +2101,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"{$userName} adlı redaktor {$submissionId} nömrəli üçün {$round}. tur " +"{$editorName} adlı redaktor {$submissionId} nömrəli üçün {$round}. tur " "incələməsi üçün bir dəyərləndirmə təsdiqləndi için bir değerlendirme " "doğruladı." diff --git a/locale/bg/submission.po b/locale/bg/submission.po index d97c677d9ca..7786d3855c3 100644 --- a/locale/bg/submission.po +++ b/locale/bg/submission.po @@ -2065,7 +2065,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Радакторът {$userName} потвърди рецензията за кръг (етап) {$round} за " +"Радакторът {$editorName} потвърди рецензията за кръг (етап) {$round} за " "подадените материали {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/ca/submission.po b/locale/ca/submission.po index b6bd9523a6b..c36f8ad7008 100644 --- a/locale/ca/submission.po +++ b/locale/ca/submission.po @@ -2025,7 +2025,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"L'editor/a {$userName} ha confirmat una revisió per a la ronda {$round} de " +"L'editor/a {$editorName} ha confirmat una revisió per a la ronda {$round} de " "revisió de la tramesa {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/cs/submission.po b/locale/cs/submission.po index 8c18953b39f..87313f96a82 100644 --- a/locale/cs/submission.po +++ b/locale/cs/submission.po @@ -2026,7 +2026,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Editor {$userName} potvrdil recenzi pro {$round}. recenzní kolo příspěvku " +"Editor {$editorName} potvrdil recenzi pro {$round}. recenzní kolo příspěvku " "{$submitId}." msgid "log.review.reviewReady" diff --git a/locale/da/submission.po b/locale/da/submission.po index 51e5c18c392..76a930ef45e 100644 --- a/locale/da/submission.po +++ b/locale/da/submission.po @@ -2064,7 +2064,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Redaktør {$userName} har valideret runde {$round}-bedømmelsen i forbindelse " +"Redaktør {$editorName} har valideret runde {$round}-bedømmelsen i forbindelse " "med indsendelse {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/de/submission.po b/locale/de/submission.po index 2cbd597c3d6..8f3ba40a861 100644 --- a/locale/de/submission.po +++ b/locale/de/submission.po @@ -2115,7 +2115,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Redakteur/in {$userName} hat ein Gutachten aus Begutachtungsrunde {$round} " +"Redakteur/in {$editorName} hat ein Gutachten aus Begutachtungsrunde {$round} " "für die Einreichung {$submissionId} bestätigt." msgid "log.review.reviewReady" diff --git a/locale/en/submission.po b/locale/en/submission.po index 0fff9bf30bd..35d9343aa14 100644 --- a/locale/en/submission.po +++ b/locale/en/submission.po @@ -1813,7 +1813,7 @@ msgid "log.review.reviewerResendRequest" msgstr "Resent the request to review in round {$round} to {$reviewerName} for submission {$submissionid}." msgid "log.review.reviewConfirmed" -msgstr "Editor {$userName} has confirmed a review for the round {$round} review for submission {$submissionId}." +msgstr "Editor {$editorName} has confirmed a review for the round {$round} review for submission {$submissionId}." msgid "log.review.reviewReady" msgstr "{$reviewerName} has completed the review for the round {$round} review for submission {$submissionId}." diff --git a/locale/es/submission.po b/locale/es/submission.po index b85439a060f..fc6709601c2 100644 --- a/locale/es/submission.po +++ b/locale/es/submission.po @@ -2055,7 +2055,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"El editor/a {$userName} ha confirmado una revisión para la ronda de revisión " +"El editor/a {$editorName} ha confirmado una revisión para la ronda de revisión " "{$round} del envío {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/fi/submission.po b/locale/fi/submission.po index 41df663830d..45c0f836284 100644 --- a/locale/fi/submission.po +++ b/locale/fi/submission.po @@ -2060,7 +2060,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Toimittaja {$userName} on vahvistanut arvion käsikirjoitukselle " +"Toimittaja {$editorName} on vahvistanut arvion käsikirjoitukselle " "{$submissionId} kierroksella {$round}." msgid "log.review.reviewReady" diff --git a/locale/fr_CA/submission.po b/locale/fr_CA/submission.po index 597174ad484..0c874d15518 100644 --- a/locale/fr_CA/submission.po +++ b/locale/fr_CA/submission.po @@ -2137,7 +2137,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Le,la rédacteur-trice {$userName} a confirmé une évaluation pour le cycle " +"Le,la rédacteur-trice {$editorName} a confirmé une évaluation pour le cycle " "d'évaluation {$round} pour la soumission {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/fr_FR/submission.po b/locale/fr_FR/submission.po index 861b98a9bb5..65f21c9076f 100644 --- a/locale/fr_FR/submission.po +++ b/locale/fr_FR/submission.po @@ -2098,7 +2098,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Le rédacteur ou la rédactrice {$userName} a confirmé une évaluation pour le " +"Le rédacteur ou la rédactrice {$editorName} a confirmé une évaluation pour le " "cycle d'évaluation {$round} pour la soumission {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/gl/submission.po b/locale/gl/submission.po index 2c33ec1dc58..bc19cd83677 100644 --- a/locale/gl/submission.po +++ b/locale/gl/submission.po @@ -1911,7 +1911,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"O editor/a {$userName} confirmou unha revisión da rolda de revisión {$round} " +"O editor/a {$editorName} confirmou unha revisión da rolda de revisión {$round} " "do envío {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/hr/submission.po b/locale/hr/submission.po index 7414c7ca274..bab8f482945 100644 --- a/locale/hr/submission.po +++ b/locale/hr/submission.po @@ -2014,7 +2014,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Urednik {$userName} je potvrdio recenziju za rundu {$round} recenzije za " +"Urednik {$editorName} je potvrdio recenziju za rundu {$round} recenzije za " "predaju {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/hu/submission.po b/locale/hu/submission.po index 16d3bcafa1c..b2823d3e3ed 100644 --- a/locale/hu/submission.po +++ b/locale/hu/submission.po @@ -1967,7 +1967,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"{$userName} szerkesztőként megerősítette a(z) {$submissionId} beküldés " +"{$editorName} szerkesztőként megerősítette a(z) {$submissionId} beküldés " "szakmai lektorálását a {$round} számú lektorálási körben." msgid "log.review.reviewReady" diff --git a/locale/hy/submission.po b/locale/hy/submission.po index 170b6c44399..07c2560ddb1 100644 --- a/locale/hy/submission.po +++ b/locale/hy/submission.po @@ -2037,7 +2037,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"{$userName} -ի խմբագիրը հաստատել է {$submissionId} ներկայացման {$round} " +"{$editorName} -ի խմբագիրը հաստատել է {$submissionId} ներկայացման {$round} " "փուլի գրախոսությունը:" msgid "log.review.reviewReady" diff --git a/locale/id/submission.po b/locale/id/submission.po index ff770df0749..e27177fcc79 100644 --- a/locale/id/submission.po +++ b/locale/id/submission.po @@ -1905,7 +1905,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Editor {$userName} telah mengonfirmasi review untuk tahap {$round} review " +"Editor {$editorName} telah mengonfirmasi review untuk tahap {$round} review " "untuk naskah {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/is/submission.po b/locale/is/submission.po index d9b58bfaca5..a41d59e0a21 100644 --- a/locale/is/submission.po +++ b/locale/is/submission.po @@ -2018,7 +2018,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Ristjórinn {$userName} hefur staðfest ritrýni fyrir {$round} umferð " +"Ristjórinn {$editorName} hefur staðfest ritrýni fyrir {$round} umferð " "innsendingar {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/it/submission.po b/locale/it/submission.po index d837e112a0d..70dd0cc91dd 100644 --- a/locale/it/submission.po +++ b/locale/it/submission.po @@ -2048,7 +2048,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"L'Editor {$userName} ha confermato una revisione per il {$round} ciclo per " +"L'Editor {$editorName} ha confermato una revisione per il {$round} ciclo per " "il manoscritto {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/ka/submission.po b/locale/ka/submission.po index 962487aef91..1d69e8da2fd 100644 --- a/locale/ka/submission.po +++ b/locale/ka/submission.po @@ -1997,7 +1997,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"რედაქტორმა {$userName} დაადასტურა მიმოხილვა მიმოხილვაზე მრგვალი {$round} " +"რედაქტორმა {$editorName} დაადასტურა მიმოხილვა მიმოხილვაზე მრგვალი {$round} " "მიმოხილვა წარდგენისთვის {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/kk/submission.po b/locale/kk/submission.po index 7deb0d90e15..5fbe59570e4 100644 --- a/locale/kk/submission.po +++ b/locale/kk/submission.po @@ -1995,7 +1995,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"{$userName} редакторы \"{$submissionId}\" материалы үшін {$round} шолу " +"{$editorName} редакторы \"{$submissionId}\" материалы үшін {$round} шолу " "кезеңінде шолуды мақұлдады." msgid "log.review.reviewReady" diff --git a/locale/lv/submission.po b/locale/lv/submission.po index 4407817682c..db007938bfc 100644 --- a/locale/lv/submission.po +++ b/locale/lv/submission.po @@ -2252,7 +2252,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Redaktors {$userName} ir apstiprinājis iesniegtā materiāla {$submissionId} " +"Redaktors {$editorName} ir apstiprinājis iesniegtā materiāla {$submissionId} " "recenziju {$round}. kārtai." msgid "submission.review.status.awaitingResponse" diff --git a/locale/mk/submission.po b/locale/mk/submission.po index 82bf7be4aba..42f55d44660 100644 --- a/locale/mk/submission.po +++ b/locale/mk/submission.po @@ -2050,7 +2050,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Уредникот {$userName} потврди рецензија за {$round} рунда на рецензија за " +"Уредникот {$editorName} потврди рецензија за {$round} рунда на рецензија за " "поднесокот {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/ms/submission.po b/locale/ms/submission.po index a9c4e0a13ed..d47998acd6f 100644 --- a/locale/ms/submission.po +++ b/locale/ms/submission.po @@ -1916,7 +1916,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Editor {$userName} telah mengesahkan ulasan untuk ulasan pusingan {$round} " +"Editor {$editorName} telah mengesahkan ulasan untuk ulasan pusingan {$round} " "untuk penyerahan {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/nb/submission.po b/locale/nb/submission.po index df257316e3a..65a79442dff 100644 --- a/locale/nb/submission.po +++ b/locale/nb/submission.po @@ -1925,7 +1925,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Redaktøren {$userName} har validert en {$round} runde for innlevering " +"Redaktøren {$editorName} har validert en {$round} runde for innlevering " "{$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/pt_BR/submission.po b/locale/pt_BR/submission.po index b7a50744006..a60a773e671 100644 --- a/locale/pt_BR/submission.po +++ b/locale/pt_BR/submission.po @@ -2059,7 +2059,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Editor(a) {$userName} confirmou uma avaliação para a rodada {$round} de " +"Editor(a) {$editorName} confirmou uma avaliação para a rodada {$round} de " "avaliação para a submissão {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/pt_PT/submission.po b/locale/pt_PT/submission.po index d1369615e76..3674a479285 100644 --- a/locale/pt_PT/submission.po +++ b/locale/pt_PT/submission.po @@ -2042,7 +2042,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"O editor {$userName} confirmou uma revisão da ronda de revisão {$round} para " +"O editor {$editorName} confirmou uma revisão da ronda de revisão {$round} para " "a submissão {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/ro/submission.po b/locale/ro/submission.po index c8ae028538c..e1273a8ae91 100644 --- a/locale/ro/submission.po +++ b/locale/ro/submission.po @@ -1928,7 +1928,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Editorul {$userName} a confirmat o revizie pentru runda {$round} pentru " +"Editorul {$editorName} a confirmat o revizie pentru runda {$round} pentru " "manuscrisul {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/ru/submission.po b/locale/ru/submission.po index 92c4494713a..dc61f727e3c 100644 --- a/locale/ru/submission.po +++ b/locale/ru/submission.po @@ -2062,7 +2062,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Редактор {$userName} подтвердил рецензию на раунде {$round} рецензирования " +"Редактор {$editorName} подтвердил рецензию на раунде {$round} рецензирования " "для материала «{$submissionId}»." msgid "log.review.reviewReady" diff --git a/locale/sl/submission.po b/locale/sl/submission.po index 4699af1d106..66bcae255e0 100644 --- a/locale/sl/submission.po +++ b/locale/sl/submission.po @@ -2021,7 +2021,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"urednik {$userName} je potrdil recenzijski krog {$round} za prispevek " +"urednik {$editorName} je potrdil recenzijski krog {$round} za prispevek " "{$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/sv/submission.po b/locale/sv/submission.po index 7ad7335834c..6a662fa6fca 100644 --- a/locale/sv/submission.po +++ b/locale/sv/submission.po @@ -2025,7 +2025,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Redaktören {$userName} har bekräftat granskning av bidraget {$submissionId} " +"Redaktören {$editorName} har bekräftat granskning av bidraget {$submissionId} " "för granskningsomgång {$round}." msgid "log.review.reviewReady" diff --git a/locale/tr/submission.po b/locale/tr/submission.po index 0bca407e8c6..1e098dc1ed8 100644 --- a/locale/tr/submission.po +++ b/locale/tr/submission.po @@ -2016,7 +2016,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"{$userName} adlı editör {$submissionId} nuaralı için {$round}. tur " +"{$editorName} adlı editör {$submissionId} nuaralı için {$round}. tur " "incelemesi için bir değerlendirme doğruladı." msgid "log.review.reviewReady" diff --git a/locale/uk/submission.po b/locale/uk/submission.po index da793d789a8..ca0d6230cf7 100644 --- a/locale/uk/submission.po +++ b/locale/uk/submission.po @@ -2053,7 +2053,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Редактор {$userName} підтвердив рецензію для раунду {$round} рецензування " +"Редактор {$editorName} підтвердив рецензію для раунду {$round} рецензування " "для подання {$submissionId}." msgid "log.review.reviewReady" diff --git a/locale/vi/submission.po b/locale/vi/submission.po index de1be84a924..8a6132a0905 100644 --- a/locale/vi/submission.po +++ b/locale/vi/submission.po @@ -1899,7 +1899,7 @@ msgstr "" msgid "log.review.reviewConfirmed" msgstr "" -"Biên tập viên {$userName} đã xác nhận một đánh giá trong vòng phản biện " +"Biên tập viên {$editorName} đã xác nhận một đánh giá trong vòng phản biện " "{$round} của bài {$submitId}." msgid "log.review.reviewReady"