Jump to content

PetraAI bot doesn't recognize defeat of competitor, it's trading with


Obelix
 Share

Recommended Posts

After some browsing through the code (searching via github is really nice) I found the core of those phrases.

  • 'has reached' has its source beginning at line 113 of binaries/data/mods/public/gui/session/chat/ChatMessageFormatSimulation.js
  • 'has sent' is in the same file beginning with line 153

Now I fail to figure out, where to find the translation of it. May I ask for a tip?

  • Like 1
Link to comment
Share on other sites

On 17/03/2023 at 7:09 PM, sternstaub said:

That is interesting, because for me it says "&p hat die Großstadtphase erreicht"

Indeed, the current version of Line 494 is as following:

491 #: gui/session/chat/ChatMessageFormatSimulation.js:114
492 #, javascript-format
493 msgid "%(player)s has reached the %(phaseName)s."
494 msgstr "%(player)s hat die %(phaseName)s erreicht."

 

  • Like 1
Link to comment
Share on other sites

Hey folks,

how do we proceed in this case? Do we need one, two, more or none tickets to target these issues (reached, sent, bartered etc.)? Do the translation problems be easily solved by translaters action?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...