diff --git a/bookstore/src/main/resources/messages.properties b/bookstore/src/main/resources/messages.properties index 1cf7053..7f2ffb6 100644 --- a/bookstore/src/main/resources/messages.properties +++ b/bookstore/src/main/resources/messages.properties @@ -3,76 +3,88 @@ # Message keys with values. # Prepare environment for possible multi-language support -typeMismatch.book.year = Invalid year format -typeMismatch.book.price = Invalid price format - -book.author = Author -book.title = Title -book.isbn = ISBN -book.year = Year -book.price = Price -book.category = Category -book.json = JSON Data - -book.desc.set.author = Set book author name -book.desc.set.title = Set book primary title -book.desc.set.isbn = Set book ISBN code -book.desc.set.year = Set book publication year -book.desc.set.price = Set book price -book.desc.set.category = Select appropriate category - -book.desc.example.headertext = Valid inputs (examples) -book.desc.example.author = Andrzej Sapkowski -book.desc.example.title = The Witcher\:\ The Lady of the Lake -book.desc.example.isbn = 1212121-3 or 4545454-67 or 6767676-890 -book.desc.example.year = 1854 or 2005 -book.desc.example.price = 17 or 123.5 or 45.67 or 78,43 +typeMismatch.book.year = Invalid year format +typeMismatch.book.price = Invalid price format + +book.author = Author +book.author.firstName = First name +book.author.lastName = Last name +book.title = Title +book.isbn = ISBN +book.year = Year +book.price = Price +book.category = Category +book.json = JSON Data + +book.desc.set.author.firstname = Set book author first name +book.desc.set.author.lastname = Set book author last name +book.desc.set.title = Set book primary title +book.desc.set.isbn = Set book ISBN code +book.desc.set.year = Set book publication year +book.desc.set.price = Set book price +book.desc.set.category = Select appropriate category + +book.desc.example.headertext = Valid inputs (examples) +book.desc.example.author.firstname = Andrzej +book.desc.example.author.lastname = Sapkowski +book.desc.example.title = The Witcher\:\ The Lady of the Lake +book.desc.example.isbn = 1212121-3 or 4545454-67 or 6767676-890 +book.desc.example.year = 1854 or 2005 +book.desc.example.price = 17 or 123.5 or 45.67 or 78,43 -book.error.author = Invalid author name -book.error.title = Invalid title -book.error.isbn = Invalid ISBN code -book.error.year = Invalid year -book.error.price = Invalid price -book.error.isbn.exists = ISBN code already exists -book.error.id.invalid = Wrong book +book.error.author = Invalid author name +book.error.title = Invalid title +book.error.isbn = Invalid ISBN code +book.error.year = Invalid year +book.error.price = Invalid price +book.error.isbn.exists = ISBN code already exists +book.error.id.invalid = Wrong book -page.title.browser.list = Bookstore page -page.title.browser.add = Add book -page.title.browser.edit = Update book -page.title.browser.error = Error page -page.title.browser.apiref = API Reference help page +page.title.browser.list = Bookstore page +page.title.browser.add = Add book +page.title.browser.edit = Update book +page.title.browser.error = Error page +page.title.browser.apiref = API Reference help page + +page.title.webform.list = Books +page.title.webform.add = Add new book +page.title.webform.edit = Update existing book +page.title.webform.error = Error +page.title.webform.apiref = API Reference help page + +page.text.list.actions = Actions +page.text.list.delete = Delete +page.text.list.edit = Edit +page.text.list.json = Get + +page.text.apiref.warning = NOTE\:\ these direct JSON keys may differ in name \&\ count when comparing to publicly exposed JSON book data. + +page.text.apiref.endpoints = REST API end points +page.text.apiref.examples = Direct search examples -page.title.webform.list = Books -page.title.webform.add = Add new book -page.title.webform.edit = Update existing book -page.title.webform.error = Error -page.title.webform.apiref = API Reference help page +page.text.apiref.book.add = Adding a book +page.text.apiref.book.edit = Editing an existing book +page.text.apiref.book.delete = Deleting an existing book +page.text.apiref.book.get = Getting information about an existing book -page.text.list.actions = Actions -page.text.list.delete = Delete -page.text.list.edit = Edit -page.text.list.json = Get +page.text.apiref.author.edit = Editing an existing author -page.text.apiref.endpoints = REST API end points -page.text.apiref.examples = Direct search examples -page.text.apiref.add = Adding a book (Unix-alike clients) -page.text.apiref.edit = Editing an existing book (Unix-alike clients) -page.text.apiref.delete = Deleting an existing book (Unix-alike clients) -page.text.apiref.get = Getting information about an existing book (Unix-alike clients) +page.text.apiref.book.edit.info = Where suffix number 2 is a book ID +page.text.apiref.unix.info = \*\Unix-alike clients. Escape quotes (\\"\) on Windows (may not required on MinGW setups). -page.text.apiref.edit.info = Where suffix number 2 is a book ID +page.text.apiref.author.edit.info = Where suffix number 1 is an author ID -page.text.apiref.links.title = Direct link -page.text.apiref.link = Link +page.text.apiref.links.title = Direct link +page.text.apiref.link = Link -page.text.error = Error while processing your request +page.text.error = Error while processing your request -button.book.add = Add book -button.book.edit = Update book +button.book.add = Add book +button.book.edit = Update book -button.page.list.return = Return to book list page -button.page.list.json = Get list as JSON +button.page.list.return = Return to book list page +button.page.list.json = Get list as JSON -button.page.apiref = How to: REST API link references +button.page.apiref = How to: REST API link references -page.symbols.currency = \u20AC \ No newline at end of file +page.symbols.currency = \u20AC \ No newline at end of file