summaryrefslogtreecommitdiff
path: root/gtk/gtktextbufferserialize.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-05-09 02:25:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-05-09 02:25:46 +0000
commit9b62142d44628b9e25c18ad7816ad42a3ff87441 (patch)
tree1c5fa7835f282685103ca435db3f38cecc76525a /gtk/gtktextbufferserialize.c
parenta8f0c8d82c7554adf34bf5ae1c999c5819361193 (diff)
downloadgtk+-9b62142d44628b9e25c18ad7816ad42a3ff87441.tar.gz
Fix some typos in messages. (#341091, Tino Meinen)
2006-05-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder): * gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in messages. (#341091, Tino Meinen)
Diffstat (limited to 'gtk/gtktextbufferserialize.c')
-rw-r--r--gtk/gtktextbufferserialize.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtktextbufferserialize.c b/gtk/gtktextbufferserialize.c
index f8cb1fe5f4..8cad796bc6 100644
--- a/gtk/gtktextbufferserialize.c
+++ b/gtk/gtktextbufferserialize.c
@@ -798,8 +798,8 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("The attribute \"name\" were found twice on the <%s> element"),
- element_name);
+ _("The attribute \"%s\" was found twice on the <%s> element"),
+ "name", element_name);
return FALSE;
}
@@ -824,8 +824,8 @@ check_id_or_name (GMarkupParseContext *context,
set_error (error, context,
G_MARKUP_ERROR,
G_MARKUP_ERROR_PARSE,
- _("The attribute \"id\" were found twice on the <%s> element"),
- element_name);
+ _("The attribute \"%s\" was found twice on the <%s> element"),
+ "id", element_name);
return FALSE;
}
@@ -848,7 +848,7 @@ check_id_or_name (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("<%s> element neither a \"name\" nor an \"id\" element"), element_name);
+ _("<%s> element has neither a \"name\" nor an \"id\" element"), element_name);
return FALSE;
}
@@ -1194,7 +1194,7 @@ parse_attr_element (GMarkupParseContext *context,
{
set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
- _("\"%s\" is not a valid value of for attribute \"%s\""),
+ _("\"%s\" is not a valid value for attribute \"%s\""),
value, name);
g_value_unset (&gvalue);
return;