Sie sind vermutlich noch nicht im Forum angemeldet - Klicken Sie hier um sich kostenlos anzumelden Impressum 
Sie können sich hier anmelden
Dieses Thema hat 3 Antworten
und wurde 453 mal aufgerufen
 General Questions About Translation/Localization of Scrabble3D
akerbeltzalba Offline




Beiträge: 142

20.02.2014 03:18
Ordering arguments Zitat · Antworten

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


Beiträge: 3.788

20.02.2014 09:09
#2 RE: Ordering arguments Zitat · Antworten

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




Beiträge: 142

20.02.2014 13:02
#3 RE: Ordering arguments Zitat · Antworten

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


Beiträge: 3.788

20.02.2014 13:23
#4 RE: Ordering arguments Zitat · Antworten

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

 Sprung  
Xobor Forum Software von Xobor.de
Einfach ein Forum erstellen
Datenschutz