Drop the last remaining translated g_warning/g_error calls

http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html

https://bugzilla.gnome.org/show_bug.cgi?id=648943
This commit is contained in:
Colin Walters
2011-04-29 10:32:56 -04:00
parent 466d688fea
commit 9d84e6cda7
6 changed files with 15 additions and 15 deletions

View File

@ -369,7 +369,7 @@ gtk_color_button_drag_data_received (GtkWidget *widget,
*/ */
if (length != 8) if (length != 8)
{ {
g_warning (_("Received invalid color data\n")); g_warning ("%s: Received invalid color data", G_GNUC_FUNCTION);
return; return;
} }

View File

@ -1456,7 +1456,7 @@ ensure_filename_pixbuf (GtkIconSet *icon_set,
/* Remove this icon source so we don't keep trying to /* Remove this icon source so we don't keep trying to
* load it. * load it.
*/ */
g_warning (_("Error loading icon: %s"), error->message); g_warning ("Error loading icon: %s", error->message);
g_error_free (error); g_error_free (error);
icon_set->sources = g_slist_remove (icon_set->sources, source); icon_set->sources = g_slist_remove (icon_set->sources, source);

View File

@ -1419,10 +1419,10 @@ choose_icon (GtkIconTheme *icon_theme,
if (!found) if (!found)
{ {
g_warning (_("Could not find the icon '%s'. The '%s' theme\n" g_warning ("Could not find the icon '%s'. The '%s' theme\n"
"was not found either, perhaps you need to install it.\n" "was not found either, perhaps you need to install it.\n"
"You can get a copy from:\n" "You can get a copy from:\n"
"\t%s"), "\t%s",
icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases"); icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases");
} }
} }

View File

@ -1661,7 +1661,7 @@ gtk_rc_find_pixmap_in_path (GtkSettings *settings,
GScanner *scanner, GScanner *scanner,
const gchar *pixmap_file) const gchar *pixmap_file)
{ {
g_warning (_("Unable to locate image file in pixmap_path: \"%s\""), g_warning ("Unable to locate image file in pixmap_path: \"%s\"",
pixmap_file); pixmap_file);
return NULL; return NULL;
} }

View File

@ -162,16 +162,16 @@ gtk_recent_action_unselect_uri (GtkRecentChooser *chooser,
static void static void
gtk_recent_action_select_all (GtkRecentChooser *chooser) gtk_recent_action_select_all (GtkRecentChooser *chooser)
{ {
g_warning (_("This function is not implemented for " g_warning ("This function is not implemented for "
"widgets of class '%s'"), "widgets of class '%s'",
g_type_name (G_OBJECT_TYPE (chooser))); g_type_name (G_OBJECT_TYPE (chooser)));
} }
static void static void
gtk_recent_action_unselect_all (GtkRecentChooser *chooser) gtk_recent_action_unselect_all (GtkRecentChooser *chooser)
{ {
g_warning (_("This function is not implemented for " g_warning ("This function is not implemented for "
"widgets of class '%s'"), "widgets of class '%s'",
g_type_name (G_OBJECT_TYPE (chooser))); g_type_name (G_OBJECT_TYPE (chooser)));
} }

View File

@ -605,16 +605,16 @@ gtk_recent_chooser_menu_unselect_uri (GtkRecentChooser *chooser,
static void static void
gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser) gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser)
{ {
g_warning (_("This function is not implemented for " g_warning ("This function is not implemented for "
"widgets of class '%s'"), "widgets of class '%s'",
g_type_name (G_OBJECT_TYPE (chooser))); g_type_name (G_OBJECT_TYPE (chooser)));
} }
static void static void
gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser) gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser)
{ {
g_warning (_("This function is not implemented for " g_warning ("This function is not implemented for "
"widgets of class '%s'"), "widgets of class '%s'",
g_type_name (G_OBJECT_TYPE (chooser))); g_type_name (G_OBJECT_TYPE (chooser)));
} }