Screenshot_20240912-224348_Andors Trail.png
I presume "$spielername" should have been replaced by my character's name.Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.11) from Google, F-Droid, our server, or itch.io
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.11) from Google, F-Droid, our server, or itch.io
small bug in the Rat kingdon
-
- Posts: 21
- Joined: Wed Sep 14, 2022 9:07 pm
- android_version: 11 - Android 11
small bug in the Rat kingdon
I presume "$spielername" should have been replaced by my character's name.
You do not have the required permissions to view the files attached to this post.
- Antison
- Posts: 5501
- Joined: Mon Mar 28, 2011 11:33 pm
- android_version: 14 - Android 14
- Location: A home without a beagle is just a house
Re: small bug in the Rat kingdon
Yes. The translator got to aggressive and changed "player" to "spieler" and thus the template name is no longer "playername",
which breaks the game engine's ability to swap out the value of the template with the player's name.
which breaks the game engine's ability to swap out the value of the template with the player's name.
"A home without a beagle is just a house"
- Nut
- Posts: 1637
- Joined: Mon Oct 27, 2014 12:14 pm
- android_version: 8.0
- Location: Glade
Re: small bug in the Rat kingdon
yes, nice catch, thank you.
I have found a few $playername translations in some other languages too, and fix these.
No, it must never be translated, it's a variable
I have found a few $playername translations in some other languages too, and fix these.
No, it must never be translated, it's a variable
Nut
- Nut
- Posts: 1637
- Joined: Mon Oct 27, 2014 12:14 pm
- android_version: 8.0
- Location: Glade
Re: small bug in the Rat kingdon
In fact there are rather many "translated" variables, so that they won't work any more.
I have created a script to find then in every language and fix them.
Luckily only '$playername' is tempting to be translated. Other variables like '%1$d', '%2$d', '%3$d', '%4$d', '%5$d', '%1$s', '%2$s', '%1$a1f' are left alone normally.
Only '%%' is sometimes changed to '%', (which is wrong and causes a crash of the game) - but this one is already known and I fix these each time.
I have created a script to find then in every language and fix them.
Luckily only '$playername' is tempting to be translated. Other variables like '%1$d', '%2$d', '%3$d', '%4$d', '%5$d', '%1$s', '%2$s', '%1$a1f' are left alone normally.
Only '%%' is sometimes changed to '%', (which is wrong and causes a crash of the game) - but this one is already known and I fix these each time.
Nut
- FrizzHere
- Posts: 86
- Joined: Tue Mar 05, 2024 11:26 am
- android_version: 13 - Android 13
- Location: "Outsider"
- Nut
- Posts: 1637
- Joined: Mon Oct 27, 2014 12:14 pm
- android_version: 8.0
- Location: Glade