[chronojump] All encoder exercises are translated: fixes bug
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] All encoder exercises are translated: fixes bug
- Date: Fri, 1 Mar 2013 12:50:35 +0000 (UTC)
commit 0aa356fa16ec6d1f401ec213643e13f5481e7f6e
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Mar 1 11:22:38 2013 +0100
All encoder exercises are translated: fixes bug
src/gui/encoder.cs | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 944d30a..30474ce 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -1321,11 +1321,7 @@ public partial class ChronoJumpWindow
string [] exerciseNamesToCombo = new String [encoderExercises.Count];
int i =0;
foreach(EncoderExercise ex in encoderExercises) {
- string nameTranslated = ex.name;
- //do not translated user created exercises
- //this names are in SqliteEncoder.initializeTableEncoderExercise()
- if(ex.name == "Bench press" || ex.name == "Squat" || ex.name == "Jump")
- nameTranslated = Catalog.GetString(ex.name);
+ string nameTranslated = Catalog.GetString(ex.name);
encoderExercisesTranslationAndBodyPWeight[i] =
ex.uniqueID + ":" + ex.name + ":" + nameTranslated + ":" +
ex.percentBodyWeight;
exerciseNamesToCombo[i] = Catalog.GetString(ex.name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]