isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Haywood <...@haywood-associates.co.uk>
Subject Re: i18n question
Date Tue, 24 May 2016 07:21:49 GMT
Hmm, it would seem to be hard-coded [1].

Elsewhere in the Wicket UI we allow i18n, eg of the "OK" and "Cancel"
buttons [2], through a custom implementation of Wicket's Localizer SPI
[3].  So it ought to be possible to i18n the "Show All" similarly.

If you want to tackle this and raise a PR, that'd be great.  Otherwise I'll
see if I can implement it in the next couple of days.

Thx
Dan



[1]
https://github.com/apache/isis/blob/rel/isis-1.12.1/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/IsisAjaxNavigationToolbar.html#L23
[2]
https://github.com/apache/isis/blob/rel/isis-1.12.1/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/actions/ActionParametersFormPanel.java#L144
[3]
https://github.com/apache/isis/blob/rel/isis-1.12.1/core/viewer-wicket-impl/src/main/java/org/apache/isis/viewer/wicket/viewer/integration/wicket/LocalizerForIsis.java#L52
[4]
https://github.com/apache/isis/blob/rel/isis-1.12.1/core/viewer-wicket-ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/collectioncontents/ajaxtable/IsisAjaxNavigationToolbar.java#L44


On 23 May 2016 at 14:41, Deacon Frost <dfrost999@gmail.com> wrote:

> Hi,
>
> I'm trying to wrap my head around the translation feature and I'd like to
> translate the "SHOW ALL"-label for the table paginator (ISIS-690). I can't
> figure out the pot-address-string/msgid to translate this. Any hint how to
> go about this?
> Thanks a lot!
>
> Cheers,
>
> D.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message