aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-05-23 23:02:08 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2012-05-23 23:09:55 +0200
commit6898a9dcf1f3614f5c132d4649f3d414feb6df5e (patch)
tree28ba8512d0ac1e5bd56475e4a06415e050c24ced /src
parentf5efea85a6874e4dcb206f91cedf29ef3d56f06b (diff)
downloadcalcurse-6898a9dcf1f3614f5c132d4649f3d414feb6df5e.tar.gz
calcurse-6898a9dcf1f3614f5c132d4649f3d414feb6df5e.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/custom.c20
-rw-r--r--src/notify.c16
2 files changed, 18 insertions, 18 deletions
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);