Trying to switch to Qt translation

This compiles and looks about right, but it doesn't appear to work, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-10-06 08:55:58 -07:00
parent 2c4ccc04bd
commit 4d3e74a236
24 changed files with 272 additions and 294 deletions

8
dive.h
View file

@ -7,12 +7,6 @@
#include <math.h>
#include <sys/param.h>
#if 0
#include <glib.h>
#include <glib/gstdio.h>
#else /* this is stupid - this doesn't deal with translations anymore */
#define _(arg) arg
#endif
#include <libxml/tree.h>
#include <libxslt/transform.h>
@ -744,7 +738,7 @@ void free_dps(struct divedatapoint *dp);
void get_gas_string(int o2, int he, char *buf, int len);
struct divedatapoint *create_dp(int time_incr, int depth, int o2, int he, int po2);
void dump_plan(struct diveplan *diveplan);
void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, bool add_deco, char **error_string_p);
void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, bool add_deco, const char **error_string_p);
void delete_single_dive(int idx);
struct event *get_next_event(struct event *event, char *name);