Global Communications > Latest News & Announcements

v4.2 Translations

<< < (18/30) > >>

Filipianosol:
What does the %s1 refer to:

"GE_TIP_TITLE"         "%s1 Tip:"

Is it like Tip about %s1, it's hard to solve...

namajnaG:
I believe %s1 can be replaced with "Gameplay" in this context, And others.

VGF:
I think they switched from "Gameplay Tips:" (Previous version) to "%s tips" so you can put there a game mode name, or similar.

Troy:

--- Quote from: Filipianosol on July 24, 2012, 07:02:56 pm ---What does the %s1 refer to:

"GE_TIP_TITLE"         "%s1 Tip:"

Is it like Tip about %s1, it's hard to solve...

--- End quote ---

%s1 represents the first string in Python.

killermonkey:
%s1, %s2, .... %s[n] refers to the "input text" that the localization can take. Similar to how printf works in C... except only strings are allowed.

This allows us to have translated sentences that include numbers and stuff.

For the example you cited, it forms an introduction to the following tip. Example:

"Radar Tip:"
"Weak Weapons Tip:"
etc.

So all you have to translate is the "Tip" part... then translate the titles below that separately.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version