Travian: get tribe names UTILITY

By dbKiller Last update Aug 4, 2008 — Installed 1,737 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 4 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
polle1 User

If u can use it :)

Correct Danish translation

case "dk": //by polle1
aLangTroops[0] = ["Legionær", "Prætorianer", "Imperianer", "Equites Legati", "Equites Imperatoris", "Equites Caesaris", "Rambuk", "Brandkatapult", "Senator", "Bosætter", "Helt"]; //Romans
aLangTroops[1] = ["Køllesvinger", "Spydkæmper", "Øksekæmper", "Spejder", "Paladin", "Teutonrytter", "Rambuk", "Katapult", "Stammefører", "Bosætter", "Helt"]; //Teutons
aLangTroops[2] = ["Falanks", "Sværdkæmper", "Spion", "Theutaterlyn", "Druiderytter", "Haeduaner", "Rambuktræ", "Krigskatapult", "Høvding", "Bosætter", "Helt"]; //Gauls
break;

 
Lord J User

i am sorry to be asking for this here but i dont now where to do it....

i am using "Travian Egyseg Figyelo v3.0" but it still has many bugs....

could you take a look at it and make it work OK for what i see it is not a large script and it should be easy to fix ;)

but with a small change: changing the icons to the left off the village name.... and using 3 inactive icons that would become active ;)

 
dbKiller Script's Author

//main function
function onLoad()
{
    loadLanguage();
    
    //do stuff...
}

//load language
function loadLanguage()
{
    var server = location.hostname;
    var langExt = server.substring(server.lastIndexOf('.')+1);
    
    switch(langExt) {
        case 'uk': //Britain
            langFile['ROMANS'] = 'Romans';
            langFile['GAULS'] = 'Gauls';
            langFile['TEUTONS'] = 'Teutons';
        break;
        case 'fr': //France
            langFile['ROMANS'] = 'Romains';
            langFile['GAULS'] = 'Gaulois';
            langFile['TEUTONS'] = 'Germains';
        break;
        case 'fi': //Finland
            langFile['ROMANS'] = 'Roomalaiset';
            langFile['GAULS'] = 'Gallialaiset';
            langFile['TEUTONS'] = 'Teutonit';
        break;
        
        //PASTE HERE THE SCRIPT RESULTS
        
    }
}

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel