Skip to content

Commit

Permalink
Localizable placeholders for contracting authority's forms. Partially…
Browse files Browse the repository at this point in the history
… addresses #59
  • Loading branch information
jindrichmynarz committed Sep 8, 2014
1 parent 0b9ad18 commit 3fcf7e2
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ createevent.eventtype.help=<strong>Request for Quotation</strong><br/>Used for w
createevent.help=On this screen, you can create a contract. Enter a title for the contract and at least one CPV code describing the object of the contract. You don't need to know the exact code, just start typing either the CPV code or its label and let autocomplete help you. When you select the contract type, you will be asked to enter more information depending on its type. Mandatory fields have a red asterisk next to them.
createevent.idproject.description=Identify your project
createevent.locationrealization=Location of contract realization
createevent.locationrealization.example=For example: Prague
createevent.predictprice.label=Predict price
createevent.predictprice.prediction=Prediction
createevent.predictprice.servererror=Prediction service is not responding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ createevent.eventtype.help=<strong>Žádost o cenovou nabídku</strong><br/>Už
createevent.help=Zde můžete vytvořit zakázku. Zadejte název zakázky a alespoň jeden CPV kód popisující předmět zakázky. Není nutné znát přesný kód, stačí začít psát buď kód nebo slovní označení a kód bude automaticky doplněn. Po zadání typu zakázky budete vyzváni k doplnění dalších informací v závislosti na zvoleném typu. Povinná pole jsou označena červenou hvězdičkou.
createevent.idproject.description=Identifikujte svůj projekt
createevent.locationrealization=Místo realizace zakázky
createevent.locationrealization.example=Například: Praha
createevent.predictprice.label=Predikuj cenu
createevent.predictprice.prediction=Predikce
createevent.predictprice.servererror=Služba pro predikci ceny neodpovídá.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ expectedcompletiondate=Expected completion date
february=February
februaryshort=Feb
first=First
forexample=For example:
goback=Go back
identifier=Identifier
invitationtotender=Invitation to Tender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ eventtype=Typ zakázky
expectedcompletiondate=Datum očekávaného dokončení
february=února
first=První
forexample=Např.
goback=Zpátky
identifier=Identifikátor
invitationtotender=Nabídkové řízení
Expand Down
14 changes: 8 additions & 6 deletions src/main/webapp/buyer-copy-event.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<fmt:message key="location" bundle="${cons}" />
</label>
<div class="controls">
<input required name="location" type="text" id="inputLocation" placeholder="Ex: Prague or FCA Prague">
<input required name="location" type="text" id="inputLocation" placeholder="<fmt:message key="createevent.locationrealization.example" />">
</div>
</div>
<div class="control-group">
Expand All @@ -188,28 +188,30 @@
<h5><fmt:message key="createevent.evaluationcriteria" /></h5>
<label class="control-label" for="inputECPrice"><fmt:message key="price" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="Ex: 70">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 70">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECTech"><fmt:message key="technicalspecification" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="Ex: 20">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 20">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECDate"><fmt:message key="deliverydate" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="Ex: 10">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 10">
<span class="add-on"> %</span>
</div>
</div>
</div>
<!--<div class="control-group">
<%--
<div class="control-group">
<label class="control-label"><a href="#" class="btn btn-mini">add criterion</a></label>
</div>-->
</div>
--%>
<hr>

<div class="control-group">
Expand Down
8 changes: 4 additions & 4 deletions src/main/webapp/buyer-create-event.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<fmt:message key="location" bundle="${cons}" />
</label>
<div class="controls">
<input required name="location" type="text" id="inputLocation" placeholder="Ex: Prague or FCA Prague">
<input required name="location" type="text" id="inputLocation" placeholder="<fmt:message key="createevent.locationrealization.example" />">
</div>
</div>
<div class="control-group">
Expand All @@ -210,21 +210,21 @@
<h5><fmt:message key="createevent.evaluationcriteria" /></h5>
<label class="control-label" for="inputECPrice"><fmt:message key="price" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="Ex: 70">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 70">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECTech"><fmt:message key="technicalspecification" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="Ex: 20">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 20">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECDate"><fmt:message key="deliverydate" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="Ex: 10">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 10">
<span class="add-on"> %</span>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/main/webapp/buyer-edit-event.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<fmt:message key="location" bundle="${cons}" />
</label>
<div class="controls">
<input required name="location" type="text" id="inputLocation" placeholder="Ex: Prague or FCA Prague">
<input required name="location" type="text" id="inputLocation" placeholder="<fmt:message key="createevent.locationrealization.example" />">
</div>
</div>
<div class="control-group">
Expand All @@ -204,21 +204,21 @@
<h5><fmt:message key="createevent.evaluationcriteria" /></h5>
<label class="control-label" for="inputECPrice"><fmt:message key="price" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="Ex: 70">
<input name="evalPrice" type="number" max="100" id="inputECPrice" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 70">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECTech"><fmt:message key="technicalspecification" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="Ex: 20">
<input name="evalTech" type="number" max="100" id="inputECTech" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 20">
<span class="add-on"> %</span>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputECDate"><fmt:message key="deliverydate" bundle="${cons}" /></label>&nbsp;&nbsp;&nbsp;
<div class="input-append">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="Ex: 10">
<input name="evalDate" type="number" max="100" id="inputECDate" value="" placeholder="<fmt:message key="forexample" bundle="${cons}" /> 10">
<span class="add-on"> %</span>
</div>
</div>
Expand Down

0 comments on commit 3fcf7e2

Please sign in to comment.