[glabels] Make all g_warning and g_message untranslatable
- From: Mario Blättermann <mariobl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels] Make all g_warning and g_message untranslatable
- Date: Sat, 11 Dec 2010 10:13:59 +0000 (UTC)
commit 0e29ea75a7daf3d3b1adc40aa5348adbdafc428c
Author: Mario Blättermann <mariobl gnome org>
Date: Sat Dec 11 11:09:58 2010 +0100
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 5a1cf81..b28a6c2 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 5238138..8e9f5b3 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]