-- These are the main viewer's lines.

ZygorGuidesViewer_L("Main", "enUS", function() return {
	["name"] = "Zygor Guides",
	["desc"] = "Main settings for Zygor's Guide.|n",
	["title"] = "Zygor Guides",

	["toggle_window"] = "Toggle Zygor's Guide window",

	["opt_visible"] = "Show the Zygor's Guide window",
	 ["opt_visible_desc"] = "",
	
	["opt_group_main"] = "Main window settings",
	["opt_opacitymain"] = "Opacity",
	 ["opt_opacitymain_desc"] = "Opacity of the main Zygor's Guides window.",

	["opt_group_mini"] = "Mini window settings",
	["opt_minimapnotedesc"] = "Show waypoint caption",
	 ["opt_minimapnotedesc_desc"] = "Show the relevant waypoint's caption not only on the waypoint's tooltip, but on the mini window as well.",
	["opt_showgoals"] = "Show step goals",
	 ["opt_showgoals_desc"] = "Show step completion goals in the mini window",
	["opt_autosizemini"] = "Auto-size",
	 ["opt_autosizemini_desc"] = "Automatically adjust the height of the mini window.",
	["opt_miniresizeup"] = "Resize upwards",
	 ["opt_miniresizeup_desc"] = "Makes the mini window expand upwards, instead of downwards. Useful if you're placing it at the bottom of your screen.",
	["opt_opacitymini"] = "Background opacity",
	 ["opt_opacitymini_desc"] = "Opacity of Zygor's Guide's mini window background.",

	["opt_group_map"] = "Map-related settings",
	 ["opt_group_map_desc"] = "These settings govern how Zygor's Guide interacts with map-handling addons.",
	["opt_group_map_waypointing"] = "Waypointing addon",
	 ["opt_group_map_waypointing_desc"] = "Select the addon that you'd like to handle the waypoints for Zygor's Guide.",
	["opt_group_addons_builtin"] = "Built-in waypointing",
	["opt_group_addons_tomtom"] = "TomTom",
	["opt_group_addons_cart2"] = "Cartographer 2",
	["opt_group_addons_cart3"] = "Cartographer 3",
	["opt_group_addons_metamap"] = "MetaMap",
	["opt_group_addons_none"] = "none",
	["opt_debug"] = "Debug",
	 ["opt_debug_desc"] = "Display debug info.",
	["opt_debugging"] = "Debugging",
	 ["opt_debugging_desc"] = "Debugging options.",
	--["opt_browse"] = "Toggle windows",
	 --["opt_browse_desc"] = "Toggle the visibility of either of Zygor's Guides windows.",

	["opt_autoskip"] = "Advance automatically",
	 ["opt_autoskip_desc"] = "Automatically skip to the next step, when all conditions are completed. You might still have to manually skip some steps that have completion conditions too complex for the guide to detect reliably.",

	["waypointaddon_set"] = "Waypointing addon selected: %s",
	["waypointaddon_connecting"] = "Connecting to waypointing addon: %s",
	["waypointaddon_connected"] = "Successfully connected to %s.",
	["waypointaddon_fail"] = "Failed to connect to %s.",

	["checkmap"] = "Check your map.",

	["initialized"] = 'Initialized.',

	["missing_text_long"] = "Zygor's 1-70 "..UnitFactionGroup("player").." Leveling Guide is not loaded.|n|nPlease go to http://zygorguides.com to purchase it!|n|nIf you have indeed installed Zygor's 1-70 "..UnitFactionGroup("player").." Leveling Guide, make sure it's properly located in the Interface\\Addons\\ZygorGuides"..UnitFactionGroup("player").." folder in your World of Warcraft game folder and enabled on the character selection screen.",
	["missing_text_short"] = "Zygor's 1-70 "..UnitFactionGroup("player").." Leveling Guide is either missing, disabled, or improperly installed.",

	["stepgoal_questaccepted"] = "Accept: %s",
	["stepgoal_questturnedin"] = "Turn in: %s",
	["stepgoal_questgoal"] = "%s",
	["stepgoal_level"] = "To level %d: %d%%",
	["stepgoal_home"] = "Set home location to %s",
	["stepgoal_flightpath"] = "Get the %s flight path",
	["stepgoal_location"] = "Go to %s %d:%d",
	["stepgoal_location_onlyzone"] = "Go to %s",
	["stepgoal_item"] = "%s (%d/%d)",

	["stepgoalshort_complete"] = "(complete)",
	["stepgoalshort_incomplete"] = "",
	["stepgoalshort_questgoal"] = "(%d/%d)",
	["stepgoalshort_level"] = "(%d%%)",

	["stepgoal_req"] = "Step valid only for: %s",

	["stepgoal_complete"] = " (complete)",

	["map_highlight"] = "Highlight",

	["stepreq"] = "Step class/race requirement: ",
	["stepreqor"] = " or "
} end)

-- "Language tokens" for the Guide steps.

ZygorGuidesViewer_L("G_main", "enUS", function() return {
	["accept"] = "Accept %s",
	["turn in"] = "Turn in %s",
	["talk to"] = "Talk to %s",
	["kill"] = "Kill %s",
	["kill #"] = "Kill %d %s",
	["get"] = "Get %s",
	["get #"] = "Get %d %s",
	["grind"] = "You should now be level %d.",
	["grind2"] = "	If not, grind a little until you are.",
	["go to"] = "Go to %s",
	["also at"] = "Also at %s",
	["hearth to"] = "Hearth to %s",
	["slain"] = "%s slain",
	["get flight path"] = "Get the %s Flight Path"
} end)



-- Add lines for any translations needed for:

-- ITEMS

ZygorGuidesViewer_L("G_item", "enUS", function() return {
--	["Tough Wolf Meat"] = TRUE,
} end)


-- CHARACTERS

ZygorGuidesViewer_L("G_char", "enUS", function() return {
--	["Deputy Willem"] = TRUE,
} end)


-- QUESTS

ZygorGuidesViewer_L("G_quest", "enUS", function() return {
--	["A Threat Within"] = TRUE,
} end)


-- MISC STRINGS

ZygorGuidesViewer_L("G_string", "enUS", function() return {
--	["blabla"] = TRUE,
} end)


-- DETECTION

ZygorGuidesViewer_L("Detect", "enUS", function() return {
	["accepted"] = "Quest accepted: (.*)",
	["complete"] = "(.*) completed.",
	["home"] = "(.*) is now your home",
	["flightpath"] = "New flight path discovered",
} end)

