From 0b9ad180084201ffd2943eeae9676b761242789f Mon Sep 17 00:00:00 2001 From: Jindrich Mynarz Date: Mon, 8 Sep 2014 15:21:57 +0200 Subject: [PATCH] Entity not found localization. Partially addresses #59 --- .../cz/opendata/tenderstats/i18n/buyer.properties | 1 + .../opendata/tenderstats/i18n/buyer_cs.properties | 1 + src/main/webapp/entity-buyer.jsp | 6 +++--- src/main/webapp/entity-supplier.jsp | 15 +++++---------- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/main/resources/cz/opendata/tenderstats/i18n/buyer.properties b/src/main/resources/cz/opendata/tenderstats/i18n/buyer.properties index a0e4f1a..19845ba 100644 --- a/src/main/resources/cz/opendata/tenderstats/i18n/buyer.properties +++ b/src/main/resources/cz/opendata/tenderstats/i18n/buyer.properties @@ -61,6 +61,7 @@ dashboard.activities.withdrawn=You withdrew from dashboard.help=On this screen, you can see your recent activities. editevent.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. editevent.title=Edit contract +entity.notfound=Entity not found finalize.satisfied=Have you been satisfied with the supplier? finalize.title=Finalize contract menu.calls.cancelled=Cancelled calls diff --git a/src/main/resources/cz/opendata/tenderstats/i18n/buyer_cs.properties b/src/main/resources/cz/opendata/tenderstats/i18n/buyer_cs.properties index a1c6b04..391388b 100644 --- a/src/main/resources/cz/opendata/tenderstats/i18n/buyer_cs.properties +++ b/src/main/resources/cz/opendata/tenderstats/i18n/buyer_cs.properties @@ -61,6 +61,7 @@ dashboard.activities.withdrawn=Stáhnuli jste z dashboard.help=Zde vidíte své nejnovější aktivity. editevent.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. editevent.title=Upravit zakázku +entity.notfound=Zadavatel nebyl nalezen finalize.satisfied=Byli jste spokojeni s dodavatelem? finalize.title=Dokončit zakázku menu.calls.cancelled=Zrušené výzvy diff --git a/src/main/webapp/entity-buyer.jsp b/src/main/webapp/entity-buyer.jsp index 023914b..fc9c190 100644 --- a/src/main/webapp/entity-buyer.jsp +++ b/src/main/webapp/entity-buyer.jsp @@ -4,6 +4,7 @@ <%@include file="WEB-INF/jspf/header.jspf" %> + @@ -41,7 +42,7 @@ else { $('#message').addClass('alert-error'); - $('#message').append("Entity not found").fadeIn('slow'); + $('#message').append("").fadeIn('slow'); } } ); @@ -67,11 +68,10 @@ } }); } - - \ No newline at end of file + diff --git a/src/main/webapp/entity-supplier.jsp b/src/main/webapp/entity-supplier.jsp index c246afb..db650ac 100644 --- a/src/main/webapp/entity-supplier.jsp +++ b/src/main/webapp/entity-supplier.jsp @@ -4,6 +4,7 @@ <%@include file="WEB-INF/jspf/header.jspf" %> + @@ -45,17 +46,14 @@
- @@ -70,7 +68,6 @@