Skip to content

Commit e432f1c

Browse files
committed
add placeholder and improve i18n
1 parent c1bdc03 commit e432f1c

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

mir-module/src/main/resources/META-INF/resources/editor/editor-includes.xed

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,10 @@
683683
</label>
684684
<div class="col-md-6">
685685
<xed:bind xpath=".">
686-
<input class="form-control mir-affiliation" type="text" autocomplete="off" />
686+
<input
687+
class="form-control mir-affiliation"
688+
type="text" autocomplete="off"
689+
placeholder="{i18n:mir.affiliation.help}" />
687690
</xed:bind>
688691
<xed:bind xpath="@valueURI">
689692
<input class="mir-affiliation-id" type="hidden" />

mir-module/src/main/resources/config/mir/messages_de.properties

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ mir.actions.norights =
134134
mir.add.more.text.placeholder = F\u00FCr die Suche ist mindestens ein Zeichen erforderlich
135135
mir.admineditor = Bearbeiten im Admin-Editor
136136
mir.affiliation = Zugeh\u00F6rigkeit
137-
mir.affiliation.ror = Zugeh\u00F6rigkeit (ROR ID)
138-
mir.affiliation.with.ror.id.label = Zugeh\u00F6rigkeit (ROR)
139-
mir.affiliation.with.ror.id.placeholder = Geben Sie die ROR ID oder den Institutionsnamen an
137+
mir.affiliation.placeholder = Zugeh\u00F6rigkeit eingeben oder suchen
140138
mir.articlenumber = Artikelnummer:
141139
mir.articlenumber.short = Art.-Nr.:
142140
mir.backToTop.label = Nach oben
@@ -388,9 +386,7 @@ mir.help.abstract.aslink =
388386
mir.help.abstract.language = Geben Sie die Sprache an, in der das hier ver\u00F6ffentlichte Abstract verfasst ist. Bei Zusammenfassungen in verschiedenen Sprachen k\u00F6nnen Sie diese mit dem \u201E+\u201C-Button wiederholen.
389387
mir.help.abstract.ortext = Eine kurze Zusammenfassung des Dokumentinhalts.
390388
mir.help.access = Geben Sie hier an, wer auf die angehangenen Dokumente zugreifen darf.
391-
mir.help.affiliation = Organisation bzw. Institution der betreffenden Person.
392-
mir.help.affiliation.ror = <a href="https://ror.org/">ROR ID</a> der Organisation bzw. Institution der betreffenden Person.
393-
mir.help.affiliation.with.ror.id = Bitte suchen und w\u00E4hlen Sie Ihre Zugeh\u00F6rigkeit aus. Sie k\u00F6nnen Ihre Zugeh\u00F6rigkeit auch \u00FCber die ROR-ID finden.
389+
mir.help.affiliation = Geben Sie die institutionelle Zugeh\u00F6rigkeit ein oder suchen Sie nach einer ROR-registrierten Institution.
394390
mir.help.articlenumber = Die Nummer eines Artikels, der in einer Online-Zeitschrift oder auf einer Publikationsplattform erschienen ist.
395391
mir.help.artist.photographer = K\u00FCnstler des Werkes oder Fotograf des Bildes.
396392
mir.help.author.interviewee = Eine Person, Familie oder Organisation, die f\u00FCr die Erstellung oder den Beitrag zu einer Ressource verantwortlich ist, indem sie auf einen Interviewer, in der Regel einen Reporter, Meinungsforscher oder \u00E4hnlichen, reagiert.

mir-module/src/main/resources/config/mir/messages_en.properties

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ mir.actions.norights =
131131
mir.add.more.text.placeholder = At least one character is required to search
132132
mir.admineditor = Edit in admin editor
133133
mir.affiliation = Affiliation
134-
mir.affiliation.ror = Affiliation (ROR ID)
135-
mir.affiliation.with.ror.id.label = Affiliation with the ROR ID
136-
mir.affiliation.with.ror.id.placeholder = Enter the ROR ID or institution name
134+
mir.affiliation.placeholder = Enter or search affiliation
137135
mir.articlenumber = Article number:
138136
mir.articlenumber.short = Art.-No.:
139137
mir.backToTop.label = back to top
@@ -375,9 +373,7 @@ mir.help.abstract =
375373
mir.help.abstract.aslink = Weblink to abstract.
376374
mir.help.abstract.ortext = A short summary of the document content.
377375
mir.help.access = Specify who should be able to access the dataset after publication. The metadata will be public in any case.
378-
mir.help.affiliation = Organisation/Affiliation of the Person.
379-
mir.help.affiliation.ror = <a href="https://ror.org/">ROR ID</a> of the Organisation/Affiliation of the Person.
380-
mir.help.affiliation.with.ror.id = The organisation/affiliation of the Person with the <a href="https://ror.org/" target="_blank" rel="noopener noreferrer">ROR ID</a>.
376+
mir.help.affiliation = Enter the institutional affiliation or search for a ROR-registered institution.
381377
mir.help.articlenumber = The number of an article published in an online journal or publication platform.
382378
mir.help.artist.photographer = Creator of the Picture/Image.
383379
mir.help.author.interviewee = A person, family or organization responsible for creating or contributing to a resource by responding to an interviewer, usually a reporter, pollster, or some other information gathering agent.

mir-module/src/main/resources/config/mir/messages_it.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ component.mods.metaData.options.MD5.show = Mostra somme MD5
55
editor.search.mir.openAccess = accesso libero
66
metadata.versionInfo.inProgress = Cronologia non ancora disponibile
77
mir.add.more.text.placeholder = Per la ricerca è richiesto almeno un carattere
8-
mir.affiliation.with.ror.id.label = Affiliazione con l'ID ROR
9-
mir.affiliation.with.ror.id.placeholder = Inserisci l'ID ROR o il nome dell'istituto
8+
mir.affiliation = Affiliazione
9+
mir.affiliation.placeholder = Inserire o cercare affiliazione
1010
mir.backToTop.label = Torna su
1111
mir.derivate.file.MD5 = somma MD5:
1212
mir.dropdown.all = Tutto
@@ -18,6 +18,7 @@ mir.dropdown.nameIdentifier = Mome identifikator
1818
mir.dropdown.title = Titolo
1919
mir.help.abstract = Un breve riassunto/abstract del contenuto del documento.
2020
mir.help.abstract.ortext = Un breve riassunto/abstract del contenuto del documento in diverse lingue.
21+
mir.help.affiliation = Inserire l'affiliazione istituzionale o cercare un'istituzione registrata in ROR.
2122
mir.help.comment = Qui si possono facoltativamente lasciare commenti sul documento.
2223
mir.help.conference = Inserire il titolo del convegno.
2324
mir.help.date.accepted = Data della discussione (accettazione del lavoro). La data deve essere indicata in formato ISO e tramite l\u2019uso di\r\ntrattini YYYY-MM-DD, YYYY-MM o YYYY.\r\n<br />\r\nAd esempio: 2003-01-27 o 2010 o 2009-01

0 commit comments

Comments
 (0)