// liens externes utilises dans le simulateur
var liens = {
	url_age_admissibilite_psv: 'http://www.servicecanada.gc.ca/eng/services/pensions/oas/changes/age/index.shtml',
	url_budget_retraite: 'https://www.desjardins.com/ressources/pdf/e35-budget-e.pdf',
	url_age_psv: 'http://www.advisor.ca/retirement/should-clients-defer-oas-116581',
	url_age_rrq: 'http://www.theglobeandmail.com/globe-investor/personal-finance/deferring-collection-of-cpp-to-age-70-could-pay/article1202997/',
	url_age_ideal_pour_la_rrq: 'http://affaires.lapresse.ca/opinions/chroniques/stephanie-grammond/201301/11/01-4610512-lage-ideal-pour-la-rrq.php',
	url_passer_a_l_action_votre_caisse: 'https://www.desjardins.com/ca/locator/index.jsp?typeRecherche=caisse#/ps'
};

/* textes dans le code. 
* 
* ATTENTION : il ne faut pas utiliser le code html pour les accents, a l'exception des messages d'avertissement et d'erreur ( de la forme warning_XXX et erreur_XXX )
* 
* les textes avec parametres sont utilises dans la fonction $scope.validStep du fichier js/controller.js
* les parametres sont passes sous forme de tableau et sont remplacee dans le texte par le pattern {i}, 
* i etant l'indice dans le tableau (commencant par 0). Ex : {0} sera remplace par le premier parametre, {1} par le deuxieme, etc...
*/
var messages = {
	/*
	 * Debut de la zone SANS code html pour les accents
	 */
	numeric_separator: ',',
	decimal_separator: '.',
	currency_zero: '$0',
	currency_positive: '${0}',
	currency_negative: '(${0})',
	
	frequences_6: 'Per year',
	frequences_2: 'Per month',
	frequences_3: 'Every 2 weeks',
	frequences_1: 'Per week',

	provinces_qc: 'Quebec',
	provinces_on: 'Ontario',

	profils_pr: 'Low risk  ({0}% return)',
	profils_eq: 'Medium risk  ({0}% return)',
	profils_cr: 'High risk  ({0}% return)',
	profils_au: 'Other (custom return)',

	profils_au_taux: '{0}% return',

	info_champs_obligatoires: 'All information is required.',
	info_montants_dollars_d_aujourd_hui: "Amounts are in today's dollars.",

	graph_x_axis_title: 'Age',
	graph_y_axis_title_evolution_epargne: 'Personal savings ($)',
	graph_y_axis_title_provenance_revenus: 'Annual income ($)',

	graph_description_evolution_epargne: "Graphic representing the personal savings trend",
	graph_description_provenance_revenus: "Graphic representing the retirement income trend",

	graph_tooltip_age_evolution_epargne: '{0} years old : {1} $',
	graph_tooltip_age_provenance_revenus: '{0} years old<br/>{1} : {2} $',

	graph_legende_ar: 'Additional retirement income',
	graph_legende_ep: 'Personal savings at retirement',
	graph_legende_rrq: 'QPP/CPP',
	graph_legende_psv: 'OAS',
	graph_legende_rc: 'Defined contribution plan',
	graph_legende_rp: 'Defined benefit plan',
	graph_legende_scenario_1: 'Scenario 1',
	graph_legende_scenario_2: 'Scenario 2',
	graph_legende_cible_a_atteindre: 'Goal to reach ${0}',
	
	objectif_option_1: "Scenario {0} will allow you to receive the target income of ${1} until age {2} only. You will not reach your goal of receiving this income until age {3}, as desired.",
	objectif_option_2: "Scenario {0} will not allow you to receive the target income of ${1} over the course of any of your retirement years.",
	objectif_option_3: "Congratulations! Scenario {0} will allow you to receive the target income of ${1} throughout your retirement years, until {2} years of age, as desired.",
	objectif_option_4: "Congratulations! Scenario {0} will allow you to receive the target income of ${1} until {2} years of age, as desired, and surplus capital will be available to you.",

	tableau_description_evolution_epargne: "Date table representing the personal savings trend",
	tableau_description_provenance_revenus: "Date table representing the retirement income trend",
	
	confirmation_fermeture_fenetre: 'Are you sure you want to close the window?',

	nav_fermer: 'Close the window',
	nav_etape1: 'Step 1 of 6 - Your situation ',
	nav_etape2: 'Step 2 of 6 - Retirement plan',
	nav_etape3: 'Step 3 of 6 - Government plans at retirement',
	nav_etape4: 'Step 4 of 6 - Personal savings for retirement',
	nav_etape5: 'Step 5 of 6 - Pension plan at work',
	nav_etape6: 'Step 6 of 6 - Results',
	
	erreur_global: "Errors were detected in the following fields",

	personnaliser_document_pdf: 'Customize the PDF document',
	contacter_un_conseiller: 'Contact an advisor',

	consulter_instructions_page: "See page's instructions",
	
	/*
	 * Fin de la zone SANS code html pour les accents
	 */

	/*
	 * Debut de la zone pouvant utiliser le code html a la place des accents
	 */
	
	warning_generic_min: "The number entered seems relatively low. Are you sure you entered the right number?",
	warning_generic_max: "The number entered seems relatively high. Are you sure you entered the right number?",
	warning_age_actuel_2_scenarios: "Change to current age has been applied to both scenarios.",
	warning_province_2_scenarios: "Change to province has been applied to both scenarios.",
	warning_age_psv_min: "Start age for OAS pension is lower than your expected retirement age. Are you sure you entered the right number?",
	warning_age_psv_max: "Start age for OAS pension is greater than your life expectancy age. Are you sure you entered the right number?",
	warning_age_rrq_min: "Start age for QPP benefits is lower than your expected retirement age. Are you sure you entered the right number?",
	warning_age_rrq_max: "Start age for QPP benefits is greater than your life expectancy age. Are you sure you entered the right number?",
	
	erreur_age_actuel: "Current age must be a number between ${0} and {1}.",
	erreur_salaire_actuel: "Current salary must be a number between ${0} and ${1} {2}.",
	erreur_province: "Please select a province.",
	erreur_profil: "Please select your expected return.",
	erreur_taux: "Expected return must be a number between {0} and {1}&nbsp;%.",
	erreur_age_prevu: "Expected retirement age must be a number between {0} and {1}.",
	erreur_age_prevu_inf_age_actuel: "Expected retirement age must be greater than current age.",
	erreur_age_esperance: "Life expectancy must be a number between {0} and {1}.",
	erreur_age_esperance_inf_age_prevu: "Life expectancy must be greater than expected retirement age.",
	erreur_revenu_desire: "Desired retirement income amount must be a number between ${0} and ${1}.",
	erreur_revenu_desire_taux: "Percentage of current income must be a number smaller than or equal to {0}&nbsp;%.",
	erreur_revenu_supp: "Additional income amount at retirement must be a number between ${0} and ${1} {2}.",
	erreur_age_revenu_supp: "Age at which you expect to receive additional income must be a number between {0} and {1}.",
	erreur_age_psv: "Age at which you expect to receive your Old Age Security pension must be a number between {0} and {1}.",
	erreur_montant_max_psv: "Maximum Old Age Security pension amount must be a number between ${0} and ${1}.",
	erreur_age_rrq: "Age at which you expect to start receiving Quebec Pension Plan or Canada Pension Plan benefits must be a number between {0} and {1}.",
	erreur_montant_rrq: "Quebec Pension Plan or Canada Pension Plan amount must be a number between ${0} and ${1}.",
	erreur_placement_reer: "RRSP and LIRA investment amount must be a number between ${0} and ${1}.",
	erreur_placement_celi: "TFSA investment amount must be a number between ${0} and ${1}.",
	erreur_placement_non_enr: "Non-registered account investment amount must be a number between ${0} and ${1}.",
	erreur_versement_reer: "Periodic RRSP contribution amount must be a number between ${0} and ${1} {2}.",
	erreur_versement_celi: "Periodic TFSA contribution amount must be a number between ${0} and ${1} {2}.",
	erreur_versement_non_enr: "Periodic non-registered account contribution amount must be a number between ${0} and ${1} {2}.",
	erreur_regime_pension: "You must make a selection.",
	erreur_pension_prevue_retraite: "Expected employer pension amount at retirement must be a number between ${0} and ${1}.",
	erreur_pension_prevue_65ans: "Expected employer pension amount as of age 65 must be a number between ${0} and ${1}.",
	erreur_placement_cotisations_determinees: "Investment amount accrued to date must be a number between ${0} and ${1}.",
	erreur_versement_cotisations_determinees: "Expected periodic contribution amount until retirement must be a number between ${0} and ${1} {2}."
	/*
	 * Fin de la zone pouvant utiliser le code html a la place des accents
	 */
};
