The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: Milko on May 07, 2013, 09:23:29 PM

Title: Text translation problem
Post by: Milko on May 07, 2013, 09:23:29 PM
Hello James

I translated "No passenger stops within walking distance\n" but in RC9005 text appear untraslated.

Giuseppe
Title: Re: Text translation problem
Post by: jamespetts on May 07, 2013, 10:18:15 PM
Hmm, that's very odd: the text is copied exactly from the code here:


if(!any_suitable_stops_passengers)
{
buf.append(translator::translate("No passenger stops within walking distance\n"));
}

if(!any_suitable_stops_mail)
{
buf.append(translator::translate("\nNo postboxes within walking distance"));
}


Can you double check to ensure that there is not an error in the translation text file (all texts after a certain point not translating because there is an extra line, or something of the sort)?
Title: Re: Text translation problem
Post by: Milko on May 08, 2013, 08:19:59 PM
Sorry James, my fault, the text it's now ok.

Giuseppe
Title: Re: Text translation problem
Post by: jamespetts on May 08, 2013, 09:40:09 PM
Splendid.