/**
 * Languages
 * @packet TWEETSWITCH
 * @module Languages
 */
if(typeof TWEETSWITCH=="undefined" || !TWEETSWITCH ){throw("Require TWEETSWITCH");}

TWEETSWITCH.Lang = {
    defaults: 'EN',
    /*helpHash: new Hash(),*/
    setDefault: function(){}
};

TWEETSWITCH.Lang.EN = {};

//TO CHANGE FOR VARIOUS LANGUAGES
TWEETSWITCH.Lang.Generic = TWEETSWITCH.Lang.EN;

TWEETSWITCH.Lang.EN.HumanLanguageSettings = {
    config: 'TweetSwitch configuration',
    not_available: 'If I am not available on the above, ',
	not_configured: 'Your account is not configured yet.',
	receiveTweets: 'I will receive my tweets on:'
};

TWEETSWITCH.Lang.EN.PrefBoxesHelp = {
	boxesHelpH1: "What are the boxes for anyway?",
	boxesHelpH2: "These boxes configure your delivery settings.",
	boxesHelpLi1: "Your tweets will be sent to any accounts in Box 1.",
	boxesHelpLi2: "If your tweets can't be delivered to Box 1 (e.g. if you are offline), the message will be redirected to Box 2.",
	boxesHelpLi3: "If your tweets can't be delivered to Box 2, TweetSwitch will deliver them to Box 3."
};

TWEETSWITCH.Lang.EN.TweetBox = {
	update: "update",
	whatAreYouDoing: "What are you doing now?"
};

TWEETSWITCH.Lang.EN.UpdateTweet = {
	statusUpdated: "Your Twitter status has been updated."
};

TWEETSWITCH.Lang.EN.AddToWaitingList = {
	done: "Done! Thank you for your interest."
};

TWEETSWITCH.Lang.EN.RegClosed = {
	//regClosed: "Registration closed.",
	//registerEmailBelow: "Registration is currently closed. If you want to be notified as soon as new accounts are made available, please register your email address below.",
	regClosed: "Register now !",
	registerEmailBelow: "TweetSwitch does not currently support new registrations. Please sign-up below and we will send you an invitation in the coming days.",
	
	addMeToWaitingList: "Add me to the list",
	fname: "First name",
	email: "Email address"
};

TWEETSWITCH.Lang.EN.Error = {
	errorOccured: "An error occured:",
	enterTwitterPassword: "Please enter your Twitter password",
	browserNotSupported: "Browser not supported. Please upgrade to a more recent browser such as <a href='http://www.mozilla.com/firefox/'>Firefox</a>.",
	systemCouldNotLogin: "The system could not log you in"
};

TWEETSWITCH.Lang.EN.TNC = {
	TNCs: "Terms and conditions",
	service: "<p>The service named TweetSwitch is provided by Astrapia Ltd. with address:<br />2nd Floor<br />145-157 St John Street<br />London<br />EC1V 4PY<br />Astrapia Ltd. is Your sole contracting party.</p><h2>1.  Scope of Service</h2><p>TweetSwitch / Astrapia Ltd. provides its services solely on the basis of these terms and conditions. By signing into TweetSwitch / Astrapia Ltd. , You will accept these terms and conditions.<br />TweetSwitch  is a communication management tool. Which enables You to manage Your existing communication channels. The service provided by TweetSwitch / Astrapia Ltd. includes, but is not limited to, forwarding of twitter messages to other communication channels supported by TweetSwitch / Astrapia Ltd. <br />The terms 'communication' and 'message' used in these terms and conditions refer to any kind of communication, including but not limited to text based messages.</p><h2>2. No Access to Emergency Services: </h2><p>TweetSwitch / Astrapia Ltd. is not suitable for emergency calls. You must ensure other alternative communication arrangements are available to ensure that You can make emergency calls if needed.</p><h2>3. Delivery is not ensured</h2><p>Due to technical reasons, TweetSwitch / Astrapia Ltd. cannot ensure that the message is delivered to the recipient-no delivery guarantee can be given.<br />You must use alternative communication to ensure that the recipient receives the message</p><h2>4. Receiving of messages is not ensured</h2><p>TweetSwitch / Astrapia Ltd. cannot guarantee that You will receive all messages sent to You.</p><h2>5. Interruption of Service</h2><p>TweetSwitch / Astrapia Ltd. is continually improving. At times, this may require TweetSwitch / Astrapia Ltd. to restrict, limit, suspend, interfere and/or interrupt any product and service of TweetSwitch / Astrapia Ltd. without prior notice.</p><h2>6. Content of communications: </h2><p>TweetSwitch / Astrapia Ltd. does not control, or have any knowledge of the content of any communications managed by TweetSwitch / Astrapia Ltd. The sender is solely responsible for the content. The users of TweetSwitch / Astrapia Ltd. may therefore be exposed to content that is offensive, illegal, harmful to minors, indecent or otherwise objectionable. Therefore, only the senders can be held responsible by the recipients.</p><h2>7. Indemnity</h2><p>You will respect all legal requirements and You will act according to the law. You will exempt and indemnify TweetSwitch / Astrapia Ltd. of any liability if You do not follow these legal requirements.</p><h2>8. Message Privacy</h2><p>You need to be aware that messages delivered on certain platforms are accessible to the public. Therefore, any messages directed from TweetSwitch / Astrapia Ltd. to said platforms will be accessible to the public. <br />The setting of the forwarding preferences is sole responsibility of the user and TweetSwitch / Astrapia Ltd. takes no responsibility for any consequences arising from the forwarding preference settings.</p><h2>9. Terms of use of outside communication services</h2><p>You will respect and fulfil the terms and conditions of the providers of communication services You  received your messages from and send your messages to.</p><h2>10. Exclusion of Warranties</h2><p>In particular it is not warranted to You that:<br/>- the use of TweetSwitch / Astrapia Ltd. will be free from error, uninterrupted or secure <br />- that messages cannot be read by third parties<br />- any kind of communication passed through TweetSwitch / Astrapia Ltd. will reach the recipient<br />- defects will be fixed<br />- the use of the Services will meet Your requirements <br />- any information obtained by You as a result of Your use of TweetSwitch / Astrapia Ltd. will be accurate or reliable.<br />No conditions, warranties or other terms (including any implied terms as to satisfactory quality, fitness for purpose or conformance with description) apply to TweetSwitch / Astrapia Ltd. except to the extent that they are expressly set out in the Terms.<br />Your statutory rights which You are always entitled to as a consumer and that You cannot contractually agree to alter or waive shall not be affected by this Terms.</p><h2>11. Limitation of Liability</h2><p>TweetSwitch / Astrapia Ltd., its Subsidiaries and Affiliates, its licensors, and TweetSwitch / Astrapia Ltd. staff shall not be liable, whether in contract, warranty, tort (including negligence), or any other form of liability, to You for: any indirect or consequential losses which may be incurred by You. This shall include any loss of profit (whether incurred directly or indirectly), any loss of goodwill or business reputation, or any loss of data suffered by You.<br />As explained in article 2, TweetSwitch / Astrapia Ltd. is not a system suitable for emergency services.  Therefore TweetSwitch / Astrapia Ltd., its Affiliates or the TweetSwitch / Astrapia Ltd. Staff shall not be liable for any losses incurred by the inability to reach emergency services. <br />The limitations of liability to You above shall apply whether or not TweetSwitch / Astrapia Ltd., its Affiliates or the TweetSwitch / Astrapia Ltd. staff have been advised of, or should have been aware of, the possibility of any such losses arising.<br />Nothing in this agreement is intended to exclude or restrict, or shall be construed as excluding or restricting the liability of TweetSwitch / Astrapia Ltd.  in the case of (I) the death or personal injury caused by the negligence of TweetSwitch / Astrapia Ltd., the TweetSwitch / Astrapia Ltd. staff or its agents, or (ii) any liability which cannot be excluded or limited by applicable law.<br />If Your jurisdictions do not allow some of the exclusions or limitations as established above, some of these exclusions or limitations may not apply to You. In that event the liability will be limited as far as legally possible under the applicable legislation.</p><h2>12. Applicable Law and Competent Court</h2><p>The Terms of Service shall be governed by and interpreted in accordance with the laws of Great Britain and shall be subject to the jurisdiction of the courts of the district of London.</p>"
};

