gnome-terminal r3091 - trunk/src



Author: chpe
Date: Wed Sep 24 20:53:00 2008
New Revision: 3091
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3091&view=rev

Log:
Remove \n from GError messages.

Modified:
   trunk/src/terminal.c

Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c	(original)
+++ trunk/src/terminal.c	Wed Sep 24 20:53:00 2008
@@ -341,7 +341,7 @@
       g_set_error(error,
                   G_OPTION_ERROR,
                   G_OPTION_ERROR_BAD_VALUE,
-                  _("Argument to \"%s\" is not a valid command: %s\n"),
+                  _("Argument to \"%s\" is not a valid command: %s"),
                    "--command/-e",
                   err->message);
       g_error_free (err);
@@ -709,7 +709,7 @@
       g_set_error (error,
                    G_OPTION_ERROR,
                    G_OPTION_ERROR_BAD_VALUE,
-                   _("\"%s\" is not a valid zoom factor\n"),
+                   _("\"%s\" is not a valid zoom factor"),
                    value);
       return FALSE;
     }
@@ -764,7 +764,7 @@
                        G_OPTION_ERROR,
                        G_OPTION_ERROR_BAD_VALUE,
                        _("Option \"%s\" requires specifying the command to run"
-                       " on the rest of the command line\n"),
+                       " on the rest of the command line"),
                        "--execute/-x");
           return FALSE;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]