Discussion:
Plural forms
Marek Černocký
2013-06-27 07:47:39 UTC
Permalink
Hi,

I translate Bluefish to Czech and I found two issues with plural forms.
The following messages require ngettext instead gettext:

"All files loaded, finished %s, %d documents open"
"Finished advanced open, %d documents open."
(src/file.c)

(And shouldn't be "opened" instead "open"?)


Marv
Olivier Sessink
2013-06-30 15:49:02 UTC
Permalink
Post by Marek Černocký
Hi,
I translate Bluefish to Czech and I found two issues with plural forms.
"All files loaded, finished %s, %d documents open"
"Finished advanced open, %d documents open."
(src/file.c)
(And shouldn't be "opened" instead "open"?)
Marv
fixed in svn

it's 'open' -> it shows the total number open, not the number of files
that have just been added to the total number.

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
the body of a message to listar-QLpEr2logwzILq5++***@public.gmane.org or visit the list control panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/
Marek Černocký
2013-06-30 18:23:12 UTC
Permalink
Post by Olivier Sessink
Post by Marek Černocký
Hi,
I translate Bluefish to Czech and I found two issues with plural forms.
"All files loaded, finished %s, %d documents open"
"Finished advanced open, %d documents open."
(src/file.c)
(And shouldn't be "opened" instead "open"?)
Marv
fixed in svn
You have reversed order - first plural and second singular.
Post by Olivier Sessink
it's 'open' -> it shows the total number open, not the number of files
that have just been added to the total number.
Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
the body of a message to listar-QLpEr2logwzILq5++***@public.gmane.org or visit the list control panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/
Olivier Sessink
2013-06-30 20:27:10 UTC
Permalink
Post by Marek Černocký
Post by Olivier Sessink
Post by Marek Černocký
Hi,
I translate Bluefish to Czech and I found two issues with plural forms.
"All files loaded, finished %s, %d documents open"
"Finished advanced open, %d documents open."
(src/file.c)
(And shouldn't be "opened" instead "open"?)
Marv
fixed in svn
You have reversed order - first plural and second singular.
from man 3 ngettext:

char * ngettext (const char * msgid, const char * msgid_plural,
unsigned long int n);

first singular and second plural???

Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
the body of a message to listar-QLpEr2logwzILq5++***@public.gmane.org or visit the list control panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/
Marek Černocký
2013-06-30 21:34:24 UTC
Permalink
Post by Olivier Sessink
Post by Marek Černocký
Post by Olivier Sessink
Post by Marek Černocký
Hi,
I translate Bluefish to Czech and I found two issues with plural forms.
"All files loaded, finished %s, %d documents open"
"Finished advanced open, %d documents open."
(src/file.c)
(And shouldn't be "opened" instead "open"?)
Marv
fixed in svn
You have reversed order - first plural and second singular.
char * ngettext (const char * msgid, const char * msgid_plural,
unsigned long int n);
first singular and second plural???
Yes, first singular and second plural.
You can see the examples of use in other places of Bluefish source. Or
look at extracted POT/PO.
Post by Olivier Sessink
Olivier
--
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/
--
To unsubscribe from this list: send the line "unsubscribe bluefish-dev" in
the body of a message to listar-QLpEr2logwzILq5++***@public.gmane.org or visit the list control panel at http://www.ems.ru/cgi-bin/listargate.cgi
Bluefish web site: http://bluefish.openoffice.nl/
Loading...