Skip to content

Commit 73abd10

Browse files
committed
Better hints in placeholders.
1 parent 84332a0 commit 73abd10

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

src/main/webapp/WEB-INF/i18n/messages.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ field.privileges=Privileges
116116
field.productCode=Product code/EAN
117117
field.reference=Reference
118118
field.referenceText=Reference text
119+
field.referenceTextLong=e.g. "pp 4-6ff"
119120
field.roleOfNode=Role
121+
field.roleOfNodeLong=Role of node in source
120122
field.relation=Relation
121123
field.relationType=Relation type
122124
field.role=Role

src/main/webapp/WEB-INF/i18n/messages_de.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ field.privileges=Rechte
116116
field.productCode=EAN/ISBN
117117
field.reference=Referenz
118118
field.referenceText=Seiten/Text
119+
field.referenceTextLong=z.B. "S. 4-6ff"
119120
field.roleOfNode=Rolle
121+
field.roleOfNodeLong=Rolle in der Quelle
120122
field.relation=Verkn\u00FCpfung
121123
field.relationType=Verkn\u00FCpfungstyp
122124
field.role=Rolle

src/main/webapp/WEB-INF/i18n/messages_ro.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ field.description=Descriere
9393
# field.productCode=Product code/EAN
9494
# field.reference=Reference
9595
# field.referenceText=Reference text
96+
# field.referenceTextLong=e.g. "pp 4-6ff"
9697
# field.roleOfNode=Role
98+
# field.roleOfNodeLong=Role of node in source
9799
# field.relation=Relation
98100
# field.relationType=Relation type
99101
# field.select_pictogram=Select Pictogram

src/main/webapp/WEB-INF/templates/source_reference/by_reference.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ <h4 th:text="#{add.sourceReference}">Add source reference</h4>
7878
<div class="form-group">
7979
<label class="col-sm-2 control-label" th:for="${'referenceText-' + uid}"><span th:text="#{field.referenceText}"></span></label>
8080
<div class="col-sm-10">
81-
<input type="text" th:id="${'referenceText-' + uid}" name="referenceText" class="form-control" th:placeholder="#{field.referenceText}" />
81+
<input type="text" th:id="${'referenceText-' + uid}" name="referenceText" class="form-control" th:placeholder="#{field.referenceTextLong}" />
8282
<span class="help-block"></span>
8383
</div>
8484
</div>
8585

8686
<div class="form-group">
8787
<label class="col-sm-2 control-label" th:for="${'roleOfNode-' + uid}"><span th:text="#{field.roleOfNode}"></span></label>
8888
<div class="col-sm-10">
89-
<input type="text" th:id="${'roleOfNode-' + uid}" name="roleOfNode" class="form-control" th:placeholder="#{field.roleOfNode}" />
89+
<input type="text" th:id="${'roleOfNode-' + uid}" name="roleOfNode" class="form-control" th:placeholder="#{field.roleOfNodeLong}" />
9090
<span class="help-block"></span>
9191
</div>
9292
</div>

src/main/webapp/WEB-INF/templates/source_reference/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@
3333
<div class="form-group">
3434
<label class="col-sm-2 control-label" th:for="${'referenceText-' + uid}"><span th:text="#{field.referenceText}"></span></label>
3535
<div class="col-sm-10">
36-
<input type="text" th:id="${'referenceText-' + uid}" name="referenceText" class="form-control" th:placeholder="#{field.referenceText}" th:value="${entity.referenceText}" />
36+
<input type="text" th:id="${'referenceText-' + uid}" name="referenceText" class="form-control" th:placeholder="#{field.referenceTextLong}" th:value="${entity.referenceText}" />
3737
<span class="help-block"></span>
3838
</div>
3939
</div>
4040

4141
<div class="form-group">
4242
<label class="col-sm-2 control-label" th:for="${'roleOfNode-' + uid}"><span th:text="#{field.roleOfNode}"></span></label>
4343
<div class="col-sm-10">
44-
<input type="text" th:id="${'roleOfNode-' + uid}" name="roleOfNode" class="form-control" th:placeholder="#{field.roleOfNode}" th:value="${entity.roleOfNode}" />
44+
<input type="text" th:id="${'roleOfNode-' + uid}" name="roleOfNode" class="form-control" th:placeholder="#{field.roleOfNodeLong}" th:value="${entity.roleOfNode}" />
4545
<span class="help-block"></span>
4646
</div>
4747
</div>

0 commit comments

Comments
 (0)