From 0e29ea75a7daf3d3b1adc40aa5348adbdafc428c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mario=20Bl=C3=A4ttermann?= Date: Sat, 11 Dec 2010 11:09:58 +0100 Subject: [PATCH] Make all g_warning and g_message untranslatable --- libglabels/template.c | 2 +- libglabels/xml-template.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libglabels/template.c b/libglabels/template.c index 5a1cf815..b28a6c24 100644 --- a/libglabels/template.c +++ b/libglabels/template.c @@ -135,7 +135,7 @@ lgl_template_new_from_equiv (const gchar *brand, } else { - g_message (_("Equivalent part (\"%s\") for \"%s\", not previously defined."), + g_message ("Equivalent part (\"%s\") for \"%s\", not previously defined.", equiv_part, part); } diff --git a/libglabels/xml-template.c b/libglabels/xml-template.c index 52381383..8e9f5b3d 100644 --- a/libglabels/xml-template.c +++ b/libglabels/xml-template.c @@ -228,7 +228,7 @@ lgl_xml_template_parse_template_node (const xmlNodePtr template_node) } else { - g_message (_("Missing name or brand/part attributes.")); + g_message ("Missing name or brand/part attributes."); } } @@ -249,7 +249,7 @@ lgl_xml_template_parse_template_node (const xmlNodePtr template_node) if (paper == NULL) { /* This should always be an id, but just in case a name slips by! */ - g_message (_("Unknown page size id \"%s\", trying as name"), + g_message ("Unknown page size id \"%s\", trying as name", paper_id); paper = lgl_db_lookup_paper_from_name (paper_id); g_free (paper_id); @@ -261,7 +261,7 @@ lgl_xml_template_parse_template_node (const xmlNodePtr template_node) } else { page_width = 612; page_height = 792; - g_message (_("Unknown page size id or name \"%s\""), + g_message ("Unknown page size id or name \"%s\"", paper_id); } lgl_paper_free (paper); @@ -280,7 +280,7 @@ lgl_xml_template_parse_template_node (const xmlNodePtr template_node) if (!template) { - g_message (_("Forward references not supported.")); + g_message ("Forward references not supported."); return NULL; } } @@ -740,7 +740,7 @@ static void xml_parse_alias_node (xmlNodePtr alias_node, lglTemplate *template) { - g_message (_("Skipping deprecated \"Alias\" node.")); + g_message ("Skipping deprecated \"Alias\" node."); } @@ -779,7 +779,7 @@ lgl_xml_template_write_templates_to_file (GList *templates, filename = g_filename_from_utf8 (utf8_filename, -1, NULL, NULL, NULL); if (!filename) { - g_message (_("Utf8 conversion error.")); + g_message ("Utf8 conversion error."); return -1; } else -- 2.39.5