[chronojump] Added to translatable strings
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added to translatable strings
- Date: Sat, 17 Feb 2018 13:05:46 +0000 (UTC)
commit 53805d4e4843c0d471676bbd2c6851ef17a5071b
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Feb 17 14:05:18 2018 +0100
Added to translatable strings
glade/app1.glade | 8 +++++++-
po/POTFILES.in | 1 +
src/encoderRhythm.cs | 2 +-
3 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 73f5640..88b20e2 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1595,6 +1595,9 @@
<placeholder/>
</child>
<child>
+ <placeholder/>
+ </child>
+ <child>
<widget class="GtkLabel"
id="label_start_selector_jumps">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -17117,7 +17120,7 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="tooltip"
translatable="yes">Adaptative rhythm</property>
<property name="xalign">0</property>
- <property name="label">Rhythm</property>
+ <property name="label"
translatable="yes">Rhythm</property>
<property name="justify">center</property>
</widget>
<packing>
@@ -22969,6 +22972,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2ffc97a..33f0497 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -54,6 +54,7 @@ src/chronopic2016.cs
src/chronopicRegister.cs
src/constants.cs
src/encoder.cs
+src/encoderRhythm.cs
src/execute/event.cs
src/execute/jump.cs
src/execute/multiChronopic.cs
diff --git a/src/encoderRhythm.cs b/src/encoderRhythm.cs
index f79c583..db15da8 100644
--- a/src/encoderRhythm.cs
+++ b/src/encoderRhythm.cs
@@ -348,7 +348,7 @@ public class EncoderRhythmExecute
if(currentPhase == phases.RESTCLUSTER)
restTime = encoderRhythm.RestClustersSeconds - phaseSeconds;
- textRest = "Resting " + Util.TrimDecimals(restTime, 1) + " s";
+ textRest = string.Format(Catalog.GetString("Resting {0} s"),
Util.TrimDecimals(restTime, 1));
}
LogB.Information("currentPhase = " + currentPhase.ToString());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]