YAHOO.namespace('yap').l10n = function(){
	var strings;

	return {
		setString : function( lang ) {
			strings = lang;
		},
    setLang : function(lang) {
      YAHOO.yap.l10n.lang = lang;
    },
		getString : function(key, o_placeholders) {
			if( strings[key] !== undefined ) {
				if(o_placeholders !== undefined ) {
					return YAHOO.lang.substitute(strings[key], o_placeholders);
				} else {
					return strings[key];
				}
			} else {
				return '[[(JS)'+key+']]';
			}
		}
	}
}();
YAHOO.yap.l10n.setString( {"Chrome_JS_Broadcast-StartBroadcasting":"Start broadcasting",
"Chrome_JS_Broadcast-Starting":"Starting...",
"Chrome_JS_Broadcast-StopBroadcasting":"Stop broadcasting",
"Chrome_JS_Broadcast-Stopping":"Stopping...",
"Chrome_JS_Broadcast-YouAreBroadcastingUpdates":"You are broadcasting updates.",
"Chrome_JS_Broadcast-YouAreNotBroadcastingUpdates":"You are not broadcasting updates.",
"Chrome_JS_Broadcast-YourContactsCanSeeThisActivity":"Your contacts can see this activity",
"Chrome_JS_Broadcast-YourContactsCantSeeThisActivity":"Your contacts can't see this activity",
"Chrome_JS_Connections-ConnectionsAreUnavailableError":"Oops. Your connections are currently unavailable to share with. Please try back later.",
"Chrome_JS_Connections-ManageHowAppContactsYouAndOthers":"Manage how {app_name}  contacts you and others on your behalf",
"Chrome_JS_Connections-NumConnectionsSelected":"{num_connections} connections selected",
"Chrome_JS_Connections-SorryYouHaveNoConnections":"Sorry, you have no connections",
"Chrome_JS_EmailScreenshot-HereIsAScreenshotOfYourEmail":"Here is a screenshot of your email",
"Chrome_JS_EmailScreenshot-Ok":"Ok",
"Chrome_JS_Error-Close":"Close",
"Chrome_JS_Error-Message":"Oops. We couldn't send your message right now. Please try again later.",
"Chrome_JS_Error-Notifications":"Oops. We couldn't change your Notifications settings right now. Please try again later.",
"Chrome_JS_Error-Remove":"Oops. We couldn't remove {app_name} right now. Please try again later.",
"Chrome_JS_Error-Updates":"Oops. We couldn't change your Updates settings right now. Please try again later.",
"Chrome_JS_GenericErrors-AnErrorOccurred":"Oops! An error occurred.",
"Chrome_JS_GenericErrors-Close":"Close",
"Chrome_JS_Install-GetApp":"Get {app_name}",
"Chrome_JS_Loggedout-ClickHereToLogin":"Click here to login",
"Chrome_JS_Loggedout-YouNeedToLoginToShareApp":"Oops! You need to be logged in to share this app.",
"Chrome_JS_MoreInfo-CreatedByDeveloperName":"Created by {developer_name}",
"Chrome_JS_MoreInfo-ThisAppIsNotOwnedOrOperatedByYahoo":"This app is NOT owned or operated by Yahoo!",
"Chrome_JS_MoreInfo-ThisAppIsOwnedAndOperatedByYahoo":"This app is owned and operated by Yahoo!",
"Chrome_JS_Notification-AllowMessages":"Allow messages",
"Chrome_JS_Notification-Allowing":"Allowing...",
"Chrome_JS_Notification-AppCanSendYouMessages":"{app_name} can send you messages",
"Chrome_JS_Notification-AppCantSendYouMessages":"{app_name} can't send you messages",
"Chrome_JS_Notification-StopSendingMessages":"Stop sending messages",
"Chrome_JS_Notification-Stopping":"Stopping...",
"Chrome_JS_Notification-YouAreNotReceivingMessages":"You are not receiving messages.",
"Chrome_JS_Notification-YouAreReceivingMessages":"You are receiving messages.",
"Chrome_JS_Remove-Confirm":"Are you sure you want to permanently remove this app?",
"Chrome_JS_Remove-Error":"Oops. The app couldn't be removed for some reason. If you try to remove it again it might work. If you see this error more than once, please let us know.",
"Chrome_JS_Remove-No":"No, cancel",
"Chrome_JS_Remove-Remove":"Remove",
"Chrome_JS_Remove-RemoveAppFromYourPage":"Remove {app_name} from your page",
"Chrome_JS_Remove-Yes":"Yes, remove",
"Chrome_JS_Share-AddConnectionsByName":"Add connections by name",
"Chrome_JS_Share-Done":"Done",
"Chrome_JS_Share-InviteContactsToUseApp":"Invite your contacts to use {app_name} with you",
"Chrome_JS_Share-NoInvitesLeftToday":"You have no invites left today. Try back tomorrow.",
"Chrome_JS_Share-SomethingIsntWorkingRight":"Oops. Something isn't working right. If you reload the page it might work. If you see this error more than once, please let us know.",
"Chrome_JS_Share-UserWantsToShareAppWithYou":"{user_name} wants to share {app_name} with you",
"Chrome_JS_Share-YouHaveThisManyInvitesLeftToday":"You have {num_invites} invites left today",
"Chrome_JS_Strings-LearnMoreAboutApp":"Learn more about {app_name}",
"Chrome_JS_Views-GoBackToSmallViewOfApp":"Go back to small view of {app_name}",
"Chrome_JS_Views-ViewAppInFullScreen":"View {app_name} in full screen",
"Chrome_JS_Vitality-CouldntBlock":"Oops. The app couldn't be blocked for some reason. If the error happens again, please let us know. If you believe this app is spamming you, you should report abuse.",
"Common_JS_ShareDialog-AppLinkLabel":"Link to App",
"Common_JS_ShareDialog-Cancel":"Cancel",
"Common_JS_ShareDialog-Close":"Close",
"Common_JS_ShareDialog-Done":"Done",
"Common_JS_ShareDialog-InviteCount":"You have {count} invites left today",
"Common_JS_ShareDialog-MessageLabel":"Message",
"Common_JS_ShareDialog-ProfileImgTxt":"{name}'s Icon",
"Common_JS_ShareDialog-Remove":"Remove",
"Common_JS_ShareDialog-Screenshot":"Screenshot",
"Common_JS_ShareDialog-ScreenshotTxt":"Your message will also include this image",
"Common_JS_ShareDialog-Send":"Send",
"Common_JS_ShareDialog-SubjectLabel":"Subject",
"Common_JS_ShareDialog-Title":"Share {app_name}",
"Common_JS_ShareDialog-ToFieldDefault":"Add Connections by name",
"Common_JS_ShareDialog-ToLabel":"To",
"CustomerCare_JS_Required_Field_Error-description":"Description is required",
"CustomerCare_JS_Required_Field_Error-reporter_email":"Reporter Email is required",
"CustomerCare_JS_Required_Field_Error-reporter_name":"Reporter Name is required",
"CustomerCare_JS_Required_Field_Error-subject":"Subject is required"} );
YAHOO.yap.l10n.l10ncrumb='';
YAHOO.yap.l10n.lang='en'; //this is based on user cookies
