diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-07 16:52:39 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-07 16:52:39 +0900 |
commit | f2035bcd797cab0b6be180b160bca3e768ccb652 (patch) | |
tree | 0371585caf90d058594963e9c5f72806b6ffec33 /planner.c | |
parent | f11b2274ec8921235ff534a6f138a3f69b69531a (diff) | |
download | subsurface-f2035bcd797cab0b6be180b160bca3e768ccb652.tar.gz |
Don't translate the fake DC models
Since the model name is written into the XML file it has to be a literal
string that isn't translated. Otherwise a datafile written in one locale
behaves differently when opened by Subsurface under a different locale.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ struct dive *create_dive_from_plan(struct diveplan *diveplan, const char **error dive->when = diveplan->when; dive->dc.surface_pressure.mbar = diveplan->surface_pressure; dc = &dive->dc; - dc->model = strdup(translate("gettextFromC","Simulated Dive")); + dc->model = "planned dive"; /* do not translate here ! */ dp = diveplan->dp; /* let's start with the gas given on the first segment */ |