Jump to content

Localization issues (with fixes)


Rinart73

Recommended Posts

Version: 0.19.1

 

There are few places that either weren't localized or have errors that lead to non-working localiztion.

 

1. "data\scripts\entity\story\adventurer1.lua" - Line 110 - "Greet" is not localized.

ScriptUI():registerInteraction("Greet", "onGreet")

Fix:

ScriptUI():registerInteraction("Greetings. "%_t, "onGreet")

 


 

2. "data\scripts\entity\story\the4.lua" - Line 20 - "Hello." is not localized.

ScriptUI():registerInteraction("Hello.", "onInteract")

Fix:

ScriptUI():registerInteraction("Hello"%_t, "onInteract")

 


 

2. "data\scripts\lib\story\the4.lua" - Lines 317-327 and 376 - Mission description localization doesn't work:

local description = [[
Fellow Galaxy Dweller,

In times like these, where the Xsotan threat is looming at all times, we are trying to protect you. Dangerous artifacts of the Xsotan have been found all over the galaxy, causing great harm to everyone near them.
Should you find any of those artifacts, you must bring them to us. We will take care of them and destroy them, to eradicate the Xsotan threat and to make the galaxy a better place.
Even if your life may be at risk, what is your life compared to the safety of trillions?

You can find one of our outposts at (${x}, ${y}).
We will pay a reward of 100.000.000 credits for each delivered artifact.

- The Brotherhood
]]%_t

Replace with:

local description = [[Fellow Galaxy Dweller,

In times like these, where the Xsotan threat is looming at all times, we are trying to protect you. Dangerous artifacts of the Xsotan have been found all over the galaxy, causing great harm to everyone near them.
Should you find any of those artifacts, you must bring them to us. We will take care of them and destroy them, to eradicate the Xsotan threat and to make the galaxy a better place.
Even if your life may be at risk, what is your life compared to the safety of trillions?

You can find one of our outposts at (${x}, ${y}).
We will pay a reward of 100.000.000 credits for each delivered artifact.

- The Brotherhood
]]%_t

 

and

 

local bulletin =
    {
        brief = "Looking for Xsotan Artifacts"%_t,
        description = description % location,

Replace with:

local bulletin =
    {
        brief = "Looking for Xsotan Artifacts"%_t,
        description = description,

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
×
×
  • Create New...