NavigatorLabel should be localizable
------------------------------------

                 Key: WICKET-1318
                 URL: https://issues.apache.org/jira/browse/WICKET-1318
             Project: Wicket
          Issue Type: Improvement
          Components: wicket, wicket-extensions
    Affects Versions: 1.3.0-final, 1.3.1, 1.3.2
         Environment: All
            Reporter: Daniel Toffetti
            Priority: Trivial
             Fix For: 1.3.1, 1.3.2, 1.3.0-final


In 
org\apache\wicket\extensions\markup\html\repeater\data\table\NavigatorLabel.java:

        private NavigatorLabel(final String id, final PageableComponent table)
        {
                super(id);
                setModel(new StringResourceModel("NavigatorLabel", this, new 
Model(new LabelModelObject(
                                table)), "Showing ${from} to ${to} of ${of}"));
        }

The message "Showing x to y of z" is hardcoded, it should be extracted to a 
.properties file in order to allow for localization of the message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to