The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: z9999 on June 16, 2009, 06:40:32 pm

Title: Can't translate "Remove wayobj %d"
Post by: z9999 on June 16, 2009, 06:40:32 pm
We can't translate "Remove wayobj %d".
And also "%d" is only shown as number not a real name like as "track".
Title: Re: Can't translate "Remove wayobj %d"
Post by: gerw on June 16, 2009, 07:04:48 pm
But this string is translated after the sprintf, isn't it? So you can translate "Remove wayobj 1", "Remove wayobj 2" and so on.
Title: Re: Can't translate "Remove wayobj %d"
Post by: z9999 on June 16, 2009, 07:15:56 pm
Did you try it ?
Title: Re: Can't translate "Remove wayobj %d"
Post by: prissi on June 16, 2009, 08:59:29 pm
Also make no sense to double messages, as there are already strings for the different waytypes provided in weg_t ...
Title: Re: Can't translate "Remove wayobj %d"
Post by: z9999 on June 17, 2009, 06:54:10 am
Thanks. But there is no translation for waytype_to_string().
Title: Re: Can't translate "Remove wayobj %d"
Post by: prissi on June 17, 2009, 09:28:58 am
Well spotted, there will be ...