Page 1 of 1

[0.15.35] Achievement localisation is partially broken.

Posted: Fri Oct 20, 2017 11:36 am
by eradicator
Several parts of achivement name and description localisation are broken:
  • .localised_name attribute on prototypes does not work at all
  • .localised_description attribute works only on some achivement types
  • [achievement-description] in locale.cfg does not work for custom achivements (not sure of exact condition)(rsed said somewhere he already fixed this)
The demo mod demonstrates all three. Just open a new game and look at the achivement menu.
data.lua
locale.cfg

Re: [0.15.35] Achievement localisation is partially broken.

Posted: Fri Oct 20, 2017 1:18 pm
by posila
Thanks for the report. I tried the mod in 0.16 and all of it seems to be fixed.

Re: [0.15.35] Achievement localisation is partially broken.

Posted: Fri Oct 20, 2017 1:53 pm
by eradicator
Hm. I just noticed that rsed actually said he fixed the prototype part (issue 1+2) and not the local.cfg part (issue 3). And i also noticed that the mod doesn't actually demonstrate issue 3 because it's overshadowed by 2.

This should be able to demonstrate 3 if i didn't make any typos. If "Relax & Enjoy" still has a description it's also fixed.

Re: [0.15.35] Achievement localisation is partially broken.

Posted: Fri Oct 20, 2017 2:30 pm
by posila
Yeah, that works too.

Re: [0.15.35] Achievement localisation is partially broken.

Posted: Fri Oct 20, 2017 11:53 pm
by eradicator
Thanks.
I shall then sit down and relax. While waiting for 0.16 :ugeek: