summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 11:20:49 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-29 11:27:41 -0800
commit6a579dc9c0b6f2ff01795cda67cf8e35aa55accf (patch)
tree0d65c5b7f4a53633a8e5b009fb96bc5324166c5b
parent82ac264815e57f5720e149ef633685e7fa7fed65 (diff)
downloadsubsurface-6a579dc9c0b6f2ff01795cda67cf8e35aa55accf.tar.gz
Add comment for "below floor" event
This one is a tough one for translators. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--gettext.h1
-rw-r--r--libdivecomputer.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/gettext.h b/gettext.h
index 84910bb23..43ff023c7 100644
--- a/gettext.h
+++ b/gettext.h
@@ -5,5 +5,6 @@
extern const char *trGettext(const char *);
#define translate(_context, arg) trGettext(arg)
#define QT_TRANSLATE_NOOP(_context, arg) arg
+#define QT_TRANSLATE_NOOP3(_context, arg, _comment) arg
#endif // MYGETTEXT_H
diff --git a/libdivecomputer.c b/libdivecomputer.c
index 3f118cf04..2dee1389d 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -138,7 +138,7 @@ static void handle_event(struct divecomputer *dc, struct sample *sample, dc_samp
QT_TRANSLATE_NOOP("gettextFromC","none"), QT_TRANSLATE_NOOP("gettextFromC","deco stop"), QT_TRANSLATE_NOOP("gettextFromC","rbt"), QT_TRANSLATE_NOOP("gettextFromC","ascent"), QT_TRANSLATE_NOOP("gettextFromC","ceiling"), QT_TRANSLATE_NOOP("gettextFromC","workload"),
QT_TRANSLATE_NOOP("gettextFromC","transmitter"), QT_TRANSLATE_NOOP("gettextFromC","violation"), QT_TRANSLATE_NOOP("gettextFromC","bookmark"), QT_TRANSLATE_NOOP("gettextFromC","surface"), QT_TRANSLATE_NOOP("gettextFromC","safety stop"),
QT_TRANSLATE_NOOP("gettextFromC","gaschange"), QT_TRANSLATE_NOOP("gettextFromC","safety stop (voluntary)"), QT_TRANSLATE_NOOP("gettextFromC","safety stop (mandatory)"),
- QT_TRANSLATE_NOOP("gettextFromC","deepstop"), QT_TRANSLATE_NOOP("gettextFromC","ceiling (safety stop)"), QT_TRANSLATE_NOOP("gettextFromC","below floor"), QT_TRANSLATE_NOOP("gettextFromC","divetime"),
+ QT_TRANSLATE_NOOP("gettextFromC","deepstop"), QT_TRANSLATE_NOOP("gettextFromC","ceiling (safety stop)"), QT_TRANSLATE_NOOP3("gettextFromC","below floor","event showing dive is below deco floor and adding deco time"), QT_TRANSLATE_NOOP("gettextFromC","divetime"),
QT_TRANSLATE_NOOP("gettextFromC","maxdepth"), QT_TRANSLATE_NOOP("gettextFromC","OLF"), QT_TRANSLATE_NOOP("gettextFromC","PO2"), QT_TRANSLATE_NOOP("gettextFromC","airtime"), QT_TRANSLATE_NOOP("gettextFromC","rgbm"), QT_TRANSLATE_NOOP("gettextFromC","heading"),
QT_TRANSLATE_NOOP("gettextFromC","tissue level warning"), QT_TRANSLATE_NOOP("gettextFromC","gaschange"), QT_TRANSLATE_NOOP("gettextFromC","non stop time")
};