diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2017-10-23 11:59:34 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-10-23 21:18:07 +0200 |
commit | c0644d5aaf8bf8744f3759444009699c5b6e2861 (patch) | |
tree | 923dafd42500ba06558f8c49a82544f218dbd011 | |
parent | 61e577bf8ad1b8d284e30ace751197faa0d034eb (diff) | |
download | calcurse-c0644d5aaf8bf8744f3759444009699c5b6e2861.tar.gz calcurse-c0644d5aaf8bf8744f3759444009699c5b6e2861.zip |
Fix spelling of "frequency"
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r-- | src/calcurse.h | 2 | ||||
-rw-r--r-- | src/ical.c | 4 | ||||
-rw-r--r-- | src/ui-day.c | 12 |
3 files changed, 8 insertions, 10 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 8164823..72426e6 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -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; diff --git a/src/ui-day.c b/src/ui-day.c index 0be23af..3c0547d 100644 --- a/src/ui-day.c +++ b/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."); |