Axel Hecht Mozilla in Your Language

November 15, 2006

nifty hack #1

Filed under: L10n — Axel Hecht @ 7:19 pm

During the l10n session today we came up with an request from dynamis for him to be able to not have a string argument show up in a formatted l10n string.

We came up with the idea to specify zero width in the format, but it’s actually precision 0.

foo=does "%1$.0S" work?

as foo.properties does actually yield to

js> sb.formatStringFromName('foo',['Firefox'],1)

does "" work?

So here goes your nifty l10n tip of the day.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress