Skip to content

Commit

Permalink
Erstellt vor BTS3, sprechender
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerning committed Oct 10, 2023
1 parent 9c59bdd commit 5ff38da
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/main/resources/i18n/messages_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ lemma_type_numeral=Zahl
lemma_type_particle=Partikel
lemma_type_preposition=Präposition
lemma_type_pronoun=Pronomen
lemma_type_punctuation=Interpunktion
lemma_type_root=Wurzel
lemma_type_epitheton_title=Titel / Epitheton
lemma_type_verb=Verb
Expand Down Expand Up @@ -267,6 +268,7 @@ review_state_published-awaiting-verification=Verifizierung steht aus
artificially_aligned=Hieroglyphen künstlich angeordnet

state_of=Stand
created_before_BTS3=vor Mitte 2015 (BTS 1/2)

property_pid=Persistente ID
property_url=Persistente URL
Expand Down Expand Up @@ -475,6 +477,7 @@ field_value_label_wordClass_type_numeral=Zahlen
field_value_label_wordClass_type_particle=Partikeln
field_value_label_wordClass_type_preposition=Präpositionen
field_value_label_wordClass_type_pronoun=Pronomina
field_value_label_wordClass_type_punctuation=Interpunktionszeichen
field_value_label_wordClass_type_root=Wurzeln
field_value_label_wordClass_type_substantive=Substantive
field_value_label_wordClass_type_undefined=(nicht definiert)
Expand Down Expand Up @@ -586,7 +589,7 @@ button_label_hideTextsentences_property_switchannotation-wordtokenid=Satzelement
button_label_hideTextsentences_property_translation=Übersetzung
sentence_main_editor=Autor:innen
sentence_contributors=unter Mitarbeit von
sentence_created=Textdatensatz erstellt am
sentence_created=Textdatensatz erstellt
sentence_latest_access=letzte Änderung
sentence_date=Datierung
sentence_variants1=Eine von
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ lemma_type_numeral=numeral
lemma_type_particle=particle
lemma_type_preposition=preposition
lemma_type_pronoun=pronoun
lemma_type_punctuation=punctuation
lemma_type_root=root
lemma_type_epitheton_title=title / epithet
lemma_type_verb=verb
Expand Down Expand Up @@ -267,6 +268,7 @@ review_state_published-awaiting-verification=Verification pending
artificially_aligned=Glyphs artificially arranged

state_of=State of
created_before_BTS3=before mid 2015 (BTS 1/2)

property_pid=Persistent ID
property_url=Persistent URL
Expand Down Expand Up @@ -475,6 +477,7 @@ field_value_label_wordClass_type_numeral=Numerals
field_value_label_wordClass_type_particle=Particles
field_value_label_wordClass_type_preposition=Prepositions
field_value_label_wordClass_type_pronoun=Pronouns
field_value_label_wordClass_type_punctuation=Punctuation marks
field_value_label_wordClass_type_root=Roots
field_value_label_wordClass_type_substantive=Common nouns
field_value_label_wordClass_type_undefined=(undefined)
Expand Down Expand Up @@ -588,7 +591,7 @@ button_label_hideTextsentences_property_switchannotation-wordtokenid=Sentence to
button_label_hideTextsentences_property_translation=Translation
sentence_main_editor=Author(s)
sentence_contributors=with contributions by
sentence_created=Text data file created
sentence_created=Text file created
sentence_latest_access=latest changes
sentence_date=Dating (time frame)
sentence_variants1=One of
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/fragments/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ <h5 class="modal-title" id="exampleModalLongTitle" th:text="#{modal_share_title}
<span th:each="contributor, nr : *{getEdited.contributors}" th:utext="${nr.first} ? ${contributor} : ', ' + ${contributor}"/>
</span>
<!-- fehlt hier: <span th:text="#{|review_state_${obj.reviewState}|}">status</span>-->
(<span th:text="#{sentence_created}"/>: <span th:utext="${(obj.edited.wasCreatedBeforeBTS3()?'< ':'')+#calendars.format(obj.edited.created, formatter)}"/>,
<span th:text="#{sentence_latest_access}"/>: <span th:utext="${#calendars.format(obj.edited.updated, formatter)}" />)
(<span th:text="#{sentence_created}"/>: <span th:text="${obj.edited.wasCreatedBeforeBTS3()} ? #{created_before_BTS3} : ${#calendars.format(obj.edited.created, formatter)}"/>,
<span th:text="#{sentence_latest_access}"/>: <span th:text="${#calendars.format(obj.edited.updated, formatter)}" />)
</span>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/fragments/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ <h2 class="id ml-3 mt-sm-1">
<span th:text="${annotation.edited.author}">author</span>,
</th:block>
<span class="details-property-label" th:text="#{object_property_editors_created}">File created</span>:
<span th:text="${(annotation.edited.wasCreatedBeforeBTS3()?'< ':'')+#calendars.format(annotation.edited.created, formatter)}">xx.xx.20xx</span>,
<span th:text="${annotation.edited.wasCreatedBeforeBTS3()} ? #{created_before_BTS3} : ${#calendars.format(annotation.edited.created, formatter)}">xx.xx.20xx</span>,
<span class="details-property-label" th:text="#{object_property_editors_updated}">latest revision</span>:
<span th:text="${#calendars.format(annotation.edited.updated, formatter)}">xx.xx.20xx</span>
</p>
Expand All @@ -657,7 +657,7 @@ <h2 class="id ml-3 mt-sm-1">
</div>
<div class="updated" th:with="formatter=#{date_formatter}">
<strong class="details-property-label" th:text="#{object_property_editors_created}">File created</strong>:
<span th:text="${(obj.edited.wasCreatedBeforeBTS3()?'< ':'')+#calendars.format(obj.edited.created, formatter)}">xx.xx.20xx</span>,
<span th:text="${obj.edited.wasCreatedBeforeBTS3()} ? #{created_before_BTS3} : ${#calendars.format(obj.edited.created, formatter)}">xx.xx.20xx</span>,
<strong class="details-property-label" th:text="#{object_property_editors_updated}">latest revision</strong>:
<span th:text="${#calendars.format(obj.edited.updated, formatter)}">xx.xx.20xx</span>
</div>
Expand Down

0 comments on commit 5ff38da

Please sign in to comment.