aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/calcurse.h2
-rw-r--r--src/ical.c4
-rw-r--r--src/ui-day.c12
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 */
};
diff --git a/src/ical.c b/src/ical.c
index d8ad997..309952d 100644
--- a/src/ical.c
+++ b/src/ical.c
@@ -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.");