Adjust Poseidon Mouth piece event strings

After some feedback on the mailing list, these strings where preferred.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-11-20 21:02:37 +01:00 committed by Dirk Hohndel
parent 2f7a7f3e6a
commit 72c47a856e

10
file.c
View file

@ -597,23 +597,23 @@ int parse_txt_file(const char *filename, const char *csv)
case 3:
switch (type) {
case 0:
//MouthPiece position event: 0=OC, 1=CC, 2=UN, 3=NC
//Mouth piece position event: 0=OC, 1=CC, 2=UN, 3=NC
switch (value) {
case 0:
add_event(dc, cur_sampletime, 0, 0, 0,
QT_TRANSLATE_NOOP("gettextFromC", "MouthPiece position OC"));
QT_TRANSLATE_NOOP("gettextFromC", "Mouth piece position OC"));
break;
case 1:
add_event(dc, cur_sampletime, 0, 0, 0,
QT_TRANSLATE_NOOP("gettextFromC", "MouthPiece position CC"));
QT_TRANSLATE_NOOP("gettextFromC", "Mouth piece position CC"));
break;
case 2:
add_event(dc, cur_sampletime, 0, 0, 0,
QT_TRANSLATE_NOOP("gettextFromC", "MouthPiece position UN"));
QT_TRANSLATE_NOOP("gettextFromC", "Mouth piece position unknown"));
break;
case 3:
add_event(dc, cur_sampletime, 0, 0, 0,
QT_TRANSLATE_NOOP("gettextFromC", "MouthPiece position NC"));
QT_TRANSLATE_NOOP("gettextFromC", "Mouth piece position not connected"));
break;
}
case 3: