FilterPane Plugin
  1. FilterPane Plugin
  2. GPFILTERPANE-93

I think the "Descending" and the domain-class's field which named "name" can not use i18n.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Grails-FilterPane 2.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Grails2.0.0
      FilterPane Plugin 2.0.1.1

      Description

      I put all filterPane's tag on my gsp, when I click the filter button, the "Descending" radio can't use i18n.
      and then, if my domain-class is Account, and it like this:
      class Account

      { String name; }

      I put this in my properties:
      account.name.label=Account
      I think the "name" can't use i18n, it show "Name" on my webbrowser.

        Activity

        Hide
        Konstantinos Kostarellis added a comment -

        It is basically a typo in
        filterpane-2.0.1.1/grails-app/views/filterpane/_filterpaneSort.gsp
        in line 25 it states:

        	&nbsp;<g:message code="fp.tag.filterpane.sort.descending" default="Descending" />
        

        So it got a small "p" in filterpane while it should be a capital "P"

        fp.tag.filterpane.sort.descending
        

        instead of

        fp.tag.filterPane.sort.descending
        

        you can workaround it by setting the value for the "wrong" message.key: fp.tag.filterpane.sort.descending

        Slightly Off-topic:
        Are there any plans to host the filterpane sources on git(hub) ?
        In that way devs could help to improve the plugin with there pull requests.

        Show
        Konstantinos Kostarellis added a comment - It is basically a typo in filterpane-2.0.1.1/grails-app/views/filterpane/_filterpaneSort.gsp in line 25 it states: &nbsp;<g:message code= "fp.tag.filterpane.sort.descending" default = "Descending" /> So it got a small "p" in filterpane while it should be a capital "P" fp.tag.filterpane.sort.descending instead of fp.tag.filterPane.sort.descending you can workaround it by setting the value for the "wrong" message.key: fp.tag.filterpane.sort.descending Slightly Off-topic: Are there any plans to host the filterpane sources on git(hub) ? In that way devs could help to improve the plugin with there pull requests.
        Hide
        Konstantinos Kostarellis added a comment - - edited

        Thats basicly a duplicate of GPFILTERPANE-92 and GPFILTERPANE-90

        Show
        Konstantinos Kostarellis added a comment - - edited Thats basicly a duplicate of GPFILTERPANE-92 and GPFILTERPANE-90

          People

          • Assignee:
            Steve Krenek
            Reporter:
            rainbow
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: