Internalize some strings, pointed out by Damon Chaplin.

2007-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtkassistant.c:
        * gtkiconfactory.c:
        * gtkiconview.c:
        * gtkpapersize.c:
        * gtkrecentmanager.c:
        * gtktextiter.c: Internalize some strings, pointed out
        by Damon Chaplin.



svn path=/trunk/; revision=17661
This commit is contained in:
Matthias Clasen 2007-04-27 23:10:38 +00:00 committed by Matthias Clasen
parent f478d9f0f6
commit 2824f4597d
7 changed files with 19 additions and 8 deletions

View File

@ -1,3 +1,13 @@
2007-04-27 Matthias Clasen <mclasen@redhat.com>
* 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 <xan@gnome.org>
Support inline-selection in entries (#318459)

View File

@ -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),

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -29,6 +29,7 @@
#include "gtktextiter.h"
#include "gtktextbtree.h"
#include "gtktextiterprivate.h"
#include "gtkintl.h"
#include "gtkdebug.h"
#include "gtkalias.h"
#include <string.h>
@ -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);