[gcalctool/gnome-3-0] Mark strings for translation that were missed



commit d160767e0da26bfe2c3cdf6ec10f80ae4458473c
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Apr 20 09:53:27 2011 +1000

    Mark strings for translation that were missed

 NEWS                |    2 ++
 src/financial.c     |    2 +-
 src/math-equation.c |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index c78e578..afdfb42 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 Overview of changes in gcalctool 6.0.1
 
     * Fix conversion of nautical miles (Bruce Cowan, Bug #648205)
+    * Mark strings for translation that were missed
+      (Kjartan Maraas, Bug #646093)
 
 Overview of changes in gcalctool 6.0.0
 
diff --git a/src/financial.c b/src/financial.c
index 9bc4a74..fa0e33d 100644
--- a/src/financial.c
+++ b/src/financial.c
@@ -67,7 +67,7 @@ calc_ddb(MathEquation *equation, MPNumber *t, MPNumber *cost, MPNumber *life, MP
     }
 
     if (len >= 0) {
-        math_equation_set_status (equation, ("Error: the number of periods must be positive"));
+        math_equation_set_status (equation, _("Error: the number of periods must be positive"));
         mp_set_from_integer(0, t);
     }
 }
diff --git a/src/math-equation.c b/src/math-equation.c
index 0109a67..a7ffaca 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -1167,7 +1167,7 @@ math_equation_show_in_progress(gpointer data)
 {
     MathEquation *equation = MATH_EQUATION(data);
     if (equation->priv->in_solve)
-        math_equation_set_status(equation, "Calculating");
+        math_equation_set_status(equation, _("Calculating"));
     return false;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]