Add four more tags

Student (training), Instructor (teaching), Photo and Video

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-04-10 08:49:11 -07:00
parent 5778d090a4
commit a9055049f1
2 changed files with 7 additions and 2 deletions

6
dive.h
View file

@ -45,7 +45,11 @@
#define DTAG_NIGHT (1 << 13)
#define DTAG_FRESH (1 << 14)
#define DTAG_FRESH_NR 14
#define DTAG_NR 15
#define DTAG_STUDENT (1 << 15)
#define DTAG_INSTRUCTOR (1 << 16)
#define DTAG_PHOTO (1 << 17)
#define DTAG_VIDEO (1 << 18)
#define DTAG_NR 19
/* defined in statistics.c */
extern char *dtag_names[DTAG_NR];

View file

@ -20,7 +20,8 @@
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_("river"), N_("night"), N_("freshwater"), N_("training"), N_("teaching"),
N_("photo"), N_("video")
};
typedef struct {