TWEETSWITCH.Lang.EN.Observers = {
	twitterUsername: "Twitter username"
};

TWEETSWITCH.Lang.EN.ConfigPanel = {
	whileBoxTitile:"What do you want to add?",
	whileBoxLabel_1:"option :",
    whileBoxLabel_2:"name&nbsp; :",
    checkBoxText_1:"DM",
    checkBoxText_2:"Mention",
    checkBoxText_3:"List",
	checkBoxText_4:"Search",
	btn_confirm:"OK",
	btn_cancel:"CANCEL"
};

TWEETSWITCH.Lang.EN.Wizard = {
	dispWizard: "Display Wizard",
	step1H2: "Welcome to TweetSwitch !",
	step1: "First, let's add your accounts. These are the accounts on which you can receive and reply to your tweets. You can also update your Twitter status through these accounts. Click on the add button to get started.",
	step2H2: "Great!",
	step2: "Now choose the type of account you want to create.",
	step3H2: "Enter your account name and click \"Create\". e.g. ",
	step4H2: "Excellent!",
	step4: "Now configure your TweetSwitch by dragging your account into the preference boxes. <br/>WARNING: In order for TweetSwitch to work, you must accept any friend requests from our TweetSwitch bot.",
	step5Header: "Perfect !",
	step5Body: "You successfully configured TweetSwitch. You will start receiving your tweets shortly. It may take a few minutes for your first tweet to be received. <br/>Please accept any friend request from our TweetSwitch bot. <br /><br/><div class='textBottom'>We hope you enjoy the service, and please give us feedback!</div>"
};

TWEETSWITCH.Lang.EN.OAuth = {
	errorRedirection: "Acquisition of a redirect link to Twitter failed.",
	tokenInvalid: "You need to re-authenticate with Twitter. Please close this window and click on the login button."
};

TWEETSWITCH.Lang.EN.Tabs = {
	tweets: "All Tweets",
	DMs: "DMs",
	mentions:"Mentions",
	tweetDesc:"How do you want to receive your tweets?",
	DMsDesc: "How do you want to receive your direct messages?",
	mentionsDesc:"How do you want to receive tweets of people who mention you?",
	alreadyExists: "This item already exists"
};

TWEETSWITCH.Lang.EN.changePreference = {
	reverted : "Data transfer error, please try again. If the problem persists, please contact support."
};

TWEETSWITCH.Lang.EN.login = {
	cancelLogin: "Cancel login"
};


TWEETSWITCH.Lang.EN.active = "Service active";
TWEETSWITCH.Lang.EN.paused = "Service paused";

TWEETSWITCH.Lang.EN.Loading = "Loading...";

TWEETSWITCH.Lang.EN.addDaemonTitle = "Your TweetSwitch contact:";
TWEETSWITCH.Lang.EN.addDaemonBody = "Please accept the invite from <DAEMON_ACCOUNT> on your <PROTOCOL> messenger.<br />Alternatively, please add <DAEMON_ACCOUNT> to your contacts to use TweetSwitch.";
