diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-24 21:13:14 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-24 21:13:14 +0200 |
commit | a232c9af33ee2c77c89afef99f17c7c557c77e01 (patch) | |
tree | 47fbfc8080c0896f2b18fb346e988b59bf9897c5 /src/dmon.c | |
parent | e121ded3a5edc1d243f2b44cc64aff19fbebaa41 (diff) | |
download | calcurse-a232c9af33ee2c77c89afef99f17c7c557c77e01.zip |
Use gettext plural features
Make use of the plural features of gettext to handle plural forms
correctly instead of using the plural form even if the singular form
should be used.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/dmon.c')
-rw-r--r-- | src/dmon.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -194,8 +194,9 @@ dmon_start (int parent_exit_status) DMON_LOG (_("error while sending notification\n")); } - DMON_LOG (_("sleeping at %s for %d seconds\n"), nowstr (), - DMON_SLEEP_TIME); + DMON_LOG (ngettext ("sleeping at %s for %d second\n", + "sleeping at %s for %d seconds\n", + DMON_SLEEP_TIME), nowstr (), DMON_SLEEP_TIME); psleep (DMON_SLEEP_TIME); DMON_LOG (_("awakened at %s\n"), nowstr ()); } |