From 7120957e116a2e72a0e6731ee08c7720052789b6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 May 2004 02:52:24 +0000 Subject: [PATCH] Add a note regarding UTF-8 requirements, proposed by Mariano MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sat May 8 22:50:55 2004 Matthias Clasen * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): Add a note regarding UTF-8 requirements, proposed by Mariano Suárez-Alvarez. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtkactiongroup.c | 5 ++++- 5 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cf814bc2ad..6a64986134 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat May 8 22:50:55 2004 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): + Add a note regarding UTF-8 requirements, proposed by + Mariano Suárez-Alvarez. + Sat May 8 22:43:11 2004 Matthias Clasen * gtk/gtktearoffmenuitem.h: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index cf814bc2ad..6a64986134 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Sat May 8 22:50:55 2004 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): + Add a note regarding UTF-8 requirements, proposed by + Mariano Suárez-Alvarez. + Sat May 8 22:43:11 2004 Matthias Clasen * gtk/gtktearoffmenuitem.h: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index cf814bc2ad..6a64986134 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Sat May 8 22:50:55 2004 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): + Add a note regarding UTF-8 requirements, proposed by + Mariano Suárez-Alvarez. + Sat May 8 22:43:11 2004 Matthias Clasen * gtk/gtktearoffmenuitem.h: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index cf814bc2ad..6a64986134 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Sat May 8 22:50:55 2004 Matthias Clasen + + * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): + Add a note regarding UTF-8 requirements, proposed by + Mariano Suárez-Alvarez. + Sat May 8 22:43:11 2004 Matthias Clasen * gtk/gtktearoffmenuitem.h: diff --git a/gtk/gtkactiongroup.c b/gtk/gtkactiongroup.c index 8af5aaead0..8c8c282fcc 100644 --- a/gtk/gtkactiongroup.c +++ b/gtk/gtkactiongroup.c @@ -1029,7 +1029,10 @@ dgettext_swapped (const gchar *msgid, * * Sets the translation domain and uses dgettext() for translating the * @label and @tooltip of #GtkActionEntrys added by - * gtk_action_group_add_actions(). + * gtk_action_group_add_actions(). Note that GTK+ expects all strings + * to be encoded in UTF-8, therefore the translation domain must have + * its codeset set to UTF-8, see bind_textdomain_codeset() in the + * gettext() documentation. * * If you're not using gettext() for localization, see * gtk_action_group_set_translate_func().