Do not localize configuration options
The configuration options shown in the configuration menu are meant to reflect the keys used in the configuration file. The descriptions displayed alongside each option should be sufficient for non-English speakers. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
f5efea85a6
commit
6898a9dcf1
20
src/custom.c
20
src/custom.c
@ -605,16 +605,16 @@ static int print_general_options(WINDOW * win)
|
|||||||
const int YOFF = 3;
|
const int YOFF = 3;
|
||||||
int y;
|
int y;
|
||||||
char *opt[NB_OPTIONS] = {
|
char *opt[NB_OPTIONS] = {
|
||||||
_("general.autosave = "),
|
"general.autosave = ",
|
||||||
_("general.autogc = "),
|
"general.autogc = ",
|
||||||
_("general.periodicsave = "),
|
"general.periodicsave = ",
|
||||||
_("general.confirmquit = "),
|
"general.confirmquit = ",
|
||||||
_("general.confirmdelete = "),
|
"general.confirmdelete = ",
|
||||||
_("general.systemdialogs = "),
|
"general.systemdialogs = ",
|
||||||
_("general.progressbar = "),
|
"general.progressbar = ",
|
||||||
_("general.firstdayofweek = "),
|
"general.firstdayofweek = ",
|
||||||
_("format.outputdate = "),
|
"format.outputdate = ",
|
||||||
_("format.inputdate = ")
|
"format.inputdate = "
|
||||||
};
|
};
|
||||||
|
|
||||||
y = 0;
|
y = 0;
|
||||||
|
16
src/notify.c
16
src/notify.c
@ -575,30 +575,30 @@ static unsigned print_config_options(WINDOW * optwin)
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
opt[SHOW].name = _("appearance.notifybar = ");
|
opt[SHOW].name = "appearance.notifybar = ";
|
||||||
opt[SHOW].desc = _("(if set to YES, notify-bar will be displayed)");
|
opt[SHOW].desc = _("(if set to YES, notify-bar will be displayed)");
|
||||||
|
|
||||||
opt[DATE].name = _("format.notifydate = ");
|
opt[DATE].name = "format.notifydate = ";
|
||||||
opt[DATE].desc = _("(Format of the date to be displayed inside notify-bar)");
|
opt[DATE].desc = _("(Format of the date to be displayed inside notify-bar)");
|
||||||
|
|
||||||
opt[CLOCK].name = _("format.notifytime = ");
|
opt[CLOCK].name = "format.notifytime = ";
|
||||||
opt[CLOCK].desc = _("(Format of the time to be displayed inside notify-bar)");
|
opt[CLOCK].desc = _("(Format of the time to be displayed inside notify-bar)");
|
||||||
|
|
||||||
opt[WARN].name = _("notification.warning = ");
|
opt[WARN].name = "notification.warning = ";
|
||||||
opt[WARN].desc = _("(Warn user if an appointment is within next "
|
opt[WARN].desc = _("(Warn user if an appointment is within next "
|
||||||
"'notify-bar_warning' seconds)");
|
"'notify-bar_warning' seconds)");
|
||||||
|
|
||||||
opt[CMD].name = _("notification.command = ");
|
opt[CMD].name = "notification.command = ";
|
||||||
opt[CMD].desc = _("(Command used to notify user of an upcoming appointment)");
|
opt[CMD].desc = _("(Command used to notify user of an upcoming appointment)");
|
||||||
|
|
||||||
opt[NOTIFY_ALL].name = _("notification.notifyall = ");
|
opt[NOTIFY_ALL].name = "notification.notifyall = ";
|
||||||
opt[NOTIFY_ALL].desc =
|
opt[NOTIFY_ALL].desc =
|
||||||
_("(Notify all appointments instead of flagged ones only)");
|
_("(Notify all appointments instead of flagged ones only)");
|
||||||
|
|
||||||
opt[DMON].name = _("daemon.enable = ");
|
opt[DMON].name = "daemon.enable = ";
|
||||||
opt[DMON].desc = _("(Run in background to get notifications after exiting)");
|
opt[DMON].desc = _("(Run in background to get notifications after exiting)");
|
||||||
|
|
||||||
opt[DMON_LOG].name = _("daemon.log = ");
|
opt[DMON_LOG].name = "daemon.log = ";
|
||||||
opt[DMON_LOG].desc = _("(Log activity when running in background)");
|
opt[DMON_LOG].desc = _("(Log activity when running in background)");
|
||||||
|
|
||||||
pthread_mutex_lock(&nbar.mutex);
|
pthread_mutex_lock(&nbar.mutex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user