Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1318

NavigatorLabel should be localizable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Invalid
    • 1.3.0-final, 1.3.1, 1.3.2
    • None
    • wicket, wicket-extensions
    • None
    • All

    Description

      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.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            dtoffe Daniel Toffetti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: