﻿/* Language Settings*/
/* The strings object. */
var strings = {"header": {}, "lightbox": {}, "bookmarks": {}, "notes": {}, "toolbox": {}, "printMode": {}, "digitalstories": {}};

/* The header strings
 *	The placeholder value for the search field.
 */
strings["header"]["placeholder"] = "Search";

/* The lighbox strings
 * 	Used in the lightbox mode for the graphs.
 *
 *	[download] => The label for the download action.
 *	[print]		 => The label for the print action.
 *	[close]		 => The label for the close action.
 */
strings["lightbox"]["download"] = "Download as PNG file";
strings["lightbox"]["print"] 		= "Print image";
strings["lightbox"]["close"] 		= "Close";

/* The bookmarks strings
 * 	Used on the all notes pages & print notes page.
 *
 *	[none] => The label used when a user has removed all existing saved pages from the list if any saved pages where present.
 *						This label should match the initial text on the page when there are no saved pages.
 */
strings["bookmarks"] = "You do not have any saved pages.";


/* The notes strings
 * 	Used on the all notes pages & print notes page.
 *
 *	[none] => The label used when a user has removed all existing notes from the list if any notes where present.
 *						This label should match the initial text on the page when no notes have been added.
 */
strings["notes"]["none"] = "You do not have any saved notes.";


/* The toolbox strings
 * 	1. [title] => The title for the toolbox.
 *
 *	2	[Notes Field]
 *	2.1 [saveNote] 				=> The label used when the user has no notes for the page and can add one.
 *	2.2 [changeNote] 			=> The label that the value changes to when an note has been saved or has a bookmark.
 *	2.3 [saveNoteSeeAll] 	=> The sub-label used for the title on link for the all saved notes page.
 *
 *  3. [save]		=> The label used for the save note input, beneath the note input field.
 *	4. [close]	=> The label used for the close note input, beneath the note input field.
 *
 *	5	[Page Field]
 *	5.1 [savePage] 				=> The label used when the user has not bookmarked the current page and can bookmark it.
 *	5.2 [changePage] 			=> The label that the value changes to when the page is or has been bookmarked.
 *	5.3 [savePagesSeeAll] => The sub-label used for the title on the link for the all saved pages page.
 *
 *	6. [print] 		=> The label for the print out this page action.
 *	7. [download] => The label for the link for the download page field.
 */
strings["toolbox"]["title"] = "Tool box";

strings["toolbox"]["saveNote"] = "Create note";
strings["toolbox"]["changeNote"] = "Edit note";
strings["toolbox"]["saveNoteSeeAll"] = "View  all notes +";

strings["toolbox"]["save"] = "Save";
strings["toolbox"]["close"] = "Close [x]";

strings["toolbox"]["savePage"] = "Save page";
strings["toolbox"]["removePage"] = "Delete bookmark";
strings["toolbox"]["savePageSeeAll"] = "View saved pages +";

strings["toolbox"]["print"] = "Print this page";
strings["toolbox"]["download"] = "Go to dowload centre";


/* The Print mode strings
 * 	This are the strings used for the options in the top right corner when a user select print out this page from the toolbox.
 */
strings["printMode"]["print"] = "Print";
strings["printMode"]["close"] = "Close";


/* The Digital Stories string
 *  This are the strgings used in the digitalstories lightbox.
 */
strings["digitalstories"]["enumeratorText"] = '/';	// Defaults to ' of '
strings["digitalstories"]["all"] = "";							// Defaults to 'Asset '
strings["digitalstories"]["image"] = "";						// Defaults to 'Image '
strings["digitalstories"]["videolist"] = "";				// Defaults to 'Videolist '
strings["digitalstories"]["text"] = "";							// Defaults to 'Text '


/* Routes System */
/* the routes object. */
var routes = {"lightbox": {}, "notes": {}, "toolbox": {}};

/* Lightbox routes
 * 1. Url for the print lightbox handler, change it to the appropiate handler.
 */
routes["lightbox"]["print"] = "/lightboxprint.aspx";

/* Notes routes.
 * 	1. Url for the print notes handler, change it to the appropiate handler.
 */
routes["notes"]["print"] = "/notesprint.aspx";

/* Toolbox routes.
 *  	1. Url for download page, change it to the appropiate handler.
 *		2. Url for saved pages handler, change it to the appropiate handler.
 *		3. Url for saved notes handler, change it to the appropiate handler.
 */
routes["toolbox"]["download"] = "/download.aspx";
routes["toolbox"]["savedPages"] = "/savedpages.aspx";
routes["toolbox"]["savedNotes"] = "/notes.aspx";

