[libgda] GdaSql: marked some strings as translatable
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaSql: marked some strings as translatable
- Date: Thu, 1 Mar 2012 19:55:20 +0000 (UTC)
commit 884a3c680656fe9c1d3640a0a1bad83d65b6868c
Author: Vivien Malerba <malerba gnome-db org>
Date: Thu Mar 1 20:52:33 2012 +0100
GdaSql: marked some strings as translatable
tools/gda-sql.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/tools/gda-sql.c b/tools/gda-sql.c
index fc01917..611bdc6 100644
--- a/tools/gda-sql.c
+++ b/tools/gda-sql.c
@@ -3659,7 +3659,10 @@ extra_command_bind_cnc (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, c
g_string_free (string, TRUE);
return NULL;
}
- g_string_append_printf (string, "\n %s in the '%s' namespace", args[i], args[i]);
+ g_string_append (string, "\n ");
+ /* Translators: this string indicates that all the tables in connection named in the
+ * 1st "%s" will appear in the SQL namespace named as the 2nd "%s" */
+ g_string_append_printf (string, _("%s in the '%s' namespace"), args[i], args[i]);
}
else {
GdaDataModel *src;
@@ -3670,7 +3673,10 @@ extra_command_bind_cnc (SqlConsole *console, G_GNUC_UNUSED GdaConnection *cnc, c
g_string_free (string, TRUE);
return NULL;
}
- g_string_append_printf (string, "\n %s mapped to the %s table", args[i],
+ g_string_append (string, "\n ");
+ /* Translators: this string indicates that the dataset named in the 1st "%s"
+ * will appear as the table named as the 2nd "%s" */
+ g_string_append_printf (string, _("%s mapped to the %s table"), args[i],
gda_vconnection_data_model_get_table_name (GDA_VCONNECTION_DATA_MODEL (virtual), src));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]