]> Dogcows Code - chaz/openbox/commitdiff
Fix some translation string markings
authorMikael Magnusson <mikachu@gmail.com>
Tue, 10 May 2011 14:03:33 +0000 (16:03 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Mon, 1 Aug 2011 16:18:16 +0000 (18:18 +0200)
openbox/debug.c
openbox/openbox.c

index 8423e8ab565bb079d9a0f00cdc44cf5dc81f67ad..358b090b5ab41b523443d6283ee3a4cf113fe911 100644 (file)
@@ -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);
 }
index c41eea4ded54134d3649ef7b0cbe519b49bd1509..0782794c75c5d26e0460309916f408b6f5949f60 100644 (file)
@@ -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 */
This page took 0.022548 seconds and 4 git commands to generate.