Tobago comes with a resource bundle
org.apache.myfaces.tobago.context.TobagoResourceBundle
mapped to
tobagoResourceBundle
.
This bundle contails translated text fragments used by Tobago e. g.
for label of components.
It's easy to expand this bundle to support more languages.
The next table shows the keys and the translation with the locale of the current session.
The locale can be changed with the selector above.
Key | Value | |
---|
sheet.setPage | Click here, to change the displayed page | |
sheet.empty | No rows available | |
sheet.prev | Previous Page | |
severity.error | Error | |
alert.close | Close | |
sheet.next | Next Page | |
sheet.pageX | Page {0} | |
severity.fatal | Fatal | |
help.title | Help | |
sheet.selectAll | Select all | |
sheet.rowX | Row {0} | |
sheet.rowXofZ | Row {0} of {2} | |
date.week | Week | |
sheet.descending | Descending | |
sheet.rowXtoYofZ | Rows {0} to {1} of {2} | |
severity.info | Information | |
date.today | Today | |
sheet.selectRow | Select row | |
sheet.toPage | Page {0} | |
sheet.pageXtoY | Page {0} | |
sheet.setRow | Click here, to change the first displayed row | |
date.now | Now | |
date.cancel | Cancel | |
sheet.last | Last Page | |
file.maxSizeMessage | The selected file exceeds the maximum allowed size of {0} bytes. | |
sheet.first | First Page | |
sheet.rowXtoY | Rows {0} to {1} | |
page.noscript | This site requires JavaScript, but JavaScript is currently not activated in your browser. To enable JavaScript you may consult your browsers the documentation. | |
date.clear | Clear | |
severity.warn | Warning | |
bar.toggleNavigation | Toggle navigation | |
sheet.ascending | Ascending | |
sheet.sorting | Click to sort this column | |
toast.close | Close | |
sheet.pageXtoYofZ | Page {0} of {1} | |
sheet.pageXofZ | Page {0} of {1} | |
object.noframe | Your user agent does not support frames or is currently configured not to display frames. However, you may visit the related document manually: | |
Tobago comes with a message bundle for Tobago specific (info/warn/error) messages.
Key | Value | |
---|
org.apache.myfaces.tobago.FileItemValidator.CONTENT_TYPE_detail | The given file is not content type of ''{0}''. | |
org.apache.myfaces.tobago.FileItemValidator.CONTENT_TYPE | Content type error | |
org.apache.myfaces.tobago.FileItemValidator.SIZE_LIMIT | File too large | |
org.apache.myfaces.tobago.UISheet.SORTING | Sorting not possible! | |
org.apache.myfaces.tobago.UISelectOne.REQUIRED | Selection required | |
org.apache.myfaces.tobago.FileItemValidator.SIZE_LIMIT_detail | The uploaded file exceeded the maximum size of {0} bytes. | |
org.apache.myfaces.tobago.UISheet.SORTING_COL | Can't sort the column ''{0}''! | |