summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-10 16:03:33 +0200
committerMikael Magnusson <mikachu@gmail.com>2011-08-01 18:18:16 +0200
commit5f5880dccda32bfc0f62b130e00e62536257e696 (patch)
treed7b0aec9535fb30bd723f92301932aaff2dbc67d
parent588aa0790abd0bf6452843c0e3490482e90b3654 (diff)
Fix some translation string markings
-rw-r--r--openbox/debug.c2
-rw-r--r--openbox/openbox.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/openbox/debug.c b/openbox/debug.c
index 8423e8ab..358b090b 100644
--- a/openbox/debug.c
+++ b/openbox/debug.c
@@ -135,7 +135,7 @@ static void prompt_handler(const gchar *log_domain, GLogLevelFlags log_level,
const gchar *message, gpointer data)
{
if (ob_state() == OB_STATE_RUNNING)
- prompt_show_message(message, _("Openbox"), _("Close"));
+ prompt_show_message(message, "Openbox", _("Close"));
else
log_handler(log_domain, log_level, message, data);
}
diff --git a/openbox/openbox.c b/openbox/openbox.c
index c41eea4d..0782794c 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -629,7 +629,7 @@ static void parse_args(gint *argc, gchar **argv)
}
else if (!strcmp(argv[i], "--startup")) {
if (i == *argc - 1) /* no args left */
- g_printerr(_("--startup requires an argument\n"));
+ g_printerr(_("%s requires an argument\n"), "--startup");
else {
/* this will be in the current locale encoding, which is
what we want */
@@ -663,7 +663,7 @@ static void parse_args(gint *argc, gchar **argv)
}
else if (!strcmp(argv[i], "--config-file")) {
if (i == *argc - 1) /* no args left */
- g_printerr(_("--config-file requires an argument\n"));
+ g_printerr(_("%s requires an argument\n"), "--config-file");
else {
/* this will be in the current locale encoding, which is
what we want */