diff --git a/Admin/Templates/addUsers.tpl b/Admin/Templates/addUsers.tpl index c67e6a34..c051c32d 100644 --- a/Admin/Templates/addUsers.tpl +++ b/Admin/Templates/addUsers.tpl @@ -81,13 +81,13 @@ Submitting this form will create new Users
(and their home Villages) on your $tribe = RANDOM; break; case '1': - $tribe = ROMANS; + $tribe = TRIBE1; // Romans break; case '2': - $tribe = TEUTONS; + $tribe = TRIBE2; // Teutons break; case '3': - $tribe = GAULS; + $tribe = TRIBE3; // Gauls break; default: // Should never reach here @@ -157,9 +157,9 @@ Beginners Protection   
Tribe:

-
-
-
+
+
+


diff --git a/Admin/Templates/artifact.tpl b/Admin/Templates/artifact.tpl index 907018b2..d2adf594 100644 --- a/Admin/Templates/artifact.tpl +++ b/Admin/Templates/artifact.tpl @@ -28,7 +28,7 @@ $artifactInfo = Artifacts::getArtifactInfo($artifact); if(empty($artifact)){ ?> -
+
diff --git a/Admin/Templates/natars.tpl b/Admin/Templates/natars.tpl index d2d4802a..26313642 100644 --- a/Admin/Templates/natars.tpl +++ b/Admin/Templates/natars.tpl @@ -66,7 +66,7 @@ $deletedArtifacts = $database->getDeletedArtifacts(); if(empty($deletedArtifacts)){ ?> -
+
"; $replace[52] = "".U50.""; $replace[53] = "".U0.""; -$replace[54] = "".R1.""; -$replace[55] = "".R2.""; -$replace[56] = "".R3.""; -$replace[57] = "".R4.""; -$replace[54] = "Lumber"; -$replace[55] = "Clay"; -$replace[56] = "Iron"; -$replace[57] = "Crop"; +$replace[54] = "".LUMBER.""; +$replace[55] = "".CLAY.""; +$replace[56] = "".IRON.""; +$replace[57] = "".CROP.""; +$replace[54] = "".LUMBER.""; +$replace[55] = "".CLAY.""; +$replace[56] = "".IRON.""; +$replace[57] = "".CROP.""; $replace[58] = "*aha*"; $replace[59] = "*angry*"; $replace[60] = "*cool*"; diff --git a/GameEngine/Lang/en.php b/GameEngine/Lang/en.php index 20137593..69308586 100755 --- a/GameEngine/Lang/en.php +++ b/GameEngine/Lang/en.php @@ -16,1218 +16,1453 @@ ///////////////////////////// //MAIN MENU -define("TRIBE1","Romans"); -define("TRIBE2","Teutons"); -define("TRIBE3","Gauls"); -define("TRIBE4","Nature"); -define("TRIBE5","Natars"); -define("TRIBE6","Monsters"); +define('TRIBE1', 'Romans'); +define('TRIBE2', 'Teutons'); +define('TRIBE3', 'Gauls'); +define('TRIBE4', 'Nature'); +define('TRIBE5', 'Natars'); +define('TRIBE6', 'Monsters'); -define("HOME","Homepage"); -define("INSTRUCT","Instructions"); -define("ADMIN_PANEL","Admin Panel"); -define("MASS_MESSAGE","Mass Message"); -define("LOGOUT","Logout"); -define("PROFILE","Profile"); -define("SUPPORT","Support"); -define("UPDATE_T_10","Update Top 10"); -define("SYSTEM_MESSAGE","System message"); -define("TRAVIAN_PLUS","Travian Plus"); -define("CONTACT","Contact us!"); -define("GAME_RULES","Game Rules"); +define('HOME', 'Homepage'); +define('INSTRUCT', 'Instructions'); +define('ADMIN_PANEL', 'Admin Panel'); +define('MH_PANEL', 'Multihunter Panel'); +define('MASS_MESSAGE', 'Mass Message'); +define('LOGOUT', 'Logout'); +define('PROFILE', 'Profile'); +define('SUPPORT', 'Support'); +define('UPDATE_T_10', 'Update Top 10'); +define('SYSTEM_MESSAGE', 'System message'); +define('TRAVIAN_PLUS', 'Travian Plus'); +define('CONTACT', 'Contact us!'); +define('GAME_RULES', 'Game Rules'); //MENU -define("REG","Register"); -define("FORUM","Forum"); -define("CHAT","Chat"); -define("IMPRINT","Imprint"); -define("MORE_LINKS","More Links"); -define("TOUR","Game Tour"); +define('REG', 'Register'); +define('FORUM', 'Forum'); +define('CHAT', 'Chat'); +define('IMPRINT', 'Imprint'); +define('MORE_LINKS', 'More Links'); +define('TOUR', 'Game Tour'); //ERRORS -define("USRNM_EMPTY","(Username empty)"); -define("USRNM_TAKEN","(Name is already in use.)"); -define("USRNM_SHORT","(min. ".USRNM_MIN_LENGTH." figures)"); -define("USRNM_CHAR","(Invalid Characters)"); -define("PW_EMPTY","(Password empty)"); -define("PW_SHORT","(min. ".PW_MIN_LENGTH." figures)"); -define("PW_INSECURE","(Password insecure. Please choose a more secure one.)"); -define("EMAIL_EMPTY","(Email Empty)"); -define("EMAIL_INVALID","(Invalid email address)"); -define("EMAIL_TAKEN","(Email is already in use)"); -define("TRIBE_EMPTY","
  • Please choose a tribe.
  • "); -define("AGREE_ERROR","
  • You have to agree to the game rules and the general terms & conditions in order to register.
  • "); -define("LOGIN_USR_EMPTY","Enter name."); -define("LOGIN_PASS_EMPTY","Enter password."); -define("EMAIL_ERROR","Email does not match existing"); -define("PASS_MISMATCH","Passwords do not match"); -define("ALLI_OWNER","Please appoint an alliance owner before deleting"); -define("SIT_ERROR","Sitter already set or player not found"); -define("USR_NT_FOUND","Name does not exist."); -define("LOGIN_PW_ERROR","The password is wrong."); -define("WEL_TOPIC","Useful tips & information "); -define("ATAG_EMPTY","Tag empty"); -define("ANAME_EMPTY","Name empty"); -define("ATAG_EXIST","Tag taken"); -define("ANAME_EXIST","Name taken"); -define("ALREADY_ALLY_MEMBER","You're already in an alliance"); -define("ALLY_TOO_LOW", "You must have a level 3 or greater embassy"); -define("USER_NOT_IN_YOUR_ALLY","This user is not in your alliance!"); -define("CANT_EDIT_YOUR_PERMISSIONS","You can't edit your own permissions!"); -define("CANT_EDIT_LEADER_PERMISSIONS","Alliance leader's permissions can't be edited!"); -define("NO_PERMISSION", "You don't have enough permissions!"); -define("NAME_OR_DIPL_EMPTY", "Name or diplomacy empty"); -define("ALLY_DOESNT_EXISTS","Alliance does not exist"); -define("CANNOT_INVITE_SAME_ALLY","You cannot invite your own alliance"); -define("WRONG_DIPLOMACY","Wrong choice made"); -define("INVITE_ALREADY_SENT","Either you have already sent a pact to this alliance, they sent it to yours or you already have a pact with them"); -define("INVITE_SENT","Invite sent"); -define("DECLARED_WAR_ON","declared war to"); -define("OFFERED_NON_AGGRESION_PACT_TO","offered non-aggression pact to"); -define("OFFERED_CONFED_TO","offered a confederation to"); -define("ALLY_TOO_MUCH_PACTS","Either You cannot offer more pacts of this kind or this alliance has reached the limit for this kind of patcs"); -define("ALLY_PERMISSIONS_UPDATED","Permissions updated"); -define("ALLY_FORUM_LINK_UPDATED", "Forum link updated"); -define("NO_FORUMS_YET","There are no forums yet."); -define("ALLY_USER_KICKED"," has been kicked from the alliance"); -define("NOT_OPENED_YET","Server not started yet."); -define("REGISTER_CLOSED","The register is closed. You can't register to this server."); -define("NAME_EMPTY","Please insert name"); -define("NAME_NO_EXIST","There is no user with the name "); -define("ID_NO_EXIST","There is no user with the id "); -define("SAME_NAME","You can't invite yourself"); -define("ALREADY_INVITED"," already invited"); -define("ALREADY_IN_ALLY"," is already in this alliance"); -define("ALREADY_IN_AN_ALLY"," is already in an alliance"); -define("NAME_OR_TAG_CHANGED","Name or Tag changed"); -define("VAC_MODE_WRONG_DAYS","You've inserted a wrong number of days"); +define('USRNM_EMPTY', '(Username empty)'); +define('USRNM_TAKEN', '(Name is already in use.)'); +define('USRNM_SHORT', '(min. '.USRNM_MIN_LENGTH.' figures)'); +define('USRNM_CHAR', '(Invalid Characters)'); +define('PW_EMPTY', '(Password empty)'); +define('PW_SHORT', '(min. '.PW_MIN_LENGTH.' figures)'); +define('PW_INSECURE', '(Password insecure. Please choose a more secure one.)'); +define('EMAIL_EMPTY', '(Email Empty)'); +define('EMAIL_INVALID', '(Invalid email address)'); +define('EMAIL_TAKEN', '(Email is already in use)'); +define('TRIBE_EMPTY', '
  • Please choose a tribe.
  • '); +define('AGREE_ERROR', '
  • You have to agree to the game rules and the general terms & conditions in order to register.
  • '); +define('LOGIN_USR_EMPTY', 'Enter name.'); +define('LOGIN_PASS_EMPTY', 'Enter password.'); +define('EMAIL_ERROR', 'Email does not match existing'); +define('PASS_MISMATCH', 'Passwords do not match'); +define('ALLI_OWNER', 'Please appoint an alliance owner before deleting'); +define('SIT_ERROR', 'Sitter already set or player not found'); +define('USR_NT_FOUND', 'Name does not exist.'); +define('LOGIN_PW_ERROR', 'The password is wrong.'); +define('WEL_TOPIC', 'Useful tips & information '); +define('ATAG_EMPTY', 'Tag empty'); +define('ANAME_EMPTY', 'Name empty'); +define('ATAG_EXIST', 'Tag taken'); +define('ANAME_EXIST', 'Name taken'); +define('ALREADY_ALLY_MEMBER', 'You're already in an alliance'); +define('ALLY_TOO_LOW', 'You must have a level 3 or greater embassy'); +define('USER_NOT_IN_YOUR_ALLY', 'This user is not in your alliance!'); +define('CANT_EDIT_YOUR_PERMISSIONS', 'You can't edit your own permissions!'); +define('CANT_EDIT_LEADER_PERMISSIONS', 'Alliance leader's permissions can't be edited!'); +define('NO_PERMISSION', 'You don't have enough permissions!'); +define('NAME_OR_DIPL_EMPTY', 'Name or diplomacy empty'); +define('ALLY_DOESNT_EXISTS', 'Alliance does not exist'); +define('CANNOT_INVITE_SAME_ALLY', 'You cannot invite your own alliance'); +define('WRONG_DIPLOMACY', 'Wrong choice made'); +define('INVITE_ALREADY_SENT', 'Either you have already sent a pact to this alliance, they sent it to yours or you already have a pact with them'); +define('INVITE_SENT', 'Invite sent'); +define('DECLARED_WAR_ON', 'declared war to'); +define('OFFERED_NON_AGGRESION_PACT_TO', 'offered non-aggression pact to'); +define('OFFERED_CONFED_TO', 'offered a confederation to'); +define('ALLY_TOO_MUCH_PACTS', 'Either You cannot offer more pacts of this kind or this alliance has reached the limit for this kind of patcs'); +define('ALLY_PERMISSIONS_UPDATED', 'Permissions updated'); +define('ALLY_FORUM_LINK_UPDATED', 'Forum link updated'); +define('NO_FORUMS_YET', 'There are no forums yet.'); +define('ALLY_USER_KICKED', ' has been kicked from the alliance'); +define('NOT_OPENED_YET', 'Server not started yet.'); +define('REGISTER_CLOSED', 'The register is closed. You can't register to this server.'); +define('NAME_EMPTY', 'Please insert name'); +define('NAME_NO_EXIST', 'There is no user with the name '); +define('ID_NO_EXIST', 'There is no user with the id '); +define('SAME_NAME', 'You can't invite yourself'); +define('ALREADY_INVITED', ' already invited'); +define('ALREADY_IN_ALLY', ' is already in this alliance'); +define('ALREADY_IN_AN_ALLY', ' is already in an alliance'); +define('NAME_OR_TAG_CHANGED', 'Name or Tag changed'); +define('VAC_MODE_WRONG_DAYS', 'You've inserted a wrong number of days'); //COPYRIGHT -define("TRAVIAN_COPYRIGHT","TravianZ 100% Open Source Travian Clone."); +define('TRAVIAN_COPYRIGHT', 'TravianZ 100% Open Source Travian Clone.'); //BUILD.TPL -define("CUR_PROD","Current production"); -define("NEXT_PROD","Production at level "); -define("CONSTRUCT_BUILD","Construct Building"); - -//BUILDINGS -define("B1","Woodcutter"); -define("B1_DESC","The Woodcutter cuts down trees in order to produce lumber. The further you extend the woodcutter the more lumber is produced by him."); -define("B2","Clay Pit"); -define("B2_DESC","Clay is produced here. By increasing its level you increase its clay production."); -define("B3","Iron Mine"); -define("B3_DESC","Here miners produce the precious resource iron. By increasing the mine`s level you increase its iron production."); -define("B4","Cropland"); -define("B4_DESC","Your population`s food is produced here. By increasing the farm`s level you increase its crop production."); +define('CUR_PROD', 'Current production'); +define('NEXT_PROD', 'Production at level '); +define('CONSTRUCT_BUILD', 'Construct Building'); //DORF1 -define("LUMBER","Lumber"); -define("CLAY","Clay"); -define("IRON","Iron"); -define("CROP","Crop"); -define("LEVEL","Level"); -define("CROP_COM",CROP." consumption"); -define("PER_HR","per hour"); -define("PROD_HEADER","Production"); -define("CAPITAL_LABEL","Capital"); -define("MULTI_V_HEADER","Villages"); -define("ANNOUNCEMENT","Announcement"); -define("GO2MY_VILLAGE","Go to my village"); -define("VILLAGE_CENTER","Village centre"); -define("FINISH_GOLD","Finish all construction and research orders in this village immediately for 2 Gold?"); -define("WAITING_LOOP","(waiting loop)"); -define("CROP_NEGATIVE","Your crop production is negative, you'll neaver reach the amount of requested resources."); -define("HRS","(hrs.)"); -define("DONE_AT","done at"); -define("CANCEL","cancel"); -define("LOYALTY","Loyalty"); -define("CALCULATED_IN","Calculated in"); -define("SERVER_TIME","Server time:"); -define("HI","HI"); -define("P_IN","in"); +define('LUMBER', 'Lumber'); +define('CLAY', 'Clay'); +define('IRON', 'Iron'); +define('CROP', 'Crop'); +define('LEVEL', 'Level'); +define('CROP_COM', CROP.' consumption'); +define('PER_HR', 'per hour'); +define('PRODUCTION', 'Production'); +define('CAPITAL1', 'Capital'); +define('VILLAGES', 'Villages'); +define('ANNOUNCEMENT', 'Announcement'); +define('GO2MY_VILLAGE', 'Go to my village'); +define('VILLAGE_CENTER', 'Village centre'); +define('FINISH_GOLD', 'Finish all construction and research orders in this village immediately for 2 Gold?'); +define('WAITING_LOOP', '(waiting loop)'); +define('CROP_NEGATIVE', 'Your crop production is negative, you'll neaver reach the amount of requested resources.'); +define('HR', 'h.'); +define('HRS', '(hrs.)'); +define('DONE_AT', 'done at'); +define('CANCEL', 'cancel'); +define('LOYALTY', 'Loyalty'); +define('CALCULATED_IN', 'Calculated in'); +define('HI', 'HI'); +define('P_IN', 'in'); +define('MS', 'ms'); +define('SERVER_TIME', 'Server time:'); +define('REMAINING_GOLD', 'Remaining gold'); + +// HEADER && MENU && Messages && Reports +define('REPORTS', 'Reports'); +define('MESSAGES', 'Messages'); +define('PLUS_MENU', 'Plus menu'); +define('LINKS', 'Links'); +define('CANCEL_PROCESS', 'Cancel process'); +define('ACCOUNT_DELETING', 'The account will be deleted in'); +define('INBOX', 'Inbox'); +define('WRITE', 'Write'); +define('SENT', 'Sent'); +define('SEND', 'Send'); +define('ARCHIVE', 'Archive'); +define('NOTES', 'Notes'); +define('SUBJECT', 'Subject'); +define('SENDER', 'Sender'); +define('RECIPIENT', 'Recipient'); +define('BACK', 'Back'); +define('NEW', 'new'); +define('UNREAD', 'unread'); +define('NO_MESS', 'There are no messages available'); +define('NO_MESS_IN_ARCHIVE', NO_MESS.' in the archive'); +define('NO_MESS_SENT', 'There are no sent messages available'); +define('MESS_FOR_SUP', 'Message for Support'); +define('MESS_FOR_MH', 'Message for Multihunter'); +define('SEND_AS_SUP', 'Send as Support'); +define('SEND_AS_MH', 'Send as Multihunter'); +define('SAVE', 'Save'); +define('ANSWER', 'Answer'); +define('REPLY', 'Reply'); +define('ADDRESSBOOK', 'Addressbook'); +define('CLOSE_ADDRESSBOOK', 'Close Addressbook'); +define('ONLINE_S1', 'Now online'); +define('ONLINE_S2', 'Offline'); +define('ONLINE_S3', 'Last 3 days'); +define('ONLINE_S4', 'Last 7 days'); +define('ONLINE_S5', 'Inactive'); +define('WAIT_FOR_CONFIRM', 'Wait for confirm'); +define('CONFIRM', 'Confirm'); +define('WRITE_MESS_WARN', 'Warning: you can't use the values [message] or [/message] in your message because it can cause problem with bbcode system'); +define('NO_REPORTS', 'There are no reports available'); +define('ATTACKER', 'Attacker'); +define('NATAR_COUNTERFORCE', 'Natar Counterforce'); +define('FROM_THE_VILL', 'from the village'); +define('CASUALTIES', 'Casualties'); +define('INFORMATION', 'Information'); +define('CARRY', 'carry'); +define('DEFENDER', 'Defender'); +define('VISITED', 'visited'); +define('HIS_TROOPS', ''s troops'); +define('WISHES_YOU', 'wishes you'); +define('X_MAS', 'Merry Christmas'); +define('NEW_YEAR', 'Happy New Year'); +define('EASTER', 'Happy Easter'); +define('PEACE', 'Peace'); + +define('GOLD', 'Gold'); +define('GOLD_IMG', ''.GOLD.''); //QUEST -define("Q_CONTINUE","Continue with the next task."); -define("Q_REWARD","Your reward:"); -define("Q_BUTN","complete task"); -define("Q0","Welcome to "); -define("Q0_DESC","As I see you have been made chieftain of this little village. I will be your counselor for the first few days and never leave your (right hand) side."); -define("Q0_OPT1","To the first task."); -define("Q0_OPT2","Look around on your own."); -define("Q0_OPT3","Play no tasks."); +define('Q_CONTINUE', 'Continue with the next task.'); +define('Q_REWARD', 'Your reward:'); +define('Q_BUTN', 'complete task'); +define('Q0', 'Welcome to '); +define('Q0_DESC', 'As I see you have been made chieftain of this little village. I will be your counselor for the first few days and never leave your (right hand) side.'); +define('Q0_OPT1', 'To the first task.'); +define('Q0_OPT2', 'Look around on your own.'); +define('Q0_OPT3', 'Play no tasks.'); -define("Q1","Task 1: Woodcutter"); -define("Q1_DESC","There are four green forests around your village. Construct a woodcutter on one of them. Lumber is an important resource for our new settlement."); -define("Q1_ORDER","Order:<\/p>Construct a woodcutter."); -define("Q1_RESP","Yes, that way you gain more lumber.I helped a bit and completed the order instantly."); -define("Q1_REWARD","Woodcutter instantly completed."); +define('Q1', 'Task 1: Woodcutter'); +define('Q1_DESC', 'There are four green forests around your village. Construct a woodcutter on one of them. Lumber is an important resource for our new settlement.'); +define('Q1_ORDER', 'Order:

    Construct a woodcutter.'); +define('Q1_RESP', 'Yes, that way you gain more lumber.I helped a bit and completed the order instantly.'); +define('Q1_REWARD', 'Woodcutter instantly completed.'); -define("Q2","Task 2: Crop"); -define("Q2_DESC","Now your subjects are hungry from working all day. Extend a cropland to improve your subjects' supply. Come back here once the building is complete."); -define("Q2_ORDER","Order:<\/p>Extend one cropland."); -define("Q2_RESP","Very good. Now your subjects have enough to eat again..."); -define("Q2_REWARD","Your reward:<\/p>1 day Travian"); +define('Q2', 'Task 2: Crop'); +define('Q2_DESC', 'Now your subjects are hungry from working all day. Extend a cropland to improve your subjects' supply. Come back here once the building is complete.'); +define('Q2_ORDER', 'Order:

    Extend one cropland.'); +define('Q2_RESP', 'Very good. Now your subjects have enough to eat again...'); +define('Q2_REWARD', 'Your reward:

    1 day Travian'); -define("Q3","Task 3: Your Village's Name"); -define("Q3_DESC","Creative as you are you can grant your village the ultimate name.

    Click on 'profile' in the left hand menu and then select 'change profile'..."); -define("Q3_ORDER","Order:<\/p>Change your village's name to something nice."); -define("Q3_RESP","Wow, a great name for their village. It could have been the name of my village!..."); +define('Q3', 'Task 3: Your Village's Name'); +define('Q3_DESC', 'Creative as you are you can grant your village the ultimate name.

    Click on 'profile' in the left hand menu and then select 'change profile'...'); +define('Q3_ORDER', 'Order:

    Change your village's name to something nice.'); +define('Q3_RESP', 'Wow, a great name for their village. It could have been the name of my village!...'); -define("Q4","Task 4: Other Players"); -define("Q4_DESC","In ". SERVER_NAME ." you play along with billions of other players. Click 'statistics' in the top menu to look up your rank and enter it here."); -define("Q4_ORDER","Order:<\/p>Look for your rank in the statistics and enter it here."); -define("Q4_BUTN","complete task"); -define("Q4_RESP","Exactly! That's your rank."); +define('Q4', 'Task 4: Other Players'); +define('Q4_DESC', 'In '.SERVER_NAME.' you play along with billions of other players. Click 'statistics' in the top menu to look up your rank and enter it here.'); +define('Q4_ORDER', 'Order:

    Look for your rank in the statistics and enter it here.'); +define('Q4_BUTN', 'complete task'); +define('Q4_RESP', 'Exactly! That's your rank.'); -define("Q5","Task 5: Two Building Orders"); -define("Q5_DESC","Build an iron mine and a clay pit. Of iron and clay one can never have enough."); -define("Q5_ORDER","Order:<\/p>