You're not registered yet. Click here to register. Credits 
You can register here for free.
This topic has 3 replies
and has been read 146 times
 General Questions About Translation/Localization of Scrabble3D
akerbeltzalba Offline




Posts: 142

Thu Feb 20, 2014 3:18 am
Ordering arguments Quote · reply

What's the format for re-ordering arguments? I need to switch the position of

Zitat
%s jokerized letter %s


Is it %2s %1s or %$2s %$1s? Each project seems to handle that differently.

*******************************
Do, or do not. There is no try.


Scotty Offline

Administrator


Posts: 3.607

Thu Feb 20, 2014 9:09 am
#2 RE: Ordering arguments Quote · reply

You can set the sequence yourself.

#: ulanguage.rmain_piecejokerized
msgctxt "ulanguage.rmain_piecejokerized"
msgid "%s jokerized letter %s"
msgstr "%1:s jokerized letter %0:s."
This results in "V jokerized letter 1th player.".

Tell me, if I should add the default sequence to the original string, for instance if Transifex makes trouble.


Download: Sourceforge.net | Help: Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


akerbeltzalba Offline




Posts: 142

Thu Feb 20, 2014 1:02 pm
#3 RE: Ordering arguments Quote · reply

Thanks. Transifex seems to have accepted that as

Zitat
Rinn %1:s leacag na Fèinn de %0:s



Fingers crossed it works in the live system.

*******************************
Do, or do not. There is no try.


Scotty Offline

Administrator


Posts: 3.607

Thu Feb 20, 2014 1:23 pm
#4 RE: Ordering arguments Quote · reply

Zitat von akerbeltzalba im Beitrag #3
Fingers crossed it works in the live system.

Just try it out . Download the po, rename it to lang, and move it to the config folder. The l10n is available after next program start or if you check for updates. Of course you have to use the most recent test version.


Download: Sourceforge.net | Help: Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


 Jump  
disconnected Scrabble3D Chat Members online 0
Xobor Einfach ein eigenes Forum erstellen