From a76f6166b59a9a8dfd4054a167b4bd332846f50b Mon Sep 17 00:00:00 2001 From: bolelligallevi <31961256+bolelligallevi@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:35:51 +0100 Subject: [PATCH 1/4] Add italian locale --- locale/it_IT/locale.po | 94 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 locale/it_IT/locale.po diff --git a/locale/it_IT/locale.po b/locale/it_IT/locale.po new file mode 100644 index 0000000..29b60ee --- /dev/null +++ b/locale/it_IT/locale.po @@ -0,0 +1,94 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Stefano Bolelli Gallevi \n" +"Language-Team: Italian Crossref.org." + +msgid "plugins.importexport.crossref.settings" +msgstr "Impostazioni" + +msgid "plugins.importexport.crossref.settings.form.password" +msgstr "Password" + +msgid "plugins.importexport.crossref.settings.form.password.description" +msgstr "Inserisci la password impostata per la username che hai ricevuto da Crossref anche se stai usando le api di test" + +msgid "plugins.importexport.crossref.settings.form.username" +msgstr "Crossref username" + +msgid "plugins.importexport.crossref.settings.form.usernameRequired" +msgstr "Inserisci la username che hai ricevuto da Crossref." + +msgid "plugins.importexport.crossref.settings.form.testMode.description" +msgstr "Usa l'API di test di CrossRef per la registrazione dei DOI. Non ti dimenticare di togliere questa opzione quando passi in produzione. " + +msgid "plugins.importexport.crossref.senderTask.name" +msgstr "Operazione di registrazione automatica con Crossref" + +msgid "plugins.importexport.crossref.register.error.mdsError" +msgstr "La registrazione non ha avuto successo! Il server di registrazione dei DOI ha restituito un errore." + +msgid "plugins.importexport.crossref.register.success" +msgstr "La registratione ha avuto successo!" + +msgid "plugins.importexport.crossref.chapterDoiCount" +msgstr "DOI dei capitoli" + +msgid "plugins.importexport.crossref.notice.noIsbn" +msgstr "Nota bene! Nessun ISBN disponibile. Lo scarico di Crossref selezionerà 'noisbn'." + +msgid "plugins.importexport.crossref.displayName" +msgstr "Crossref XML Plugin" + +msgid "plugins.importexport.crossref.monographsOrChapter" +msgstr "Monografie / Capitoli" + +msgid "plugins.importexport.crossref.cliUsage" +msgstr "" From e3edcf49663f15a5225a900dd003270e63d37de0 Mon Sep 17 00:00:00 2001 From: bolelligallevi <31961256+bolelligallevi@users.noreply.github.com> Date: Tue, 23 Jan 2024 15:42:37 +0100 Subject: [PATCH 2/4] Update english locale I filled in the label plugins.importexport.crossref.settings.form.password.description with the text below because if leaved empty OMP shows the label itself msgstr "Insert the password set for the username you got from Crossref even if you use the test api --- locale/en_US/locale.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/en_US/locale.po b/locale/en_US/locale.po index c19459b..8ecf40c 100644 --- a/locale/en_US/locale.po +++ b/locale/en_US/locale.po @@ -58,7 +58,7 @@ msgid "plugins.importexport.crossref.settings.form.password" msgstr "Password" msgid "plugins.importexport.crossref.settings.form.password.description" -msgstr "" +msgstr "Insert the password set for the username you got from Crossref even if you use the test api" msgid "plugins.importexport.crossref.settings.form.username" msgstr "Crossref username" From bb6dc6eb19a627dfe2a6c5baa865a2417230b89f Mon Sep 17 00:00:00 2001 From: bolelligallevi <31961256+bolelligallevi@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:12:04 +0100 Subject: [PATCH 3/4] Update english locale.po with missing label With no credentials in Settings tab the plugin show the label plugins.importexport.crossref.error.noUserCrecentials but it has no msg in the locale files --- locale/en_US/locale.po | 3 +++ 1 file changed, 3 insertions(+) diff --git a/locale/en_US/locale.po b/locale/en_US/locale.po index 8ecf40c..d23e74e 100644 --- a/locale/en_US/locale.po +++ b/locale/en_US/locale.po @@ -33,6 +33,9 @@ msgstr "Export" msgid "plugins.importexport.crossref.error" msgstr "Error" +msgid "plugins.importexport.crossref.error.noUserCrecentials" +msgstr "Error: no credentials in Settings tab" + msgid "plugins.importexport.crossref.queued" msgstr "To Deposit" From 9c4a272de692a04a0bb1418f2ebdfaf7be351fc7 Mon Sep 17 00:00:00 2001 From: bolelligallevi <31961256+bolelligallevi@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:12:56 +0100 Subject: [PATCH 4/4] Update italian locale.po with missing label --- locale/it_IT/locale.po | 3 +++ 1 file changed, 3 insertions(+) diff --git a/locale/it_IT/locale.po b/locale/it_IT/locale.po index 29b60ee..f16f738 100644 --- a/locale/it_IT/locale.po +++ b/locale/it_IT/locale.po @@ -33,6 +33,9 @@ msgstr "Scarica" msgid "plugins.importexport.crossref.error" msgstr "Errore" +msgid "plugins.importexport.crossref.error.noUserCrecentials" +msgstr "Errore: nel tab Impostazioni non sono state inserite credenziali" + msgid "plugins.importexport.crossref.queued" msgstr "Da registrare"