File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
page/overview_mainvillage Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ trans = {
5454 } ,
5555 sp : {
5656 sp : {
57- configuration : "Sangu Package Configuration " ,
57+ configuration : "Sangu Package configureren " ,
5858 activatePackage : "Sangu Package activeren" ,
5959 deactivatePackage : "Sangu Package deactiveren" ,
6060 activatePackageWithCompatibility : "Sangu Package (v{version}) mogelijk incompatibel met huidige TW versie" ,
@@ -83,7 +83,8 @@ trans = {
8383 unitsReplacement : "Eigen" ,
8484 unitsOther : "Ondersteunende Eenheden" ,
8585 rallyPointTroops : "troepen" ,
86- ownStackTitle : "Totale populatie van de eigen troepen"
86+ ownStackTitle : "Totale populatie van de eigen troepen" ,
87+ supportingStackTitle : "Totale populatie van de ondersteunende troepen"
8788 } ,
8889 map : {
8990 dodgeLastTagged : "Dodgetijd van de laatst getagde aanval"
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ if (loginMonitor === '') {
1919 // also log world/tribe usage
2020 trackEvent ( "ScriptUsage" , "WorldUsage" , game_data . world ) ;
2121 trackEvent ( "ScriptUsage" , "TribeUsage" , game_data . world + " " + game_data . player . ally_id ) ;
22- trackEvent ( "ScriptUsage" , "HasPremium" , game_data . player . premium ) ; // Do we need to support non PA users?
23- trackEvent ( "ScriptUsage" , "HasAM" , game_data . player . account_manager ) ; // Do we need to do stuff on the AM pages?
22+ trackEvent ( "ScriptUsage" , "HasPremium" , game_data . player . premium ? "Yes" : "No" ) ; // Do we need to support non PA users?
23+ trackEvent ( "ScriptUsage" , "HasAM" , game_data . player . account_manager ? "Yes" : "No" ) ; // Do we need to do stuff on the AM pages?
2424}
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ if (user_data.overview.ajaxSeperateSupport && totalFarm > 0) {
7878 supportRows += "<tr><td><a href='" + getUrlString ( "screen=place&mode=units" ) + "'>» " + trans . sp . main . rallyPointTroops + "</a></td></tr>" ;
7979 if ( user_data . overview . ajaxSeperateSupportStacks ) {
8080 var supportDisplay = stackDisplay ( totalFarm - ownFarmTotal , { showFarmLimit : true } ) ;
81- supportRows += '<tr><td style="border-top: 1px solid #85550d ;background-color: ' + supportDisplay . color + '">' + '<b>' + trans . tw . all . farm + ': ' + supportDisplay . desc + '</b>' + '</td></tr>' ;
81+ supportRows += '<tr><td style="border-top: 1px solid #85550d ;background-color: ' + supportDisplay . color + '"><span class="icon header population" title="' + trans . sp . main . supportingStackTitle + '"></span>' + '<b> ' + supportDisplay . desc + '</b>' + '</td></tr>' ;
8282 }
8383
8484 unitTable . after ( createMoveableWidget ( "os_units" , trans . sp . main . unitsOther , newTable + supportRows + "</table>" ) ) ;
Original file line number Diff line number Diff line change 1- 3.6.22
1+ 3.6.4
You can’t perform that action at this time.
0 commit comments