Various fixes.

Use snprintf(3) instead of sprintf(3) and fix a missing i18n tag.

Signed-off-by: Baptiste Jonglez <baptiste--git@jonglez.org>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Baptiste Jonglez
2012-05-13 14:09:22 +02:00
committed by Lukas Fleischer
parent 13d6f8703b
commit b17475128d
2 changed files with 3 additions and 3 deletions

View File

@@ -742,7 +742,7 @@ update_rept (struct rpt **rpt, const long start)
const char *msg_wrong_time = _("Invalid time: start time must be before end time!");
const char *msg_wrong_date = _("The entered date is not valid.");
const char *msg_fmts =
"Possible formats are [%s] or '0' for an endless repetetition";
_("Possible formats are [%s] or '0' for an endless repetetition");
const char *msg_enter = _("Press [Enter] to continue");
switch (status_ask_choice (msg_rpt_asktype, msg_rpt_choice, 4))