[libgda] Add translator comment to not translate XML node names
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Add translator comment to not translate XML node names
- Date: Fri, 16 Apr 2010 11:12:17 +0000 (UTC)
commit d66bf6d28cc4bbb9fe4f0d3ffd21305437ceb30e
Author: Claude Paroz <claude 2xlibre net>
Date: Fri Apr 16 13:12:09 2010 +0200
Add translator comment to not translate XML node names
tools/browser/data-manager/data-source.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/browser/data-manager/data-source.c b/tools/browser/data-manager/data-source.c
index 642389c..ae04b34 100644
--- a/tools/browser/data-manager/data-source.c
+++ b/tools/browser/data-manager/data-source.c
@@ -245,6 +245,7 @@ data_source_new_from_xml_node (BrowserConnection *bcnc, xmlNodePtr node, GError
}
else {
g_set_error (error, 0, 0,
+ /* Translators: Do not translate "table" nor "query" */
_("Node must be \"table\" or \"query\", and is \"%s\""), (gchar*)node->name);
g_object_unref (source);
source = NULL;
@@ -371,6 +372,7 @@ init_from_table_node (DataSource *source, xmlNodePtr node, GError **error)
tname = xmlGetProp (node, BAD_CAST "name");
if (!tname) {
g_set_error (error, 0, 0,
+ /* Translators: Do not translate "name" */
_("Missing attribute \"name\" for table"));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]