You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/10/28 23:07:50 UTC
[jira] Resolved: (WICKET-1089) Use properties file key to localize
the content of NavigatorLabel
[ https://issues.apache.org/jira/browse/WICKET-1089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1089.
-----------------------------------
Resolution: Invalid
Fix Version/s: 1.3.0-beta5
Assignee: Igor Vaynberg
this is already possible. the code inside the label looks like this:
setModel(new StringResourceModel("NavigatorLabel", this, new Model(new LabelModelObject(
table)), "Showing ${from} to ${to} of ${of}"));
so you can either provide your own model or override with .properties file.
> Use properties file key to localize the content of NavigatorLabel
> -----------------------------------------------------------------
>
> Key: WICKET-1089
> URL: https://issues.apache.org/jira/browse/WICKET-1089
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.3.0-beta1, 1.3.0-beta2, 1.3.0-beta3, 1.3.0-beta4
> Environment: WIndows 2000, jdk 5, Tomcat 5.5
> Reporter: Jaime De La Jara
> Assignee: Igor Vaynberg
> Priority: Trivial
> Fix For: 1.3.0-beta5
>
>
> The label used in NavigatorLabel could be parametrized with a key whose value is in the Application.properties file so it can be translated to other languages besides english. The String to replace is : "Showing ${from} to ${to} of ${of}".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.