Re: NBSPs in template i18n resources

"Dirk Frederickx" <[email protected]> Fri, 17 Aug 2007 19:46:35 +0200
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
Murray,

I assume we can fix that in the css too. With a white space:nowrap
which make sense for all .actions.

I'll take this in the next commit.


dirk

On 8/17/07, Janne Jalkanen <[email protected]> wrote:
> Good catch, but please do all this kind of emails on the dev list.
> There is nothing personal or secret here.
>
> /Janne
>
> On Sat, Aug 18, 2007 at 02:24:13AM +1200, Murray Altheim wrote:
> > Dirk,
> >
> > I found that (for example) on the "Log in", "Log out", and "My Prefs"
> > buttons, when the font got large enough to cause the space to get tight,
> > the buttons would wrap internally and cause them break into two pieces,
> > one above the other. The solution was to change any instances of space
> > characters to '&nbsp;'.
> >
> > I could submit a patch if I knew of all the locations (I think I do
> > in English but am not sure for other languages) where spaces show up
> > in text strings used for button text in the new template.
> >
> > E.g., in ./etc/i18n/templates/default_en.properties:
> >
> >    ...
> >    actions.login=Log&nbsp;in
> >    actions.login.title=Log in or Register as new user
> >    actions.logout=Log&nbsp;out
> >    actions.logout.title=Log out
> >    ...
> >
> > Murray
> >
> > ...........................................................................
> > Murray Altheim <murray07 at altheim.com>                           ===  = =
> > http://www.altheim.com/murray/                                     = =  ===
> > SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =
> >
> >       Boundless wind and moon - the eye within eyes,
> >       Inexhaustible heaven and earth - the light beyond light,
> >       The willow dark, the flower bright - ten thousand houses,
> >       Knock at any door - there's one who will respond.
> >                                       -- The Blue Cliff Record
>