summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/statistics.c b/statistics.c
index bee5837d6..d7f8371fa 100644
--- a/statistics.c
+++ b/statistics.c
@@ -14,13 +14,20 @@
#include "divelist.h"
#include "statistics.h"
+/* mark for translation but don't translate here as these terms are used
+ * in save-xml.c */
+char *dtag_names[DTAG_NR] = {
+ N_("invalid"), N_("boat"), N_("shore"), N_("drift"), N_("deep"), N_("cavern"),
+ N_("ice"), N_("wreck"), N_("cave"), N_("altitude"), N_("pool"), N_("lake"),
+ N_("river"), N_("night"), N_("freshwater"), N_("training"), N_("teaching"),
+ N_("photo"), N_("video"), N_("deco")
+};
+
static stats_t stats;
stats_t stats_selection;
stats_t *stats_monthly = NULL;
stats_t *stats_yearly = NULL;
-
-
static void process_temperatures(struct dive *dp, stats_t *stats)
{
int min_temp, mean_temp, max_temp = 0;