Wicket
  1. Wicket
  2. WICKET-1318

NavigatorLabel should be localizable

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Invalid
    • Affects Version/s: 1.3.0-final, 1.3.1, 1.3.2
    • Fix Version/s: None
    • Component/s: wicket, wicket-extensions
    • Labels:
      None
    • Environment:
      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.

        Activity

        Daniel Toffetti created issue -
        Igor Vaynberg made changes -
        Field Original Value New Value
        Assignee Igor Vaynberg [ ivaynberg ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Frank Bille Jensen made changes -
        Fix Version/s 1.3.1 [ 12312500 ]
        Fix Version/s 1.3.2 [ 12312942 ]
        Fix Version/s 1.3.0-final [ 12312515 ]

          People

          • Assignee:
            Igor Vaynberg
            Reporter:
            Daniel Toffetti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development