Fix spelling of "frequency"
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
parent
61e577bf8a
commit
c0644d5aaf
@ -358,7 +358,7 @@ enum recur_type {
|
||||
/* To describe an item's repetition. */
|
||||
struct rpt {
|
||||
enum recur_type type; /* repetition type */
|
||||
int freq; /* repetition frequence */
|
||||
int freq; /* repetition frequency */
|
||||
long until; /* ending date for repeated event */
|
||||
};
|
||||
|
||||
|
@ -744,7 +744,7 @@ static ical_rpt_t *ical_read_rrule(FILE * log, char *rrulestr,
|
||||
memset(rpt, 0, sizeof(ical_rpt_t));
|
||||
if (sscanf(p, "FREQ=%s", freqstr) != 1) {
|
||||
ical_log(log, ICAL_VEVENT, itemline,
|
||||
_("recurrence frequence not found."));
|
||||
_("recurrence frequency not found."));
|
||||
(*noskipped)++;
|
||||
mem_free(rpt);
|
||||
return NULL;
|
||||
@ -760,7 +760,7 @@ static ical_rpt_t *ical_read_rrule(FILE * log, char *rrulestr,
|
||||
rpt->type = RECUR_YEARLY;
|
||||
} else {
|
||||
ical_log(log, ICAL_VEVENT, itemline,
|
||||
_("recurrence frequence not recognized."));
|
||||
_("recurrence frequency not recognized."));
|
||||
(*noskipped)++;
|
||||
mem_free(rpt);
|
||||
return NULL;
|
||||
|
12
src/ui-day.c
12
src/ui-day.c
@ -213,8 +213,7 @@ static void update_rept(struct rpt **rpt, const long start)
|
||||
msg_rpt_yearly, msg_rpt_current);
|
||||
|
||||
const char *msg_rpt_choice = _("[dwmy]");
|
||||
const char *msg_wrong_freq =
|
||||
_("The frequence you entered is not valid.");
|
||||
const char *msg_wrong_freq = _("Invalid frequency.");
|
||||
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.");
|
||||
@ -240,7 +239,7 @@ static void update_rept(struct rpt **rpt, const long start)
|
||||
}
|
||||
|
||||
do {
|
||||
status_mesg(_("Enter the new repetition frequence:"), "");
|
||||
status_mesg(_("Enter the new repetition frequency:"), "");
|
||||
mem_free(freqstr);
|
||||
asprintf(&freqstr, "%d", (*rpt)->freq);
|
||||
if (updatestring(win[STA].p, &freqstr, 0, 1) !=
|
||||
@ -677,7 +676,7 @@ void ui_day_item_delete(unsigned reg)
|
||||
/*
|
||||
* Ask user for repetition characteristics:
|
||||
* o repetition type: daily, weekly, monthly, yearly
|
||||
* o repetition frequence: every X days, weeks, ...
|
||||
* o repetition frequency: every X days, weeks, ...
|
||||
* o repetition end date
|
||||
* and then delete the selected item to recreate it as a recurrent one
|
||||
*/
|
||||
@ -695,9 +694,8 @@ void ui_day_item_repeat(void)
|
||||
const char *msg_rpt_monthly = _("(m)onthly");
|
||||
const char *msg_rpt_yearly = _("(y)early");
|
||||
const char *msg_type_choice = _("[dwmy]");
|
||||
const char *mesg_freq_1 = _("Enter the repetition frequence:");
|
||||
const char *mesg_wrong_freq =
|
||||
_("The frequence you entered is not valid.");
|
||||
const char *mesg_freq_1 = _("Enter the repetition frequency:");
|
||||
const char *mesg_wrong_freq = _("Invalid frequency.");
|
||||
const char *mesg_until_1 =
|
||||
_("Enter end date ([%s]), duration ([+xxwxxd]) or '0' for endless repetition:");
|
||||
const char *mesg_wrong_1 = _("The entered date is not valid.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user