[Gpredict-svn] SF.net SVN: gpredict:[548] trunk
Real time satellite tracking and orbit prediction
Status: Beta
Brought to you by:
csete
|
From: <fi...@us...> - 2009-12-24 12:55:30
|
Revision: 548
http://gpredict.svn.sourceforge.net/gpredict/?rev=548&view=rev
Author: fillods
Date: 2009-12-24 12:55:12 +0000 (Thu, 24 Dec 2009)
Log Message:
-----------
- Clean hangup with rigctld/rotctld
- Misc fr.po update
Modified Paths:
--------------
trunk/po/fr.po
trunk/src/gtk-rig-ctrl.c
trunk/src/gtk-rot-ctrl.c
Modified: trunk/po/fr.po
===================================================================
--- trunk/po/fr.po 2009-12-24 10:36:39 UTC (rev 547)
+++ trunk/po/fr.po 2009-12-24 12:55:12 UTC (rev 548)
@@ -359,7 +359,7 @@
#: ../src/gtk-polar-view-popup.c:107 ../src/gtk-sat-list-popup.c:97
#: ../src/gtk-sat-map-popup.c:106 ../src/gtk-single-sat.c:837
msgid "Show next pass"
-msgstr "Montre prochain passage"
+msgstr "Montre le prochain passage"
#: ../src/gtk-polar-view-popup.c:115 ../src/gtk-sat-list-popup.c:108
#: ../src/gtk-sat-map-popup.c:114 ../src/gtk-single-sat.c:851
@@ -1794,22 +1794,20 @@
msgstr ""
#: ../src/gtk-single-sat.c:73
-#, fuzzy
msgid "Sig. Loss"
-msgstr "Perte"
+msgstr "Perte Sig."
#: ../src/gtk-single-sat.c:74
msgid "Sig. Delay"
-msgstr ""
+msgstr "Délai Sig."
#: ../src/gtk-single-sat.c:75
msgid "Mean Anom."
msgstr ""
#: ../src/gtk-single-sat.c:77
-#, fuzzy
msgid "Orbit Num."
-msgstr "Num Orbite"
+msgstr "Num. Orbite"
#: ../src/gtk-single-sat.c:84
msgid "Azimuth of the satellite"
@@ -2272,7 +2270,7 @@
"Satellites skipped:\t 0\n"
"Missing Satellites:\t 0\n"
msgstr ""
-"Satellites mis-à-jour:\t 0\n"
+"Satellites mis à jour:\t 0\n"
"Satellites sautés: \t 0\n"
"Satellites manquants: \t 0\n"
@@ -3212,9 +3210,8 @@
msgstr "Info Satellite"
#: ../src/sat-info.c:427
-#, fuzzy
msgid "No transponders"
-msgstr "Transpondeurs"
+msgstr "Aucun Transpondeur"
#. we have a range
#: ../src/sat-info.c:454
@@ -5029,10 +5026,10 @@
"Missing Satellites:\t %d\n"
"New Satellites:\t\t %d"
msgstr ""
-"Satellites mis-à-jour:\t %d\n"
+"Satellites mis à jour:\t %d\n"
"Satellites sautés: \t %d\n"
"Satellites manquants: \t %d\n"
-"Nouveaux Satellites: \t %d"
+"Nouveaux satellites: \t %d"
#: ../src/tle-update.c:337
#, c-format
Modified: trunk/src/gtk-rig-ctrl.c
===================================================================
--- trunk/src/gtk-rig-ctrl.c 2009-12-24 10:36:39 UTC (rev 547)
+++ trunk/src/gtk-rig-ctrl.c 2009-12-24 12:55:12 UTC (rev 548)
@@ -1860,13 +1860,13 @@
if (conf->ptt == PTT_TYPE_CAT) {
/* send command get_ptt (t) */
- buff = g_strdup_printf ("t");
- size = 1;
+ buff = g_strdup_printf ("t\x0aq\x0a");
+ size = 4;
}
else {
/* send command \get_dcd */
- buff = g_strdup_printf ("%c",0x8b);
- size = 1;
+ buff = g_strdup_printf ("%c\x0aq\x0a",0x8b);
+ size = 4;
}
written = send(sock, buff, size, 0);
@@ -1982,9 +1982,9 @@
}
/* send command */
- buff = g_strdup_printf ("F %10.0f", freq);
+ buff = g_strdup_printf ("F %10.0f\x0aq\x0a", freq);
- size = 12;
+ size = 15;
written = send(sock, buff, size, 0);
if (written != size) {
sat_log_log (SAT_LOG_LEVEL_ERROR,
@@ -2065,9 +2065,9 @@
}
/* send command */
- buff = g_strdup_printf ("f");
+ buff = g_strdup_printf ("f\x0aq\x0a");
- size = 1;
+ size = 4;
written = send(sock, buff, size, 0);
if (written != size) {
sat_log_log (SAT_LOG_LEVEL_ERROR,
@@ -2178,23 +2178,23 @@
/* prepare command */
switch (vfo) {
case VFO_A:
- buff = g_strdup_printf ("V VFOA");
- size = 6;
+ buff = g_strdup_printf ("V VFOA\x0aq\x0a");
+ size = 9;
break;
case VFO_B:
- buff = g_strdup_printf ("V VFOB");
- size = 6;
+ buff = g_strdup_printf ("V VFOB\x0aq\x0a");
+ size = 9;
break;
case VFO_MAIN:
- buff = g_strdup_printf ("V Main");
- size = 6;
+ buff = g_strdup_printf ("V Main\x0aq\x0a");
+ size = 9;
break;
case VFO_SUB:
- buff = g_strdup_printf ("V Sub");
- size = 5;
+ buff = g_strdup_printf ("V Sub\x0aq\x0a");
+ size = 8;
break;
default:
Modified: trunk/src/gtk-rot-ctrl.c
===================================================================
--- trunk/src/gtk-rot-ctrl.c 2009-12-24 10:36:39 UTC (rev 547)
+++ trunk/src/gtk-rot-ctrl.c 2009-12-24 12:55:12 UTC (rev 548)
@@ -991,9 +991,9 @@
}
/* send command */
- buff = g_strdup_printf ("p");
+ buff = g_strdup_printf ("p\x0aq\x0a");
- size = 1;
+ size = 4;
written = send(sock, buff, size, 0);
if (written != size) {
sat_log_log (SAT_LOG_LEVEL_ERROR,
@@ -1114,9 +1114,9 @@
/* send command */
g_ascii_formatd (azstr, 8, "%7.2f", az);
g_ascii_formatd (elstr, 8, "%7.2f", el);
- buff = g_strdup_printf ("P %s %s", azstr, elstr);
+ buff = g_strdup_printf ("P %s %s\x0aq\x0a", azstr, elstr);
- size = 17;
+ size = 20;
written = send(sock, buff, size, 0);
if (written != size) {
sat_log_log (SAT_LOG_LEVEL_ERROR,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|