//this file is for client side

GalleryLocalize_Current={

	LanguageName		:"en-us"
	,
	LanguageText		:"English(US)"
	,
	TEXT_DEFAULTCATEGORYNAME	:"(Default)"
	,
	TEXT_DEFAULTSENDERNAME	:"(Guest)"
	,
	TEXT_NUMCOMMENTS	:"Comment(s)"
	,
	MENU_OPENCATEGORY	:"Open"
	,
	MENU_OPENPHOTO		:"Open"
	,
	MENU_EDIT			:"Edit"
	,
	MENU_SHOWEDITOR		:"Admin Console"
	,
	MENU_DELETE			:"Delete"
	,
	MENU_CLOSE			:"Close"
	,
	MENU_SLIDER			:"Show Slider"
	,
	MENU_ADDCOMMENT		:"Add Comment"
	,
	MENU_UPLOADFILES		:"Upload files"
	,
	MENU_DELETECOMMENT		:"Delete Comment"
	,
	LABEL_LOCATION		:"Location"
	,
	BUTTON_NEWCATEGORY	:"New Category"
	,
	BUTTON_DELETE		:"Delete"
	,
	BUTTON_SLIDER		:"Show Slider"
	,
	PROMPT_TYPECATEGORYNAME	:"Please input category name"
	,
	PROMPT_TYPEPHOTONAME	:"Please input photo title"
	,
	PROMPT_TYPECOMMENT		:"Please input new comment"
	,
	CONFIRM_DELETEPHOTO		:"Are you sure you want to delete photo '{0}' ?"
	,
	CONFIRM_DELETECATEGORY	:"Are you sure you want to delete category '{0}' and all its files ?"
	,
	CONFIRM_DELETECOMMENT	:"Are you sure you want to delete comment '{0}' ?"
	,
	TODO	:function(text){return text;}
};

if(typeof(GalleryLocalize)=="undefined")
{
	//new Function("","") return a constructor , new constructor create an instance
	window.GalleryLocalize=new new Function("","");
}

for(var p in GalleryLocalize_Current)
{
	if(GalleryLocalize_Current.hasOwnProperty(p))
	{
		GalleryLocalize[p]=GalleryLocalize_Current[p];
	}
}


GalleryLocalize_ENUS=GalleryLocalize_Current;
GalleryLocalize["en-us"]=GalleryLocalize_Current;
