Hi all,
2009/11/3 Stefan Küng <tortoisesvn_at_gmail.com>
> > 2009/11/3 Oto BREZINA otik_at_e-posta.sk
> >>
> >> I thought about something like this, but had not time even for
> >> investigation. I hope You will go much further.
> >> The think is that I will need three classes :
> >> * 0, 5-99
> >> * 1
> >> * 2-4
> >> If you can handle real forms it can be nice, but as understand this not
> >> possible with current design !?
> >> Not so important anyway ...
> >
> > First of all, thanks for po checker, it is a great tool.
> >
> > As Lübbe already noticed, there is a gettext library, which can handle
> such
> > cases in many languages. Plural forms are very language-specific (for
> > example, see
> > http://www.gnu.org/software/hello/manual/gettext/Plural-forms.html) and
> I
> > suspect we end up with something like gettext :) I don't know all the
> > contra's for using this library, but I think there are some - shell
> > extension should be a careful thing...
> >
> > I understand that proposed workaround won't be scaled up well, but it
> will
> > do the trick in this case :)
>
> Sorry, but using gettext is out of the question. Seriously, have you
> ever looked that that sourcecode?
>
> And: those strings are only in the plural form. The only exception is
> "one day". Otherwise, it's always two or more. Usually the unit
> changes after 12 or 15 so the next unit starts with 4 or more.
>
As I understand from sourcecode, all unit names (taken from resources) are
in singular form. It fits well for "... each %s" string and didn't fits for
"Number of %s" string.
- Stanislav
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2414156
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-03 17:46:11 CET