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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...