diff --git a/ChangeLog b/ChangeLog index a4cb1f1f48..9f61704e3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-04-27 Matthias Clasen + + * gtkassistant.c: + * gtkiconfactory.c: + * gtkiconview.c: + * gtkpapersize.c: + * gtkrecentmanager.c: + * gtktextiter.c: Internalize some strings, pointed out + by Damon Chaplin. + 2007-04-27 Xan Lopez Support inline-selection in entries (#318459) diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 49a519dba7..6b4dea7398 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -2265,7 +2265,7 @@ gtk_assistant_accessible_get_type (void) g_type_query (derived_atk_type, &query); type = g_type_register_static_simple (derived_atk_type, - "GtkAssistantAccessible", + I_("GtkAssistantAccessible"), query.class_size, (GClassInitFunc) gtk_assistant_accessible_class_init, query.instance_size, @@ -2315,7 +2315,7 @@ gtk_assistant_accessible_factory_get_type (void) if (!type) { type = g_type_register_static_simple (ATK_TYPE_OBJECT_FACTORY, - "GtkAssistantAccessibleFactory", + I_("GtkAssistantAccessibleFactory"), sizeof (AtkObjectFactoryClass), (GClassInitFunc) gtk_assistant_accessible_factory_class_init, sizeof (AtkObjectFactory), diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c index f94119a790..f80a5d58b4 100644 --- a/gtk/gtkiconfactory.c +++ b/gtk/gtkiconfactory.c @@ -1928,7 +1928,7 @@ gtk_icon_source_get_type (void) static GType our_type = 0; if (our_type == 0) - our_type = g_boxed_type_register_static ("GtkIconSource", + our_type = g_boxed_type_register_static (I_("GtkIconSource"), (GBoxedCopyFunc) gtk_icon_source_copy, (GBoxedFreeFunc) gtk_icon_source_free); diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index f6ca5d9084..728447dbb4 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -9071,7 +9071,7 @@ gtk_icon_view_accessible_get_type (void) tinfo.instance_size = query.instance_size; type = g_type_register_static (derived_atk_type, - "GtkIconViewAccessible", + I_("GtkIconViewAccessible"), &tinfo, 0); g_type_add_interface_static (type, ATK_TYPE_COMPONENT, &atk_component_info); @@ -9134,7 +9134,7 @@ gtk_icon_view_accessible_factory_get_type (void) }; type = g_type_register_static (ATK_TYPE_OBJECT_FACTORY, - "GtkIconViewAccessibleFactory", + I_("GtkIconViewAccessibleFactory"), &tinfo, 0); } return type; diff --git a/gtk/gtkpapersize.c b/gtk/gtkpapersize.c index 4d44f79b79..00292df917 100644 --- a/gtk/gtkpapersize.c +++ b/gtk/gtkpapersize.c @@ -52,7 +52,7 @@ gtk_paper_size_get_type (void) static GType our_type = 0; if (our_type == 0) - our_type = g_boxed_type_register_static ("GtkPaperSize", + our_type = g_boxed_type_register_static (I_("GtkPaperSize"), (GBoxedCopyFunc)gtk_paper_size_copy, (GBoxedFreeFunc)gtk_paper_size_free); return our_type; diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c index 05104737d0..c8e16828ec 100644 --- a/gtk/gtkrecentmanager.c +++ b/gtk/gtkrecentmanager.c @@ -1438,7 +1438,7 @@ gtk_recent_info_get_type (void) static GType info_type = 0; if (!info_type) - info_type = g_boxed_type_register_static ("GtkRecentInfo", + info_type = g_boxed_type_register_static (I_("GtkRecentInfo"), (GBoxedCopyFunc) gtk_recent_info_ref, (GBoxedFreeFunc) gtk_recent_info_unref); return info_type; diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index efbad1cc31..a23d02b2c8 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -29,6 +29,7 @@ #include "gtktextiter.h" #include "gtktextbtree.h" #include "gtktextiterprivate.h" +#include "gtkintl.h" #include "gtkdebug.h" #include "gtkalias.h" #include @@ -437,7 +438,7 @@ gtk_text_iter_get_type (void) static GType our_type = 0; if (our_type == 0) - our_type = g_boxed_type_register_static ("GtkTextIter", + our_type = g_boxed_type_register_static (I_("GtkTextIter"), (GBoxedCopyFunc) gtk_text_iter_copy, (GBoxedFreeFunc) gtk_text_iter_free);