[gnumeric] Solver: mark certain strings for translation.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Solver: mark certain strings for translation.
- Date: Sat, 30 Jun 2012 13:59:49 +0000 (UTC)
commit be6129a291d64e66087821a9329b74c5eb6b9e73
Author: Morten Welinder <terra gnome org>
Date: Sat Jun 30 09:59:26 2012 -0400
Solver: mark certain strings for translation.
NEWS | 3 +++
src/tools/ChangeLog | 5 +++++
src/tools/gnm-solver.c | 10 +++++-----
3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/NEWS b/NEWS
index 25a535c..bf3bc50 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
Gnumeric 1.11.5
+Morten:
+ * Solver translation fixes.
+
--------------------------------------------------------------------------
Gnumeric 1.11.4
diff --git a/src/tools/ChangeLog b/src/tools/ChangeLog
index 085e0c3..866c213 100644
--- a/src/tools/ChangeLog
+++ b/src/tools/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-30 Morten Welinder <terra gnome org>
+
+ * gnm-solver.c (gnm_sub_solver_locate_binary): Mark various
+ strings for translation.
+
2012-06-25 Morten Welinder <terra gnome org>
* Release 1.11.4
diff --git a/src/tools/gnm-solver.c b/src/tools/gnm-solver.c
index 617252c..0a61a55 100644
--- a/src/tools/gnm-solver.c
+++ b/src/tools/gnm-solver.c
@@ -1601,11 +1601,11 @@ gnm_sub_solver_locate_binary (const char *binary, const char *solver,
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
- "Gnumeric is unable to locate the program <i>%s</i> needed "
- "for the <i>%s</i> solver. For more information see %s.\n\n"
- "Would you like to locate it yourself?",
+ _("Gnumeric is unable to locate the program <i>%s</i> needed "
+ "for the <i>%s</i> solver. For more information see %s.\n\n"
+ "Would you like to locate it yourself?"),
binary, solver, url);
- title = g_strdup_printf ("Unable to locate %s", binary);
+ title = g_strdup_printf (_("Unable to locate %s"), binary);
g_object_set (G_OBJECT (dialog),
"title", title,
NULL);
@@ -1621,7 +1621,7 @@ gnm_sub_solver_locate_binary (const char *binary, const char *solver,
break;
}
- title = g_strdup_printf ("Locate the %s program", binary);
+ title = g_strdup_printf (_("Locate the %s program"), binary);
fsel = GTK_FILE_CHOOSER
(g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"action", GTK_FILE_CHOOSER_ACTION_OPEN,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]