[gcalctool] Mark strings for translation that were missed



commit 9f1d206019d74ff2952ba82a6faadef2943b6b03
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Apr 20 09:55:02 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 3cfa167..7a9c4b3 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,8 @@ Overview of changes in gcalctool 6.1.0
     * Fix conversion of nautical miles (Bruce Cowan, Bug #648205)
     * Fix some unit labels that were not in plural form (Bug #644681)
     * Use nmi as label for nautical mile, use nm for nanometers (Bug #644682)
+    * 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]