From 06bbc58c4dc2ffbd99158c918c14505f983eb945 Mon Sep 17 00:00:00 2001 From: HarpyWar Date: Sat, 28 Jun 2014 23:17:59 +0400 Subject: [PATCH] keep Lua translations at the end of xml, remove enUS because it is already defined in code --- conf/i18n/common-csCZ.xml | 194 +- conf/i18n/common-deDE.xml | 194 +- conf/i18n/common-enUS.xml | 1819 ----------------- conf/i18n/common-esES.xml | 194 +- conf/i18n/common-frFR.xml | 80 +- conf/i18n/common-itIT.xml | 80 +- conf/i18n/common-jaJA.xml | 80 +- conf/i18n/common-koKR.xml | 80 +- conf/i18n/common-plPL.xml | 80 +- conf/i18n/common-ruRU.xml | 196 +- conf/i18n/common-zhCN.xml | 80 +- conf/i18n/common-zhTW.xml | 80 +- scripts/localize/pvpgn_localize_generator.cs | 130 +- scripts/localize/pvpgn_localize_generator.exe | Bin 12288 -> 12800 bytes 14 files changed, 764 insertions(+), 2523 deletions(-) delete mode 100644 conf/i18n/common-enUS.xml diff --git a/conf/i18n/common-csCZ.xml b/conf/i18n/common-csCZ.xml index 44380df..0fa3005 100644 --- a/conf/i18n/common-csCZ.xml +++ b/conf/i18n/common-csCZ.xml @@ -109,7 +109,7 @@ for {} - + Announcement from {}: {} @@ -129,7 +129,7 @@ There's no account with username {}. - + {} is already a Channel Admin @@ -153,7 +153,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator to use this command. @@ -209,7 +209,7 @@ Maximum password length allowed is {} - + Trying to change password for account "{}" to "{}" @@ -317,11 +317,11 @@ Invalid user. - + Invalid user. - + {}'s command group(s): {} @@ -377,15 +377,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. - + There's no account with username {}. - + You must be at least a Channel Admin to demote another Channel Admin @@ -429,15 +429,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + There's no account with username {}. - + {} has been removed from VOP list. @@ -481,7 +481,7 @@ Invalid user. - + Login: {} {} Sex: {} @@ -661,11 +661,11 @@ none - + unknown - + Owner: {} @@ -685,7 +685,7 @@ Created: {} - + Started: {} @@ -785,7 +785,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator or tempOP to use this command. @@ -833,7 +833,7 @@ Connection closed by admin. - + Copied current scores to active scores on all ladders. @@ -841,7 +841,7 @@ This game does not support win/loss records. - + You must supply a rank and a valid program ID. @@ -853,7 +853,7 @@ Invalid user. - + Account {} is now locked @@ -865,7 +865,7 @@ This command can only be used inside a channel. - + Banned users: @@ -877,11 +877,11 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + Unable to change channel flags. @@ -905,7 +905,7 @@ Invalid user. - + Account {} is now muted @@ -917,7 +917,7 @@ That user is not logged on. - + Address information for other users is only available to admins. @@ -957,7 +957,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. @@ -965,7 +965,7 @@ There's no account with username {}. - + {} is already a Channel Operator @@ -997,11 +997,11 @@ You must supply a username. - + There's no account with username {}. - + {} is already a Server Operator @@ -1037,7 +1037,7 @@ Invalid user. - + Connection closed. @@ -1073,7 +1073,7 @@ You are not in a channel. - + No one messaged you, use /m instead @@ -1085,7 +1085,7 @@ That user is not logged on. - + Banning {} who is using IP address {} @@ -1113,7 +1113,7 @@ Invalid user. - + Current value of {} is "{}" @@ -1317,7 +1317,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tmpOP to use this command. @@ -1325,7 +1325,7 @@ There's no account with username {}. - + {} has already tmpOP in this channel @@ -1333,11 +1333,11 @@ {} must be on the same channel to tempOP him - + {} already is operator or admin, no need to tempOP him - + {} has been promoted to tmpOP in this channel @@ -1345,11 +1345,11 @@ {} has promoted you to a tempOP in this channel - + This command can only be used inside a channel. - + Max topic length exceeded (max {} symbols) @@ -1369,7 +1369,7 @@ This command can only be used inside a channel. - + You are not a channel operator. @@ -1385,7 +1385,7 @@ Invalid user. - + Your account has just been unlocked by {} @@ -1397,7 +1397,7 @@ Invalid user. - + Your account has just been unmuted by {} @@ -1409,7 +1409,7 @@ No such user. - + User was not being ignored. @@ -1421,7 +1421,7 @@ That user does not exist. - + Removal from watch list failed. @@ -1433,7 +1433,7 @@ Removal from watch list failed. - + All {} users removed from your watch list. @@ -1449,7 +1449,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. @@ -1457,7 +1457,7 @@ There's no account with username {}. - + {} is already on VOP list, no need to Voice him @@ -1485,15 +1485,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Admin to use this command. - + There's no account with username {}. - + {} is already on VOP list @@ -1509,7 +1509,7 @@ That user does not exist. - + Add to watch list failed. @@ -1521,7 +1521,7 @@ Add to watch list failed. - + All {} users added to your watch list. @@ -1561,11 +1561,11 @@ Reset {}'s {} stats - + Reset {}'s {} stats - + You cannot kick administrators. @@ -1605,7 +1605,7 @@ Hash is: {} - + Your account has been muted, you can't whisper to other users. @@ -1683,53 +1683,13 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked This account has been locked - - - - This command is reserved for admins. - + Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1737,7 +1697,7 @@ This command can only be used inside a channel. - + This command can only be used from the game. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-deDE.xml b/conf/i18n/common-deDE.xml index 247ecec..2ab0e83 100644 --- a/conf/i18n/common-deDE.xml +++ b/conf/i18n/common-deDE.xml @@ -109,7 +109,7 @@ for {} - + Announcement from {}: {} @@ -129,7 +129,7 @@ There's no account with username {}. - + {} is already a Channel Admin @@ -153,7 +153,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator to use this command. @@ -209,7 +209,7 @@ Maximum password length allowed is {} - + Trying to change password for account "{}" to "{}" @@ -317,11 +317,11 @@ Invalid user. - + Invalid user. - + {}'s command group(s): {} @@ -377,15 +377,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. - + There's no account with username {}. - + You must be at least a Channel Admin to demote another Channel Admin @@ -429,15 +429,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + There's no account with username {}. - + {} has been removed from VOP list. @@ -481,7 +481,7 @@ Invalid user. - + Login: {} {} Sex: {} @@ -661,11 +661,11 @@ none - + unknown - + Owner: {} @@ -685,7 +685,7 @@ Created: {} - + Started: {} @@ -785,7 +785,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator or tempOP to use this command. @@ -833,7 +833,7 @@ Connection closed by admin. - + Copied current scores to active scores on all ladders. @@ -841,7 +841,7 @@ This game does not support win/loss records. - + You must supply a rank and a valid program ID. @@ -853,7 +853,7 @@ Invalid user. - + Account {} is now locked @@ -865,7 +865,7 @@ This command can only be used inside a channel. - + Banned users: @@ -877,11 +877,11 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + Unable to change channel flags. @@ -905,7 +905,7 @@ Invalid user. - + Account {} is now muted @@ -917,7 +917,7 @@ That user is not logged on. - + Address information for other users is only available to admins. @@ -957,7 +957,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. @@ -965,7 +965,7 @@ There's no account with username {}. - + {} is already a Channel Operator @@ -997,11 +997,11 @@ You must supply a username. - + There's no account with username {}. - + {} is already a Server Operator @@ -1037,7 +1037,7 @@ Invalid user. - + Connection closed. @@ -1073,7 +1073,7 @@ You are not in a channel. - + No one messaged you, use /m instead @@ -1085,7 +1085,7 @@ That user is not logged on. - + Banning {} who is using IP address {} @@ -1113,7 +1113,7 @@ Invalid user. - + Current value of {} is "{}" @@ -1317,7 +1317,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tmpOP to use this command. @@ -1325,7 +1325,7 @@ There's no account with username {}. - + {} has already tmpOP in this channel @@ -1333,11 +1333,11 @@ {} must be on the same channel to tempOP him - + {} already is operator or admin, no need to tempOP him - + {} has been promoted to tmpOP in this channel @@ -1345,11 +1345,11 @@ {} has promoted you to a tempOP in this channel - + This command can only be used inside a channel. - + Max topic length exceeded (max {} symbols) @@ -1369,7 +1369,7 @@ This command can only be used inside a channel. - + You are not a channel operator. @@ -1385,7 +1385,7 @@ Invalid user. - + Your account has just been unlocked by {} @@ -1397,7 +1397,7 @@ Invalid user. - + Your account has just been unmuted by {} @@ -1409,7 +1409,7 @@ No such user. - + User was not being ignored. @@ -1421,7 +1421,7 @@ That user does not exist. - + Removal from watch list failed. @@ -1433,7 +1433,7 @@ Removal from watch list failed. - + All {} users removed from your watch list. @@ -1449,7 +1449,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. @@ -1457,7 +1457,7 @@ There's no account with username {}. - + {} is already on VOP list, no need to Voice him @@ -1485,15 +1485,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Admin to use this command. - + There's no account with username {}. - + {} is already on VOP list @@ -1509,7 +1509,7 @@ That user does not exist. - + Add to watch list failed. @@ -1521,7 +1521,7 @@ Add to watch list failed. - + All {} users added to your watch list. @@ -1561,11 +1561,11 @@ Reset {}'s {} stats - + Reset {}'s {} stats - + You cannot kick administrators. @@ -1605,7 +1605,7 @@ Hash is: {} - + Your account has been muted, you can't whisper to other users. @@ -1683,53 +1683,13 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked This account has been locked - - - - This command is reserved for admins. - + Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1737,7 +1697,7 @@ This command can only be used inside a channel. - + This command can only be used from the game. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-enUS.xml b/conf/i18n/common-enUS.xml deleted file mode 100644 index e601272..0000000 --- a/conf/i18n/common-enUS.xml +++ /dev/null @@ -1,1819 +0,0 @@ - - - - English - - - - - - - by {} - - - - for {} - - - - permanently - - - - with a reason "{}" - - - - No such alias. Use // to show the list. - - - - Alias list: - - - - you are now tempOP for this channel - - - - Account name contains some invalid symbol! - - - - Maximum password length allowed is {} - - - - Trying to add account "{}" with password "{}" - - - - Hash is: {} - - - - Failed to create account! - - - - Account {} created. - - - - You must supply a username. - - - - There's no account with username {}. - - - - {} is already a Server Admin - - - - {} has been promoted to a Server Admin - - - - {} has promoted you to a Server Admin - - - - {} is not a Server Admin. - - - - {} has been demoted from a Server Admin - - - - {} has demoted you from a Server Admin - - - - Currently logged on Administrators: - - - - Your game client doesn't support MessageBox. - - - - \n\n***************************\nBy {} - - - - Information from {} - - - - for {} - - - - Announcement from {}: {} - - - - Could not broadcast message. - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Admin to use this command. - - - - There's no account with username {}. - - - - {} is already a Channel Admin - - - - {} has been promoted to a Channel Admin - - - - {} has promoted you to a Channel Admin for channel "{}" - - - - You are now marked as being away. - - - - You are no longer marked as away. - - - - This command can only be used inside a channel. - - - - You have to be at least a Channel Operator to use this command. - - - - That account doesn't currently exist. - - - - You cannot ban administrators. - - - - Audible notification on. - - - - Channel Arranged Teams is a RESTRICTED Channel! - - - - Max channel name length exceeded (max {} symbols) - - - - Command disabled while inside a game. - - - - Currently accessible channels: - - - - All current channels: - - - - Current channels of type {} - - - - -----------name----------- users ----admin/operator---- - - - - Only admins may change passwords for other accounts. - - - - Account does not exist. - - - - Maximum password length allowed is {} - - - - Trying to change password for account "{}" to "{}" - - - - Unable to set password. - - - - Message was sent to all currently available clan members. - - - - All fellow members of your clan are currently offline. - - - - Clan channel is opened up! - - - - Clan channel has already been opened up! - - - - Clan channel is closed! - - - - Clan channel has already been closed! - - - - Clan message of day is updated! - - - - User {} was invited to your clan! - - - - You are invited to {} by {}! - - - - User {} is not online or is already member of clan! - - - - This is one-way action! If you really want - - - - to disband your clan, type /clan disband yes - - - - Your clan was disbanded. - - - - You have been invited to {} - - - - You are now a clan member of {} - - - - Clan {} was be created - - - - You are no longer ivited to {} - - - - You are already in clan "{}" - - - - Clan with your specified &lt;clantag&gt; already exist! - - - - Please choice another one. - - - - Clan {} is created! - - - - Clan {} is pre-created, please invite - - - - at least {} players to your clan by using - - - - /clan invite &lt;username&gt; command. - - - - Invalid user. - - - - Invalid user. - - - - {}'s command group(s): {} - - - - Got bad group: {} - - - - Groups {} has been added to {} - - - - Groups {} has been deleted from {} - - - - Got unknown command: {} - - - - This command is only enabled for admins. - - - - Current connections: - - - - -class -tag -----name------ -lat(ms)- ----channel---- --game-- - - - - -#- -class ----state--- -tag -----name------ -session-- -flag- -lat(ms)- ----channel---- --game-- - - - - -#- -class ----state--- -tag -----name------ -session-- -flag- -lat(ms)- ----channel---- --game-- ---------addr-------- - - - - Unknown option. - - - - (none) - - - - none - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator or tempOP to use this command. - - - - There's no account with username {}. - - - - You must be at least a Channel Admin to demote another Channel Admin - - - - {} has been demoted from a Channel Admin. - - - - {} has demoted you from a Channel Admin of channel "{}" - - - - {} has been demoted from a Channel Operator - - - - {} has demoted you from a Channel Operator of channel "{}" - - - - {} has been demoted from a tempOP of this channel - - - - {} has demoted you from a tmpOP of channel "{}" - - - - {} is no Channel Admin or Channel Operator or tempOP, so you can't demote him. - - - - {} has demoted you from a tempOP of channel "{}" - - - - {} is no tempOP in this channel, so you can't demote him - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator to use this command. - - - - There's no account with username {}. - - - - {} has been removed from VOP list. - - - - {} has removed you from VOP list of channel "{}" - - - - You must be at least Channel Admin to remove {} from the VOP list - - - - Voice has been taken from {} in this channel - - - - {} has taken your Voice in channel "{}" - - - - {} has no Voice in this channel, so it can't be taken away - - - - Do Not Disturb mode engaged. - - - - Not available - - - - Do Not Disturb mode canceled. - - - - -- name -- similar to {} - - - - Invalid user. - - - - Login: {} {} Sex: {} - - - - Created: {} - - - - Clan: {} - - - - Rank: Chieftain - - - - Rank: Shaman - - - - Rank: Grunt - - - - Rank: Peon - - - - Location: {} Age: {} - - - - Client: {} Ver: {} Country: {} - - - - unknown - - - - Last login {} from - - - - On since {} from - - - - Operator: {}, Admin: {}, Locked: {}, Muted: {} - - - - Yes - - - - Email: {} - - - - Last login Owner: {} - - - - Idle {} - - - - Flags set to {}. - - - - That user does not exist. - - - - Server error. - - - - You can't add yourself to your friends list. - - - - You can only have a maximum of {} friends. - - - - {} is already on your friends list! - - - - Added {} to your friends list. - - - - {} added you to his/her friends list. - - - - All of your friends are offline. - - - - {} was not found on your friends list. - - - - Removed {} from your friends list. - - - - Promoted {} in your friends list. - - - - Demoted {} in your friends list. - - - - Your {} - Friends List - - - - Your {} - Online Friends List - - - - , offline - - - - using {} - - - - , in game "{}" - - - - , in game AT Preparation - - - - , in channel "{}", - - - - , is in AT Preparation - - - - , is in a game - - - - , is in a chat channel - - - - End of Friends List - - - - You are not in a game. - - - - That game does not exist. - - - - Name: {} ID: {} ({}) - - - - none - - - - unknown - - - - Owner: {} - - - - Address: {} - - - - Address: {} (trans {}) - - - - Client: {} (version {}, startver {}) - - - - Created: {} - - - - Started: {} - - - - Status: {} - - - - Type: {} - - - - Speed: {} - - - - Difficulty: {} - - - - Option: {} - - - - Map: {} - - - - Map Size: {}x{} - - - - Map Tileset: {} - - - - Map Type: {} - - - - Players: {} current, {} total, {} max - - - - Description: {} - - - - Currently accessible games: - - - - All current games: - - - - Games in lobby: - - - - Current games of type {} - - - - Current games of type {} {} - - - - ------name------ p -status- --------type--------- count - - - - ctag - - - - --------addr-------- - - - - Warning: That user is not online, using last known address. - - - - Sorry, no IP address could be retrieved. - - - - Scanning online users for IP {}... - - - - There are no online users with that IP address - - - - This command can only be used inside a channel. - - - - You have to be at least a Channel Operator or tempOP to use this command. - - - - That user is not logged in. - - - - That user is not in this channel. - - - - That connection doesn't exist. - - - - That user is not logged in? - - - - An admin has closed your connection and banned your IP address. - - - - Connection closed by admin. - - - - Operation successful. - - - - That is not a valid session. - - - - That session does not exist. - - - - Connection closed by admin and banned your IP's. - - - - Connection closed by admin. - - - - Copied current scores to active scores on all ladders. - - - - This game does not support win/loss records. - - - - You must supply a rank and a valid program ID. - - - - Example: /ladderinfo 1 STAR - - - - Invalid user. - - - - Account {} is now locked - - - - Your account has just been locked - - - - This command can only be used inside a channel. - - - - Banned users: - - - - You are not in a channel. - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator to use this command. - - - - Unable to change channel flags. - - - - Channel is now unmoderated. - - - - Channel is now moderated. - - - - Unable to open motd. - - - - No motd. - - - - Invalid user. - - - - Account {} is now muted - - - - Your account has just been muted - - - - That user is not logged on. - - - - Address information for other users is only available to admins. - - - - Server TCP: {} (bind {}) - - - - Client TCP: {} - - - - Client UDP: {} - - - - Client UDP: {} (trans {}) - - - - Game UDP: {} - - - - Game UDP: {} (trans {}) - - - - Game UDP: none - - - - Audible notification off. - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator or tempOP to use this command. - - - - There's no account with username {}. - - - - {} is already a Channel Operator - - - - {} has been promoted to a Channel Operator - - - - {} has promoted you to a Channel Operator in channel "{}" - - - - {} must be on the same channel to tempOP him - - - - {} already is operator or admin, no need to tempOP him - - - - {} has been promoted to a tempOP - - - - {} has promoted you to a tempOP in this channel - - - - You must supply a username. - - - - There's no account with username {}. - - - - {} is already a Server Operator - - - - {} has been promoted to a Server Operator - - - - {} has promoted you to a Server Operator - - - - {} is no Server Operator, so you can't demote him - - - - {} has been demoted from a Server Operator - - - - {} latency: {} - - - - Your latency {} - - - - {} latency () - - - - Invalid user. - - - - Connection closed. - - - - Your quota allows you to write {} line(s) per {} second(s). - - - - Long lines will be wrapped every {} characters. - - - - You are not allowed to send lines with more than {} characters. - - - - You must join a realm first - - - - Announcement from {}@{}: {} - - - - Invalid mode. - - - - Rehash of "{}" is complete! - - - - You are not in a channel. - - - - No one messaged you, use /m instead - - - - Pending changes has been saved into the database. - - - - That user is not logged on. - - - - Banning {} who is using IP address {} - - - - User's account is also LOCKED! Only an admin can unlock it! - - - - /ipban a {} - - - - You have been banned by Admin: {} - - - - Your account is also LOCKED! Only an admin can UNLOCK it! - - - - Access denied due to security reasons. - - - - Invalid user. - - - - Current value of {} is "{}" - - - - Value currently not set - - - - Unable to set key for - - - - Key set successfully for - - - - Invalid delay. - - - - You've initialized the shutdown sequence. - - - - You've canceled the shutdown sequence. - - - - No such user. - - - - You can't squelch yourself. - - - - Could not squelch user. - - - - {} has been squelched. - - - - Invalid user. - - - - Unable to determine client game. - - - - This game does not support win/loss records. - - - - You must supply a user name and a valid program ID. - - - - Example: /stats joe STAR - - - - {}'s record: - - - - level: {} - - - - class: {} - - - - stats: {} str {} mag {} dex {} vit {} gld - - - - Diablo kills: {} - - - - Normal games: {}-{}-{} - - - - Ladder games: {}-{}-{} (rating {}) - - - - Ladder games: 0-0-0 - - - - IronMan games: {}-{}-{} (rating {}) - - - - IronMan games: 0-0-0 - - - - {}'s Ladder Record's: - - - - Users Solo Level: {}, Experience: {} - - - - SOLO Ladder Record: {}-{}-0 - - - - SOLO Rank: {} - - - - Users Team Level: {}, Experience: {} - - - - TEAM Ladder Record: {}-{}-0 - - - - TEAM Rank: {} - - - - Users FFA Level: {}, Experience: {} - - - - FFA Ladder Record: {}-{}-0 - - - - FFA Rank: {} - - - - Users AT Team No. {} - - - - Users AT TEAM Level: {}, Experience: {} - - - - AT TEAM Ladder Record: {}-{}-0 - - - - AT TEAM Rank: {} - - - - There are currently {} user(s) in {} games of {} - - - - There are currently {} users online, in {} games, and in {} channels. - - - - Client tag set to {}. - - - - Invalid clienttag {} specified - - - - Server Time: {} - - - - Your local time: {} - - - - Invalid duration. - - - - Your timer has expired. - - - - Could not set timer. - - - - Timer set for {} second(s) - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator or tmpOP to use this command. - - - - There's no account with username {}. - - - - {} has already tmpOP in this channel - - - - {} must be on the same channel to tempOP him - - - - {} already is operator or admin, no need to tempOP him - - - - {} has been promoted to tmpOP in this channel - - - - {} has promoted you to a tempOP in this channel - - - - This command can only be used inside a channel. - - - - Max topic length exceeded (max {} symbols) - - - - You must be at least a Channel Operator of {} to set the topic - - - - {} topic: no topic - - - - Unable to send TOS (Terms of Service). - - - - This command can only be used inside a channel. - - - - You are not a channel operator. - - - - That user is not banned. - - - - {} is no longer banned from this channel. - - - - Invalid user. - - - - Your account has just been unlocked by {} - - - - That user's account is now unlocked. - - - - Invalid user. - - - - Your account has just been unmuted by {} - - - - That user's account is now unmuted. - - - - No such user. - - - - User was not being ignored. - - - - No longer ignoring. - - - - That user does not exist. - - - - Removal from watch list failed. - - - - User {} removed from your watch list. - - - - Removal from watch list failed. - - - - All {} users removed from your watch list. - - - - All users removed from your watch list. - - - - Uptime: {} - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Operator to use this command. - - - - There's no account with username {}. - - - - {} is already on VOP list, no need to Voice him - - - - {} must be on the same channel to voice him - - - - {} already has Voice in this channel - - - - {} is already an operator or admin. - - - - {} has been granted Voice in this channel - - - - {} has granted you Voice in this channel - - - - This command can only be used inside a channel. - - - - You must be at least a Channel Admin to use this command. - - - - There's no account with username {}. - - - - {} is already on VOP list - - - - {} has been added to the VOP list - - - - {} has added you to the VOP list of channel "{}" - - - - That user does not exist. - - - - Add to watch list failed. - - - - User {} added to your watch list. - - - - Add to watch list failed. - - - - All {} users added to your watch list. - - - - All users added to your watch list. - - - - That channel does not exist. - - - - (If you are trying to search for a user, use the /whois command.) - - - - You are banned from that channel. - - - - Users in channel {}: - - - - Unable to obtain your account name. - - - - (invalid date) - - - - Reset {}'s {} stats - - - - Reset {}'s {} stats - - - - Reset {}'s {} stats - - - - You cannot kick administrators. - - - - You cannot kick operators. - - - - {} has been kicked by {} ({}). - - - - {} has been kicked by {}. - - - - You cannot ban operators. - - - - Unable to ban {}. - - - - {} has been banned by {} ({}). - - - - {} has been banned by {}. - - - - Password for account {} updated. - - - - Hash is: {} - - - - Your account has been muted, you can't whisper to other users. - - - - That user is not logged on. - - - - {} is unavailable ({}) - - - - {} is away ({}) - - - - Unknown user. - - - - User was last seen on: {} - - - - User is offline - - - - You - - - - are - - - - is - - - - {} {} using {} and {} currently in {} game "{}". - - - - {} {} using {} and {} currently in channel "{}". - - - - {} {} using {}. - - - - {} {} refusing messages ({}) - - - - {} away ({}) - - - - You are sending commands to {} too quickly and risk being disconnected for flooding. Please slow down. - - - - This command has been deactivated - - - - This command is reserved for admins. - - - - Unknown command. - - - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - - - This account has been locked - - - - This account has been locked - - - - This command is reserved for admins. - - - - Oops ! There is a problem with the help file. Please contact the administrator of the server. - - - - This command can only be used inside a channel. - - - - This command can only be used from the game. - - - - Bad icon. - - - - {} banned permamently by {}. - - - - {} banned permamently. - - - - {} banned for {} by {}. - - - - {} banned for {}. - - - - Banning only for: {} minutes. - - - - This server has NO mail support. - - - - Please specify which message to delete. Use the following syntax: /mail delete {&lt;index&gt;|all} . - - - - Successfully deleted messages. - - - - Invalid index. Please use /mail delete {&lt;index&gt;|all} where &lt;index&gt; is a number. - - - - Succesfully deleted message. - - - - You have no mail. - - - - There was an error completing your request. - - - - Receiver UNKNOWN! - - - - Receiver has reached his mail quota. Your message will NOT be sent. - - - - Your mail has been sent successfully. - - - - There was an error completing your request! - - - - User "{}" is offline - - - - \ No newline at end of file diff --git a/conf/i18n/common-esES.xml b/conf/i18n/common-esES.xml index 6ccf66d..dc4b65a 100644 --- a/conf/i18n/common-esES.xml +++ b/conf/i18n/common-esES.xml @@ -109,7 +109,7 @@ for {} - + Announcement from {}: {} @@ -129,7 +129,7 @@ There's no account with username {}. - + {} is already a Channel Admin @@ -153,7 +153,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator to use this command. @@ -209,7 +209,7 @@ Maximum password length allowed is {} - + Trying to change password for account "{}" to "{}" @@ -317,11 +317,11 @@ Invalid user. - + Invalid user. - + {}'s command group(s): {} @@ -377,15 +377,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. - + There's no account with username {}. - + You must be at least a Channel Admin to demote another Channel Admin @@ -429,15 +429,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + There's no account with username {}. - + {} has been removed from VOP list. @@ -481,7 +481,7 @@ Invalid user. - + Login: {} {} Sex: {} @@ -661,11 +661,11 @@ none - + unknown - + Owner: {} @@ -685,7 +685,7 @@ Created: {} - + Started: {} @@ -785,7 +785,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator or tempOP to use this command. @@ -833,7 +833,7 @@ Connection closed by admin. - + Copied current scores to active scores on all ladders. @@ -841,7 +841,7 @@ This game does not support win/loss records. - + You must supply a rank and a valid program ID. @@ -853,7 +853,7 @@ Invalid user. - + Account {} is now locked @@ -865,7 +865,7 @@ This command can only be used inside a channel. - + Banned users: @@ -877,11 +877,11 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + Unable to change channel flags. @@ -905,7 +905,7 @@ Invalid user. - + Account {} is now muted @@ -917,7 +917,7 @@ That user is not logged on. - + Address information for other users is only available to admins. @@ -957,7 +957,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. @@ -965,7 +965,7 @@ There's no account with username {}. - + {} is already a Channel Operator @@ -997,11 +997,11 @@ You must supply a username. - + There's no account with username {}. - + {} is already a Server Operator @@ -1037,7 +1037,7 @@ Invalid user. - + Connection closed. @@ -1073,7 +1073,7 @@ You are not in a channel. - + No one messaged you, use /m instead @@ -1085,7 +1085,7 @@ That user is not logged on. - + Banning {} who is using IP address {} @@ -1113,7 +1113,7 @@ Invalid user. - + Current value of {} is "{}" @@ -1317,7 +1317,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tmpOP to use this command. @@ -1325,7 +1325,7 @@ There's no account with username {}. - + {} has already tmpOP in this channel @@ -1333,11 +1333,11 @@ {} must be on the same channel to tempOP him - + {} already is operator or admin, no need to tempOP him - + {} has been promoted to tmpOP in this channel @@ -1345,11 +1345,11 @@ {} has promoted you to a tempOP in this channel - + This command can only be used inside a channel. - + Max topic length exceeded (max {} symbols) @@ -1369,7 +1369,7 @@ This command can only be used inside a channel. - + You are not a channel operator. @@ -1385,7 +1385,7 @@ Invalid user. - + Your account has just been unlocked by {} @@ -1397,7 +1397,7 @@ Invalid user. - + Your account has just been unmuted by {} @@ -1409,7 +1409,7 @@ No such user. - + User was not being ignored. @@ -1421,7 +1421,7 @@ That user does not exist. - + Removal from watch list failed. @@ -1433,7 +1433,7 @@ Removal from watch list failed. - + All {} users removed from your watch list. @@ -1449,7 +1449,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. @@ -1457,7 +1457,7 @@ There's no account with username {}. - + {} is already on VOP list, no need to Voice him @@ -1485,15 +1485,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Admin to use this command. - + There's no account with username {}. - + {} is already on VOP list @@ -1509,7 +1509,7 @@ That user does not exist. - + Add to watch list failed. @@ -1521,7 +1521,7 @@ Add to watch list failed. - + All {} users added to your watch list. @@ -1561,11 +1561,11 @@ Reset {}'s {} stats - + Reset {}'s {} stats - + You cannot kick administrators. @@ -1605,7 +1605,7 @@ Hash is: {} - + Your account has been muted, you can't whisper to other users. @@ -1683,53 +1683,13 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked This account has been locked - - - - This command is reserved for admins. - + Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1737,7 +1697,7 @@ This command can only be used inside a channel. - + This command can only be used from the game. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-frFR.xml b/conf/i18n/common-frFR.xml index 7f969d8..b2c2bff 100644 --- a/conf/i18n/common-frFR.xml +++ b/conf/i18n/common-frFR.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-itIT.xml b/conf/i18n/common-itIT.xml index d0d3061..b6d42ad 100644 --- a/conf/i18n/common-itIT.xml +++ b/conf/i18n/common-itIT.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-jaJA.xml b/conf/i18n/common-jaJA.xml index 1b03112..f4ba62c 100644 --- a/conf/i18n/common-jaJA.xml +++ b/conf/i18n/common-jaJA.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-koKR.xml b/conf/i18n/common-koKR.xml index a3cb100..9a984ab 100644 --- a/conf/i18n/common-koKR.xml +++ b/conf/i18n/common-koKR.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-plPL.xml b/conf/i18n/common-plPL.xml index fc788e6..a9b5fd7 100644 --- a/conf/i18n/common-plPL.xml +++ b/conf/i18n/common-plPL.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-ruRU.xml b/conf/i18n/common-ruRU.xml index 91c043f..cf0c87e 100644 --- a/conf/i18n/common-ruRU.xml +++ b/conf/i18n/common-ruRU.xml @@ -13,7 +13,7 @@ for {} - + permanently @@ -109,7 +109,7 @@ for {} - + Announcement from {}: {} @@ -129,7 +129,7 @@ There's no account with username {}. - + {} is already a Channel Admin @@ -153,7 +153,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator to use this command. @@ -209,7 +209,7 @@ Maximum password length allowed is {} - + Trying to change password for account "{}" to "{}" @@ -317,11 +317,11 @@ Invalid user. - + Invalid user. - + {}'s command group(s): {} @@ -377,15 +377,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. - + There's no account with username {}. - + You must be at least a Channel Admin to demote another Channel Admin @@ -429,15 +429,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + There's no account with username {}. - + {} has been removed from VOP list. @@ -481,7 +481,7 @@ Invalid user. - + Login: {} {} Sex: {} @@ -661,11 +661,11 @@ none - + unknown - + Owner: {} @@ -685,7 +685,7 @@ Created: {} - + Started: {} @@ -785,7 +785,7 @@ This command can only be used inside a channel. - + You have to be at least a Channel Operator or tempOP to use this command. @@ -833,7 +833,7 @@ Connection closed by admin. - + Copied current scores to active scores on all ladders. @@ -841,7 +841,7 @@ This game does not support win/loss records. - + You must supply a rank and a valid program ID. @@ -853,7 +853,7 @@ Invalid user. - + Account {} is now locked @@ -865,7 +865,7 @@ This command can only be used inside a channel. - + Banned users: @@ -877,11 +877,11 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. - + Unable to change channel flags. @@ -905,7 +905,7 @@ Invalid user. - + Account {} is now muted @@ -917,7 +917,7 @@ That user is not logged on. - + Address information for other users is only available to admins. @@ -957,7 +957,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tempOP to use this command. @@ -965,7 +965,7 @@ There's no account with username {}. - + {} is already a Channel Operator @@ -997,11 +997,11 @@ You must supply a username. - + There's no account with username {}. - + {} is already a Server Operator @@ -1037,7 +1037,7 @@ Invalid user. - + Connection closed. @@ -1073,7 +1073,7 @@ You are not in a channel. - + No one messaged you, use /m instead @@ -1085,7 +1085,7 @@ That user is not logged on. - + Banning {} who is using IP address {} @@ -1113,7 +1113,7 @@ Invalid user. - + Current value of {} is "{}" @@ -1317,7 +1317,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator or tmpOP to use this command. @@ -1325,7 +1325,7 @@ There's no account with username {}. - + {} has already tmpOP in this channel @@ -1333,11 +1333,11 @@ {} must be on the same channel to tempOP him - + {} already is operator or admin, no need to tempOP him - + {} has been promoted to tmpOP in this channel @@ -1345,11 +1345,11 @@ {} has promoted you to a tempOP in this channel - + This command can only be used inside a channel. - + Max topic length exceeded (max {} symbols) @@ -1369,7 +1369,7 @@ This command can only be used inside a channel. - + You are not a channel operator. @@ -1385,7 +1385,7 @@ Invalid user. - + Your account has just been unlocked by {} @@ -1397,7 +1397,7 @@ Invalid user. - + Your account has just been unmuted by {} @@ -1409,7 +1409,7 @@ No such user. - + User was not being ignored. @@ -1421,7 +1421,7 @@ That user does not exist. - + Removal from watch list failed. @@ -1433,7 +1433,7 @@ Removal from watch list failed. - + All {} users removed from your watch list. @@ -1449,7 +1449,7 @@ This command can only be used inside a channel. - + You must be at least a Channel Operator to use this command. @@ -1457,7 +1457,7 @@ There's no account with username {}. - + {} is already on VOP list, no need to Voice him @@ -1485,15 +1485,15 @@ This command can only be used inside a channel. - + You must be at least a Channel Admin to use this command. - + There's no account with username {}. - + {} is already on VOP list @@ -1509,7 +1509,7 @@ That user does not exist. - + Add to watch list failed. @@ -1521,7 +1521,7 @@ Add to watch list failed. - + All {} users added to your watch list. @@ -1561,11 +1561,11 @@ Reset {}'s {} stats - + Reset {}'s {} stats - + You cannot kick administrators. @@ -1605,7 +1605,7 @@ Hash is: {} - + Your account has been muted, you can't whisper to other users. @@ -1683,53 +1683,13 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked This account has been locked - - - - This command is reserved for admins. - + Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1737,7 +1697,7 @@ This command can only be used inside a channel. - + This command can only be used from the game. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-zhCN.xml b/conf/i18n/common-zhCN.xml index e0692d8..390b312 100644 --- a/conf/i18n/common-zhCN.xml +++ b/conf/i18n/common-zhCN.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/conf/i18n/common-zhTW.xml b/conf/i18n/common-zhTW.xml index 6f9a583..427af0d 100644 --- a/conf/i18n/common-zhTW.xml +++ b/conf/i18n/common-zhTW.xml @@ -1683,42 +1683,6 @@ Unknown command. - - You must be at least a Channel Operator to use this command. - - - - This command can only be used inside a channel. - - - - Quiz has already ran in channel "{}". Use /quiz stop to force finish. - - - - Available Quiz dictionaries: - - - - Quiz is not running. - - - - {}'s Quiz record: - - - - {} has never played Quiz. - - - - Top {} Quiz records: - - - - points - - This account has been locked @@ -1727,10 +1691,6 @@ This account has been locked - - This command is reserved for admins. - - Oops ! There is a problem with the help file. Please contact the administrator of the server. @@ -1811,6 +1771,46 @@ There was an error completing your request! + + You must be at least a Channel Operator to use this command. + + + + This command can only be used inside a channel. + + + + Quiz has already ran in channel "{}". Use /quiz stop to force finish. + + + + Available Quiz dictionaries: + + + + Quiz is not running. + + + + {}'s Quiz record: + + + + {} has never played Quiz. + + + + Top {} Quiz records: + + + + points + + + + This command is reserved for admins. + + User "{}" is offline diff --git a/scripts/localize/pvpgn_localize_generator.cs b/scripts/localize/pvpgn_localize_generator.cs index b83b54e..2af4c3b 100644 --- a/scripts/localize/pvpgn_localize_generator.cs +++ b/scripts/localize/pvpgn_localize_generator.cs @@ -25,6 +25,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Text; +using System.Linq; using System.Xml.Serialization; namespace pvpgn_localize_generator @@ -34,38 +35,60 @@ namespace pvpgn_localize_generator /// /// C++ localization function name /// - private const string func_name = "localize"; - private const string outfile = "output.xml"; + const string func_name = "localize"; + static string outfile = "output.xml"; + static string dirpath; static Root _data = new Root(); static void Main(string[] args) { - if (args.Length != 1) + if (args.Length == 0 || args.Length > 2) { - Console.WriteLine("This utility generates XML file for next translation from hardcoded text arguments in function {0}(...) that in *.cpp files\n(c) 2014 HarpyWar (harpywar@gmail.com)", func_name); - Console.WriteLine("\nUsage: {0} [path to 'src/bnetd']\n", AppDomain.CurrentDomain.FriendlyName); + Console.WriteLine("This utility generates XML file for next translation from hardcoded text arguments in function {0}(...) that in *.cpp, *.h, *.lua files\n(c) 2014 HarpyWar (harpywar@gmail.com)", func_name); + Console.WriteLine("\nUsage: {0} [path to 'pvpgn' repository directory] {{output.xml}}", AppDomain.CurrentDomain.FriendlyName); + Console.WriteLine(" (to make update of existing xml file, pass it in a second parameter)\n", AppDomain.CurrentDomain.FriendlyName); Environment.Exit(0); } - var dirpath = args[0]; + dirpath = args[0]; + if (args.Length == 2) + outfile = args[1]; - // process all files in directory - foreach(var f in Directory.GetFiles(dirpath)) + + if (File.Exists(outfile)) + { + // deserialize xml to data + var xsr = new XmlSerializer(typeof(Root)); + var reader = new StreamReader(outfile); + _data = (Root)xsr.Deserialize(reader); + reader.Close(); + } + + string[] cppfiles = Directory.GetFiles(dirpath, "*.cpp", SearchOption.AllDirectories); + string[] hfiles = Directory.GetFiles(dirpath, "*.h", SearchOption.AllDirectories); + string[] luafiles = Directory.GetFiles(dirpath, "*.lua", SearchOption.AllDirectories); + string[] allfiles = cppfiles.Concat(hfiles).Concat(luafiles).ToArray(); + + // process each file + foreach (var f in allfiles) { parse_file(f); } + // sort items by file -> function + _data.Items = _data.Items.OrderBy(x => x.Function).OrderBy(x => x.File).OrderBy(x => Path.GetExtension(x.File)).ToList(); + // serialize data to xml - var ser = new XmlSerializer(typeof(Root)); + var xsw = new XmlSerializer(typeof(Root)); using (var fs = new FileStream(outfile, FileMode.Create)) { - ser.Serialize(fs, _data); + xsw.Serialize(fs, _data); } Console.WriteLine("\n{0} items saved in {1}: ", _data.Items.Count, outfile); - Console.WriteLine("\nPress any key to exit..."); - Console.ReadKey(); + //Console.WriteLine("\nPress any key to exit..."); + //Console.ReadKey(); } /// @@ -78,31 +101,54 @@ namespace pvpgn_localize_generator string filename = Path.GetFileName(filepath); string text, f, function = string.Empty; - int i = 0; - foreach (string s in lines) + int ln = 0; // line number + int uid = 1; + foreach (string l in lines) { - i++; + ln++; try { - if ((f = is_function(s)) != null) + if ((f = is_function(l)) != null) function = f; // remember last function - if ((text = find_localize_text(s)) == null) + if ((text = find_localize_text(l)) == null) continue; + // ignore duplicate strings in the same file and function + if (_data.Items.Find(x => x.Original == text && x.File == filename && x.Function == function) != null) + continue; + + // find the original text in list for reference + var reference = _data.Items.Find(x => x.Original == text && x.Translate.RefId == null); + + // set unique Id + while (_data.Items.Find(x => x.Id == uid.ToString()) != null) + { + uid++; + } + _data.Items.Add(new Root.StringItem() { + Id = uid.ToString(), File = filename, Function = function, Original = text, - Translate = " " + Translate = new Root.StringItem.TranslateItem() + { + // reference to exist translation + RefId = (reference != null) ? reference.Id : null, + InnerText = (reference != null) ? null : " ", + } }); + // insert example author + if (_data.meta.Authors.Count == 0) + _data.meta.Authors.Add(new Root.Meta.AuthorItem() { Name = "nomad" , Email = "nomad@example.com"}); Console.WriteLine("{0}, {1}(): {2}", filename, function, text); } - catch(Exception e) + catch (Exception e) { - Console.WriteLine("Error on parse file \"{0}\" on line #{1}: {2}", filename, i, s); + Console.WriteLine("Error on parse file \"{0}\" on line #{1}: {2}", filename, ln, l); Console.WriteLine(e.Message); } } @@ -134,7 +180,7 @@ namespace pvpgn_localize_generator break; } // 3) find last quote - if (line.Substring(i, 1) == "\"" && line.Substring(i-1, 1) != "\\") + if (line.Substring(i, 1) == "\"" && line.Substring(i - 1, 1) != "\\") quote2_pos = i; continue; } @@ -149,14 +195,14 @@ namespace pvpgn_localize_generator continue; } // 1) find function name - if (line.Substring(i, (i+func_name.Length > line.Length) ? line.Length-i : func_name.Length) == func_name) + if (line.Substring(i, (i + func_name.Length > line.Length) ? line.Length - i : func_name.Length) == func_name) func_pos = i; } return escape_text(text); } /// - /// Filter text corresponding XML rules + /// Filter text corresponding to XML rules /// /// /// text or null (if null passed) @@ -185,7 +231,7 @@ namespace pvpgn_localize_generator return null; // last line must have ) or { - if (line[line.Length - 1] == ')' || line[line.Length - 1] == '{') + if (!line.Contains(";") && line[line.Length - 1] == ')' || line[line.Length - 1] == '{') { string[] words = line.Split(); if (words.Length > 0) @@ -218,8 +264,14 @@ namespace pvpgn_localize_generator return null; } - static string[] reserved_words = new string[] { - + /// + /// Ignore these words when find a function name + /// + static string[] reserved_words = new string[] + { + func_name, // function definition + "LIST_TRAVERSE", + "type", "while", "switch", "class", @@ -244,7 +296,7 @@ namespace pvpgn_localize_generator }; } -#region Serializer Class + #region Serializer Class [XmlRoot("root")] public class Root @@ -265,9 +317,7 @@ namespace pvpgn_localize_generator public Meta() { language = new LanguageItem(); - Authors = new List() { - new AuthorItem() - }; + Authors = new List(); } [XmlElement("language"), DefaultValue("change_me")] @@ -281,20 +331,22 @@ namespace pvpgn_localize_generator [XmlAttribute("tag")] public string Tag = "enUS"; [XmlText] - public string Default = "English"; + public string InnerText = "English"; } public class AuthorItem { [XmlAttribute("name")] - public string Name = "nomad"; + public string Name; [XmlAttribute("email")] - public string Email="nomad@example.com"; + public string Email; } } public class StringItem { + [XmlAttribute("id")] + public string Id; [XmlAttribute("file")] public string File; [XmlAttribute("function")] @@ -302,10 +354,18 @@ namespace pvpgn_localize_generator [XmlElement("original")] public string Original; [XmlElement("translate")] - public string Translate; + public TranslateItem Translate; + + public class TranslateItem + { + [XmlAttribute("refid")] + public string RefId; + [XmlText] + public string InnerText = " "; // default value is " " to save empty values when updating xml file + } } -#endregion + #endregion } } diff --git a/scripts/localize/pvpgn_localize_generator.exe b/scripts/localize/pvpgn_localize_generator.exe index 688e347543273b0b5ead2a06813a9aeaba56feea..2f5e5ad4034120721353e440cda67facda1f8233 100644 GIT binary patch delta 3628 zcmZu!dvKK16+icWuYF~cZ+Ej zyK%6TB4EQeww787GYmfdsKYGP)<4i_XFAqCz(3Tsz<^V0aoSP~Gg=*KfA@YHUhTr3 zdw#!r?m73Kd+xoPv4OF#e{WBtH~3ONl|L7VGcWTJSs+{vIjwK}#RvSS7ZWWL!~oH0 zZM-4q8zb@oKeLFa&Tilddo64A%xD1>#n-a;vN(&`FSAzGZl7n3QR)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