[chronojump] Better message for Chronopic connection
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Better message for Chronopic connection
- Date: Fri, 6 Jan 2017 00:25:42 +0000 (UTC)
commit b336539bba5f27957329ec88d7ccdb00179ddcc2
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Jan 6 01:18:21 2017 +0100
Better message for Chronopic connection
po/POTFILES.in | 1 +
src/chronopic2016.cs | 5 +++--
src/gui/chronopic.cs | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ea70420..b6b31eb 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -49,6 +49,7 @@ libcesarplayer/video-utils.c
src/chronojump.cs
src/chronojumpImporter.cs
src/chronopic.cs
+src/chronopic2016.cs
src/constants.cs
src/encoder.cs
src/execute/event.cs
diff --git a/src/chronopic2016.cs b/src/chronopic2016.cs
index 79d0cd0..5e117d7 100644
--- a/src/chronopic2016.cs
+++ b/src/chronopic2016.cs
@@ -21,6 +21,7 @@ using System;
using System.IO.Ports;
using System.Threading;
using Gtk;
+using Mono.Unix;
public class Chronopic2016
{
@@ -87,8 +88,8 @@ public class Chronopic2016
Gtk.Label labelMessage = new Gtk.Label();
labelMessage.Text = labelStr + "\n" +
- "\nPort: " + crp.Port +
- "\nSerial Number: " + crp.SerialNumber;
+ "\n" + Catalog.GetString("Port") + ": " + crp.Port +
+ "\n" + Catalog.GetString("Serial Number") + ": " + crp.SerialNumber;
vbox_main.Add(labelMessage);
progressbar = new Gtk.ProgressBar();
diff --git a/src/gui/chronopic.cs b/src/gui/chronopic.cs
index 750e937..cf4c22d 100644
--- a/src/gui/chronopic.cs
+++ b/src/gui/chronopic.cs
@@ -121,7 +121,7 @@ public partial class ChronoJumpWindow
new EventHandler(on_connection_contacts_real_done);
cp2016.ConnectContactsReal(app1, crp, numCP,
- "Press TEST button on Chronopic to stablish initial communication"); //TODO:
translate this
+ Catalog.GetString("Please touch the platform or click Chronopic TEST
button"));
}
private void on_connection_contacts_real_done (object o, EventArgs args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]