Jump to content
Rodmar18

[X:CE 0.34.1] Label 'GoToBase'

Recommended Posts

Hello,

It looks like the label 'GoToBase', which is given the value "Go to base" in strings.xml, is used on buttons in two different situations.

  • To open the base UI. (e.g. unlockedresearches.lua)
  • To center the Geoscape on a newly detected alien base. (alienbase.lua)

Though I understand that "go to" is correct in both case in English, perhaps in other languages, the translation is uneasy. I'd suggest to have another label when an alien base is discovered, like we have 'ShowCity' and 'ShowUFO' labels (e.g. "Centre on Base - Time = 5 secs").

Share this post


Link to post
Share on other sites

Isn't the easiest way to avoid the awkwardness to use something like "Show" for the translation in both labels?

Share this post


Link to post
Share on other sites

Yes, "Show base" would be better in several languages, but we'd still have:

"Centre on aircraft", "Centre on city", "Centre on event", "Centre on UFO"...

why not: "Centre on base" (for an alien base)? All of these buttons trigger the same effect: centring on the location with slowest time speed.

Note that I don't discuss the way the same label and string are used twice. It's fine in scripting as long as it's transparent for the user. It's just that as they are used in two different contexts, it's not so transparent and the user comes to think: "Hey, I've already seen this text elsewhere...".

Share this post


Link to post
Share on other sites

Yeah, that's because it does actually take the same string ;) I see your point though!

Share this post


Link to post
Share on other sites

Okay, and for your translation, just added a string "GoToAlienBase" that will get used in the alienbasediscovered.lua script. So it's now possible to use two different labels in languages where that fits better.

Share this post


Link to post
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

×