From 6898a9dcf1f3614f5c132d4649f3d414feb6df5e Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 23 May 2012 23:02:08 +0200 Subject: 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 --- src/custom.c | 20 ++++++++++---------- src/notify.c | 16 ++++++++-------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/custom.c b/src/custom.c index ef84703..e407b00 100644 --- a/src/custom.c +++ b/src/custom.c @@ -605,16 +605,16 @@ static int print_general_options(WINDOW * win) const int YOFF = 3; int y; char *opt[NB_OPTIONS] = { - _("general.autosave = "), - _("general.autogc = "), - _("general.periodicsave = "), - _("general.confirmquit = "), - _("general.confirmdelete = "), - _("general.systemdialogs = "), - _("general.progressbar = "), - _("general.firstdayofweek = "), - _("format.outputdate = "), - _("format.inputdate = ") + "general.autosave = ", + "general.autogc = ", + "general.periodicsave = ", + "general.confirmquit = ", + "general.confirmdelete = ", + "general.systemdialogs = ", + "general.progressbar = ", + "general.firstdayofweek = ", + "format.outputdate = ", + "format.inputdate = " }; y = 0; diff --git a/src/notify.c b/src/notify.c index c746f49..ffd32dd 100644 --- a/src/notify.c +++ b/src/notify.c @@ -575,30 +575,30 @@ static unsigned print_config_options(WINDOW * optwin) 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[DATE].name = _("format.notifydate = "); + opt[DATE].name = "format.notifydate = "; 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[WARN].name = _("notification.warning = "); + opt[WARN].name = "notification.warning = "; opt[WARN].desc = _("(Warn user if an appointment is within next " "'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[NOTIFY_ALL].name = _("notification.notifyall = "); + opt[NOTIFY_ALL].name = "notification.notifyall = "; opt[NOTIFY_ALL].desc = _("(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_LOG].name = _("daemon.log = "); + opt[DMON_LOG].name = "daemon.log = "; opt[DMON_LOG].desc = _("(Log activity when running in background)"); pthread_mutex_lock(&nbar.mutex); -- cgit v1.2.3-70-g09d2