forked from AuroraMiddleware/gtk
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:
parent
466d688fea
commit
9d84e6cda7
@ -369,7 +369,7 @@ gtk_color_button_drag_data_received (GtkWidget *widget,
|
||||
*/
|
||||
if (length != 8)
|
||||
{
|
||||
g_warning (_("Received invalid color data\n"));
|
||||
g_warning ("%s: Received invalid color data", G_GNUC_FUNCTION);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1456,7 +1456,7 @@ ensure_filename_pixbuf (GtkIconSet *icon_set,
|
||||
/* Remove this icon source so we don't keep trying to
|
||||
* load it.
|
||||
*/
|
||||
g_warning (_("Error loading icon: %s"), error->message);
|
||||
g_warning ("Error loading icon: %s", error->message);
|
||||
g_error_free (error);
|
||||
|
||||
icon_set->sources = g_slist_remove (icon_set->sources, source);
|
||||
|
@ -1419,10 +1419,10 @@ choose_icon (GtkIconTheme *icon_theme,
|
||||
|
||||
if (!found)
|
||||
{
|
||||
g_warning (_("Could not find the icon '%s'. The '%s' theme\n"
|
||||
"was not found either, perhaps you need to install it.\n"
|
||||
"You can get a copy from:\n"
|
||||
"\t%s"),
|
||||
g_warning ("Could not find the icon '%s'. The '%s' theme\n"
|
||||
"was not found either, perhaps you need to install it.\n"
|
||||
"You can get a copy from:\n"
|
||||
"\t%s",
|
||||
icon_names[0], DEFAULT_THEME_NAME, "http://icon-theme.freedesktop.org/releases");
|
||||
}
|
||||
}
|
||||
|
@ -1661,7 +1661,7 @@ gtk_rc_find_pixmap_in_path (GtkSettings *settings,
|
||||
GScanner *scanner,
|
||||
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);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -162,16 +162,16 @@ gtk_recent_action_unselect_uri (GtkRecentChooser *chooser,
|
||||
static void
|
||||
gtk_recent_action_select_all (GtkRecentChooser *chooser)
|
||||
{
|
||||
g_warning (_("This function is not implemented for "
|
||||
"widgets of class '%s'"),
|
||||
g_warning ("This function is not implemented for "
|
||||
"widgets of class '%s'",
|
||||
g_type_name (G_OBJECT_TYPE (chooser)));
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_recent_action_unselect_all (GtkRecentChooser *chooser)
|
||||
{
|
||||
g_warning (_("This function is not implemented for "
|
||||
"widgets of class '%s'"),
|
||||
g_warning ("This function is not implemented for "
|
||||
"widgets of class '%s'",
|
||||
g_type_name (G_OBJECT_TYPE (chooser)));
|
||||
}
|
||||
|
||||
|
@ -605,16 +605,16 @@ gtk_recent_chooser_menu_unselect_uri (GtkRecentChooser *chooser,
|
||||
static void
|
||||
gtk_recent_chooser_menu_select_all (GtkRecentChooser *chooser)
|
||||
{
|
||||
g_warning (_("This function is not implemented for "
|
||||
"widgets of class '%s'"),
|
||||
g_warning ("This function is not implemented for "
|
||||
"widgets of class '%s'",
|
||||
g_type_name (G_OBJECT_TYPE (chooser)));
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_recent_chooser_menu_unselect_all (GtkRecentChooser *chooser)
|
||||
{
|
||||
g_warning (_("This function is not implemented for "
|
||||
"widgets of class '%s'"),
|
||||
g_warning ("This function is not implemented for "
|
||||
"widgets of class '%s'",
|
||||
g_type_name (G_OBJECT_TYPE (chooser)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user