The International Simutrans Forum

 

Author Topic: Schiffhalt muss im Water liegen!  (Read 1419 times)

0 Members and 1 Guest are viewing this topic.

Offline uci

  • *
  • Posts: 120
  • Without owner
  • Languages: EN, RO
Schiffhalt muss im Water liegen!
« on: March 28, 2018, 07:26:04 PM »
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.
« Last Edit: March 28, 2018, 07:40:34 PM by uci »

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
Re: Schiffhalt muss im Water liegen!
« Reply #1 on: March 28, 2018, 08:22:52 PM »
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"; }

Code: [Select]
...
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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9353
  • Languages: De,EN,JP
Re: Schiffhalt muss im Water liegen!
« Reply #2 on: March 29, 2018, 02:24:08 AM »
Replacing in Simutrasn is the more sensible option, imho ... (Neverminding the wrong German spelling of Schiffshalt.) Done at -r8417