Use ngettext for plural-forms, fixes bug #117997.
2003-09-30 Danilo Šegan <dsegan@gmx.net> * drwright.c (update_tooltip): Use ngettext for plural-forms, fixes bug #117997.
This commit is contained in:
parent
05303f1bfb
commit
6113b2a913
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-30 Danilo Šegan <dsegan@gmx.net>
|
||||
|
||||
* drwright.c (update_tooltip): Use ngettext for plural-forms,
|
||||
fixes bug #117997.
|
||||
|
||||
2003-08-24 Richard Hult <richard@imendio.com>
|
||||
|
||||
* Makefile.am:
|
||||
|
|
|
@ -462,11 +462,10 @@ update_tooltip (DrWright *dr)
|
|||
break;
|
||||
}
|
||||
|
||||
if (min > 1) {
|
||||
str = g_strdup_printf (_("%d minutes until the next break"), min);
|
||||
}
|
||||
else if (min == 1) {
|
||||
str = g_strdup_printf (_("One minute until the next break"));
|
||||
if (min >= 1) {
|
||||
str = g_strdup_printf (ngettext("%d minute until the next break",
|
||||
"%d minutes until the next break",
|
||||
min), min);
|
||||
} else {
|
||||
str = g_strdup_printf (_("Less than one minute until the next break"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue