News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Schiffhalt muss im Water liegen!

Started by uci, March 28, 2018, 07:26:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uci

I get this message in German no matter what language I set in game: "Schiffhalt muss im Water liegen!"

I think a record in all translation files is wrong:

"Schiffhalt muss im\nWasser liegen!\n" should be replaced by "Schiffhalt muss im\nWater liegen!\n", or vice versa in the source code.

Frank

https://simutrans-germany.com/translator/script/edit.php?obj_id=30532

\trunk\dataobj\schedule.h

(243):  const char *get_error_msg() const { return "Schiffhalt muss im\nWater liegen!\n"; }

...
public:
  ship_schedule_t() {}
  ship_schedule_t(loadsave_t* const file) : schedule_t(file) {}
  schedule_t* copy() { schedule_t *s = new ship_schedule_t(); s->copy_from(this); return s; }
  const char *get_error_msg() const { return "Schiffhalt muss im\nWater liegen!\n"; }

  schedule_type get_type() const { return ship_schedule; }

  waytype_t get_waytype() const { return water_wt; }
};
...


Rename in Code or Translator?

I think that comes from replacing german with english at Wasser <-> Water.

prissi

Replacing in Simutrasn is the more sensible option, imho ... (Neverminding the wrong German spelling of Schiffshalt.) Done at -r8417