decimal separator
![]() ![]() |
would it be possible to adapt the script so that sorting of the ally members in countries where the decimal separator is a . instead of a , is possible.
Did I explain it understandable? |
![]() ![]() |
The only domain I have found that uses '.' instead of ',' is the German one (at least that is how it looks from lookin at the highscores). Is this where you are running this script or is there another domain? |
![]() ![]() |
yes, it is the german .de domain, but I think there are some other countries as well (see http://en.wikipedia.org/wiki/Decimal_separator)
|
![]() ![]() |
I have made the change in the last update (Jul 6, 2009 22:20). Yes I have seen that page previously but it is not like that in the game. I have created accounts on about 20 domains to check this out and the only one that uses ',' as a radix point is the German domain. Anyway, the code that gets changed is: "german": { ltr: true, ds: '.', dp: ',', change: 'Ändern', online: 'ONLINE', inactive: 'INACTIVE', i: '(i)', edit: 'Bearbeiten Alliance Sorter Konfiguration', activity: 'Aktivitätsart Konfiguration', activity1: 'Default Image', activity2: 'Standard-Image oder (i)', activity3: 'Standard-Bild oder Text', activity4: 'Nur Text', title: 'Konfiguration', score: 'Ergebnis Konfiguration', score1: 'Keine', score2: 'Absolute Zunahme', score3: 'Erhöhung', score4: 'Checkpoint Ergebnis', checkpoint: 'Letzte Checkpoint', reset: 'Reset', scoreCP: 'Ergebnis Checkpoint', msg: 'Reload der Seite nach dem Ändern der Konfiguration.' },
The thousands seperator (ds) and the radix point (dp) are set here for each language:
ds: '.', dp: ',', So just install the latest version of the script and it should work for you. |
![]() ![]() |
great, works fine!!
|

