[libgda] Fix translator comments
- From: Piotr Drąg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Fix translator comments
- Date: Sat, 28 Jan 2017 00:24:34 +0000 (UTC)
commit 20c47a6dd5146628156d39a095bbf1d725b48d43
Author: Piotr Drąg <piotrdrag gmail com>
Date: Sat Jan 28 01:24:14 2017 +0100
Fix translator comments
They need to be exactly one line above a string to show up in .po files.
libgda/gda-meta-struct.c | 4 ++--
libgda/gda-util.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgda/gda-meta-struct.c b/libgda/gda-meta-struct.c
index df3bd07..849b159 100644
--- a/libgda/gda-meta-struct.c
+++ b/libgda/gda-meta-struct.c
@@ -128,9 +128,9 @@ gda_meta_struct_class_init (GdaMetaStructClass *klass) {
object_class->set_property = gda_meta_struct_set_property;
object_class->get_property = gda_meta_struct_get_property;
g_object_class_install_property (object_class, PROP_STORE,
- /* To translators: GdaMetaStore is an object holding meta data
information
- * which will be used as an information source */
g_param_spec_object ("meta-store", NULL,
+ /* To translators: GdaMetaStore is an object
holding meta data information
+ * which will be used as an information source
*/
_ ("GdaMetaStore object to fetch information
from"),
GDA_TYPE_META_STORE,
(G_PARAM_WRITABLE | G_PARAM_READABLE |
diff --git a/libgda/gda-util.c b/libgda/gda-util.c
index 8b96a29..5b57773 100644
--- a/libgda/gda-util.c
+++ b/libgda/gda-util.c
@@ -1298,9 +1298,9 @@ gda_compute_dml_statements (GdaConnection *cnc, GdaStatement *select_stmt, gbool
if (insert_stmt) {
if (!ist->fields_list) {
/* nothing to insert => don't create statement */
- /* To translators: this error message occurs when no "INSERT INTO <table> (field1,
...)..."
- * SQL statement can be computed because no table field can be used */
g_set_error (error, GDA_SQL_ERROR, GDA_SQL_STRUCTURE_CONTENTS_ERROR,
+ /* To translators: this error message occurs when no "INSERT INTO
<table> (field1, ...)..."
+ * SQL statement can be computed because no table field can be used */
"%s", _("Could not compute any field to insert into"));
retval = FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]