/// <reference path="../index.html" />
var eng = {
    "global_menubutton": "Main Menu",
    "global_backbutton": "Back",
    "global_unspecified": "Unspecified",
    "global_yes": "Yes",
    "global_no": "No",
    "global_errormessage_generic": "Enter error message here",
    "global_errormessage_webserviceconnectionproblem": "Could not communicate with PM5 web service. Please try again, if problem persists, contact your administrator.",
    "errormanager_popup_header": "Failure to communicate with the server",
    "errormanager_popup_message_a": "Failed to reach web service.",
    "errormanager_popup_message_b": "You will now be logged out and requested to log in again.",
    "errormanager_popup_message_c": "Please try again, if problem persists, contact your administrator.",
    "login_login": "Login",
    "login_username": "PM5 User Name",
    "login_password": "Password",
    "login_username_placeholder": "Enter user name",
    "login_password_placeholder": "Enter password",
    "login_login_button": "Log in",
    "login_errormessage_incorrect_credentials": "User name or password is incorrect.",
    "login_errormessage_trial_period_expired": "Trial period expired. Please contact PCSYS A/S",
    "login_errormessage_all_login_slots_taken": "Maximum number of concurent logins has been reached. Please wait until another user has logged out.",
    "login_errormessage_previous_mobile_login_exists": "You are already logged in on PM5 on a different mobile device. Only one login per user on mobile device allowed!",
    "mainmenu_machines": "Machines",
    "mainmenu_joblist": "Joblist",
    "mainmenu_stores": "Stores",
    "mainmenu_programconfig": "Program Configuration",
    "mainmenu_location_selection": "Select location",
    "mainmenu_logout": "Logout and exit",
    "mainmenu_personalsettinsmissing_header": "Personal settings are not configured",
    "mainmenu_personalsettinsmissing_text": "Please define reasons for changes in spare part stocks.<br>You will now be redirected to Personal Settings menu where you can do that.",
    "mainmenu_nostoreaccessforuser_header": "Access denied",
    "mainmenu_nostoreaccessforuser_text": "You don't have access to any of PM5 spare part stores.",
    "machineselect_mainheader": "Select Machine",
    "machineselect_search": "Search",
    "machineselect_searchfield_placeholder": "Scan or enter machine number",
    "machineselect_type_not_selected": "Not selected",
    "machineselect_show_valid_machines_at_all_locations": "Include machines at all locations",
    "machineselect_message_nomachinesfound": "Could not find any machines with such number.",
    "machineselect_message_nomachine_with_bacode": "Kunde ikke finde maskine med denne stregkode",
    "machinesearch_machinetypes_label": "Machine type (optional)",
    "machinelist_machinelistheader": "Machine List",
    "machinedetail_info": "Info",
    "machinedetail_activities": "Activity list",
    "machinedetail_fault": "Fault list",
    "machinedetail_spareparts": "Associated spareparts",
    "machinedetail_jobhistory": "Job history",
    "machinedetail_jobhistory_activities": "Activities",
    "machinedetail_jobhistory_faults": "Faults",
    "machinedetail_location": "Location:",
    "machinedetail_machinenumber": "Machine number:",
    "machinedetail_machineidcode": "ID code:",
    "machinedetail_machinetype": "Type:",
    "machinedetail_search": "Search",
    "machinedetail_reportfault": "New Fault",
    "activitydetailwithfunction_details": "Activity Details",
    "activitydetailwithfunction_finishactivity": "Finish Activity",
    "activitydetailwithfunction_jobnr": "Job number:",
    "activitydetailwithfunction_machinename": "Machine name: ",
    "activitydetailwithfunction_machinenumber": "Machine number: ",
    "activitydetailwithfunction_location": "Location: ",
    "activitydetailwithfunction_detailsheader": "Details",
    "activitydetailwithfunction_activitynoteheader": "Activity note",
    "activitydetailwithfunction_editactivitynote": "Edit activity note",
    "activitydetailwithfunction_saveactivitynote": "Save changes",
    "activitydetailwithfunction_tasknoteheader": "Task note",
    "activitydetailwithfunction_task": "Task:",
    "activitydetailwithfunction_tasktype": "Task Type:",
    "activitydetailwithfunction_scheduleddate": "Scheduled:",
    "activitydetailwithfunction_expectedenddate": "Expected end date:",
    "activitydetailwithfunction_tobesignedby": "To be signed by:",
    "activitydetailwithfunction_expandtext": "more",
    "activitydetailwithfunction_collapsetext": "less",
    "activitydetailwithfunction_startactivity": "Mark as started",
    "activitydetailwithfunction_selectedprioritycode": "Priority:",
    "activitydetailwithfunction_cleanup_status": "Cleanup on completion",
    "faultdetailwithfunction_submit_expected_finish_date": "Submit",
    "activitydetailwithfunction_abort_expected_finish_date": "Back",
    "activitypagewithfunction_enddate_instructions": "Select expected end date",
    "activitydetailwithfunction_submit_expected_finish_date": "Submit",
    "activitydetailwithfunction_errormessage_expected_end_date_needs_selection": "Expected end date must be selected",
    "activitydetailwithfunction_errormessage_expected_end_date_invalid_input": "Invalid input or date format",
    "activitydetailhistorical_header": "Activity Details",
    "activitydetailhistorical_details": "Activity Details",
    "activitydetailhistorical_finishactivity": "Finish Activity",
    "activitydetailhistorical_jobnr": "Job number:",
    "activitydetailhistorical_machinename": "Machine name:",
    "activitydetailhistorical_machinenumber": "Machine number:",
    "activitydetailhistorical_task": "Task:",
    "activitydetailhistorical_tasktype": "Task Type:",
    "activitydetailhistorical_scheduleddate": "Scheduled:",
    "activitydetailhistorical_tobesignedby": "Assigned to:",
    "activitydetailhistorical_signedby": "Signed by:",
    "activitydetailhistorical_completeddate": "Completed:",
    "activitydetailhistorical_tasknote_header": "Task note",
    "activitydetailhistorical_activitynote_header": "Activity note",
    "faultdetailwithfunction_details": "Fault Details",
    "faultdetailwithfunction_stop_periods": "Registered machine stops",
    "faultdetailwithfunction_jobid": "Job ID:",
    "faultdetailwithfunction_machinename": "Machine name: ",
    "faultdetailwithfunction_machinenumber": "Machine number",
    "faultdetailwithfunction_location_path": "Location",
    "faultdetailwithfunction_discoveredon": "Discovered",
    "faultdetailwithfunction_discoveredby": "Discovered by",
    "faultdetailwithfunction_faulttype": "Fault type",
    "faultdetailwithfunction_faultcause": "Fault cause",
    "faultdetailwithfunction_resolvedon": "Resolved on",
    "faultdetailwithfunction_signingperson": "To be signed by",
    "faultdetailwithfunction_expectedenddate": "Expected finished",
    "faultdetailwithfunction_expandtext": "more",
    "faultdetailwithfunction_collapsetext": "less",
    "faultdetailwithfunction_finishfault_label": "Finish fault",
    "faultdetailwithfunction_startfault_label": "Mark as started",
    "faultdetailwithfunction_abort_expected_finish_date": "Back",
    "faultpagewithfunction_faultdescriptionheader": "Fault description",
    "faultpagewithfunction_editfaultdescription": "Edit fault description",
    "faultpagewithfunction_savefaultdescription": "Save changes",
    "faultpagewithfunction_faultsolutionheader": "Fault solution",
    "faultpagewithfunction_editfaultsolution": "Edit fault solution",
    "faultpagewithfunction_savefaultsolution": "Save changes",
    "faultdetailwithfunction_register_stop_label": "New stop",
    "faultdetailhistorical_details": "Fault Details",
    "faultdetailhistorical_jobid": "Job ID:",
    "faultdetailhistorical_machinename": "Machine name:",
    "faultdetailhistorical_machinenumber": "Machine number:",
    "faultdetailhistorical_discoveredon": "Discovered on:",
    "faultdetailhistorical_discoveredby": "Discovered by:",
    "faultdetailhistorical_faulttype": "Fault type:",
    "faultdetailhistorical_faultcause": "Fault cause:",
    "faultdetailhistorical_description_header": "Fault description",
    "faultdetailhistorical_solution_header": "Solution",
    "faultdetailhistorical_resolvedon": "Resolved on:",
    "faultdetailhistorical_signingperson": "To be signed by:",
    "faultdetailhistorical_finishfault": "Finish fault",
    "faultdetailhistorical_stop_periods": "Registered machine stops",
    "finishjobwizard_1_mainheader": "Finish job",
    "finishjobwizard_1_spareparts": "Spare Parts",
    "finishjobwizard_1_addspareparts": "Add spare part to job",
    "finishjobwizard_1_manhours": "Manhours",
    "finishjobwizard_1_technicalgroup": "Technical Group",
    "finishjobwizard_1_hours": "Hours",
    "finishjobwizard_1_minutes": "Minutes",
    "finishjobwizard_1_hours_placeholder": "Spent hours",
    "finishjobwizard_1_minutes_placeholder": "Spent minutes",
    "finishjobwizard_1_finishjob": "Finish job",
    "finishjobwizard_1_notechnicalgroups": "User is not member of technical groups",
    "finishjobwizard_1_faultreasonlabel": "Select fault reason",
    "finishjobwizard_1_showallfaultreasons": "Show all",
    "finishjobwizard_1_measuredparameter_header": "Measured parameter ",
    "finishjobwizard_1_measuredparameter_maxvalue": "Max counter value: ",
    "finishjobwizard_1_measuredparameter_reads_label": "Last five counter reads",
    "finishjobwizard_1_measured_param_header": "Measured parameter value",
    "finishjobwizard_measured_param_input_placeholder": "Measured parameter value",
    "finishjobwizard_measured_param_input_label": "Enter current value",
    "finishjobwizard_next_activity_note": "Note for next activity",
    "finishjobwizard_1_errormessage_mp_read_out_of_date_sync_a": "Measured parameter entry at this time violates chronology rules of PM5",
    "finishjobwizard_1_errormessage_mp_read_out_of_date_sync_b": "You can finish the activity if you don't enter measured parameter value.",
    "finishjobwizard_1_errormessage_invalidtimeinput": "Value specified for manhours is not valid.",
    "finishjobwizard_1_errormessage_invalid_measured_parameter_value": "Entered measured parameter value is bigger than maximum allowed value for that measured parameter.",
    "finishjobwizard_1_errormessage_cleanup_status_not_specified": "Cleanup status must be specified before this activity can be finished.",
    "finishjobwizard_1_errormessage_input_data_validation_failed": "Input data validation failed",
    "selectstore_header": "Select spare part store",
    "selectstore_placeholdernode": "Select store from the list",
    "sparepartconsumption_mainheader": "Finish job",
    "sparepartconsumption_qtytoconsume": "Quantity to consume",
    "sparepartconsumption_commitconsume": "Save consumption",
    "sparepartconsumption_quantity_placeholder": "Enter quantity",
    "sparepartselect_select": "Select spare part",
    "sparepartselect_find": "Find sparepart",
    "sparepartselect_camera": "Switch to barcode scan",
    "sparepart_searchfield_placeholder": "Enter or scan spare part id",
    "sparepartsearch_sparepartgroups_label": "Belongs to group",
    "sparepartsearch_no_group_selected": "None selected",
    "sparepartlist_mainheader": "Found spareparts",
    "sparepartlist_associated_with_machines": "Associated with machine",
    "sparepartlist_no_associated_spareparts_message": "No spareparts are associated with the machine",
    "sparepartlist_search_result": "Search result",
    "sparepartdetail_mainheader": "Finish job",
    "sparepartdetail_sparepartname": "Spare Part Name:",
    "sparepartdetail_sparepartnr": "Spare Part Number:",
    "sparepartdetail_selectstock": "Select source stock",
    "sparepartdetail_availablestocks": "Available stocks",
    "sparepartdetail_notfromstore": "Not from store",
    "sparepartdetail_stockheader": "Available stores",
    "sparepartdetail_nostock": "Not from stock",
    "sparepartsearch_include_machine_spareparts_label": "Include machine spareparts",
    "sparepartsearch_message_empty_searchparam_not_allowed": "You need to enter search string at least one character long.",
    "sparepartsearch_message_nosparepartsfound": "Could not find any spare parts with such number.",
    "sparepartsearchinstore_search_sparepart": "Search sparepart",
    "sparepartsearchinstore_message_nosparepartsfound": "There is no spare part with such number.",
    "sparepartsearchinstore_message_nosparepartstocksfound": "Spare part has no stocks at currently selected store.",
    "sparepartsearchinstore_message_nosparepartstocksfound_alt_B": "Spare part has no stocks at store ",
    "sparepartsearchinstore_message_nostoreselected": "No store is selected. Please select the store you wish to work with.",
    "selectsparepartinstore_backbutton": "Change store",
    "sparepartselectinstore_placeholder": "Enter or scan search parameter",
    "sparepartsearchinstore_header": "Search for spare part stocks at ",
    "sparepartstoreselect_header": "Select store you want to work with",
    "sparepartstoreselect_store_empty_message": "This store has no spare part stocks and cannot be selected.",
    "createnewconsumption_mainheader": "Add consumption",
    "createnewconsumption_sparepartname": "Spare part name:",
    "createnewconsumption_sparepartnumber": "Spare Part Number:",
    "createnewconsumption_store": "Store:",
    "createnewconsumption_storelocation": "Location:",
    "createnewconsumption_quantitytoconsume": "Quantity to consume",
    "createnewconsumption_saveconsumption": "Save consumption",
    "createnewconsumption_quantity_placeholder": "Enter quantity",
    "addconsumption_sparepartname": "Spare Part Name",
    "addconsumption_sparepartnumber": "Spare Part Number",
    "addconsumption_store": "Store: ",
    "addconsumption_positionatstore": "Location at store: ",
    "addconsumption_storenotselected": "not selected",
    "addconsumption_err_validnumber": "A valid number must be entered.",
    "addconsumption_err_positivenumbersonly": "Only whole positive numbers allowed as consumption.",
    "addconsumption_err_nozeroes": "Zero is not allowed as consumption value.",
    "modifyconsumption_sparepartname": "Spare part name:",
    "modifyconsumption_sparepartno": "Spare part number:",
    "modifyconsumption_store": "Store:",
    "modifyconsumption_positionatstore": "Location at store:",
    "modifyconsumption_qtytoconsume": "Consumption:",
    "modifyconsumption_err_validnumber": "Entered value is not valid as consumption.",
    "modifyconsumption_err_positivenumbersonly": "Only whole positive numbers are allowed as consumption value.",
    "modifyconsumption_err_nozeroes": "Zero is not a valid consumption value",
    "createfault_mainheader": "Report Fault",
    "createfault_faulttypelist_label": "Fault type",
    "createfault_signatorylist_label": "To be signed by",
    "createfault_faultnote_label": "Fault description",
    "createfault_options_cancel": "Cancel",
    "createfault_options_save": "Save",
    "createfault_machinename": "Machine name: ",
    "createfault_machinenumber": "Machine number: ",
    "createfault_register_as_started": "Started",
    "createfault_expected_end_date_label": "Expected end date",
    "createfault_select_expected_end_date_label": "Select expected end date",
    "createfault_showallfaulttypes": "Show all",
    "createfault_prioritycodes_label": "Priority code",
    "createfault_priority_code_not_selected": "Not selected",
    "createfault_cleanup_after_job": "Cleanup",
    "createfault_request_cleanup": "Request cleanup",
    "createfault_no_cleanup": "No cleanup",
    "createfault_errormessage_expected_end_date_not_specified": "Expected end date needs to be specified for started faults",
    "createfault_errormessage_expected_end_date_invalid_input": "Input in expected date field is not valid date",
    "dialogue_faultadded_title": "Fault reported",
    "dialogue_faultadded_part1": "Fault with job id ",
    "dialogue_faultadded_part2": " has been saved.",
    "dialogue_jobfinished_part1": "Job ",
    "dialogue_jobfinished_part2": " has been finished.",
    "dialogue_tokenexpired_message1": "Your login has timed out. Please log in again.",
    "mainpersonallist_header": "Job list - ",
    "mainpersonallist_current": "Current",
    "mainpersonallist_upcoming": "Upcoming",
    "mainpersonallist_recent": "Recent",
    "mainpersonallist_activities": "Activities",
    "mainpersonallist_faults": "Faults",
    "mainpersonallist_fault": "Fault",
    "mainpersonallist_activity": "Activity",
    "mainpersonallist_personallistbutton": "Personal",
    "mainpersonallist_completelistbutton": "All",
    "mainpersonallist_genericinfoprefix": "Selected period: ",
    "mainpersonallist_genericinfoactivities": "No. of activities: ",
    "mainpersonallist_genericinffaults": "No. of faults: ",
    "mainpersonallist_genericinfnojobs": "There are no jobs assigned to you during selected period.",
    "mainpersonallist_searchonid_button": "Search on #",
    "mainpersonallist_panel_header": "Settings and filters",
    "mainpersonallist_no_technical_group_selected": "No selection",
    "mainpersonallist_all_locations_flag_label": "Jobs from all locations",
    "mainpersonallist_no_task_type_selected": "No selection",
    "mainpersonallist_techgroup_combo_label": "Technical Group",
    "mainpersonallist_tasktype_combo_label": "Task type",
    "mainpersonallist_faulttype_combo_label": "Fault type",
    "mainpersonallist_jobpriority_combo_label": "Priority",
    "mainpersonallist_no_priority_selected": "No selection",
    "mainpersonallist_no_fault_type_selected": "No selection",
    "mainpersonallist_no_signing_person_selected": "All",
    "mainpersonallist_signingperson_combo_label": "To be signed by",
    "mainpersonallist_personal_list_combo_element": "My jobs",
    "mainpersonallist_jobtype_combo_label": "Show job type",
    "mainpersonallist_jobtype_combo_activities_and_faults": "Activities and faults",
    "mainpersonallist_jobtype_combo_activities_only": "Activities only",
    "mainpersonallist_jobtype_combo_faults_only": "Faults only",
    "mainpersonallist_showpanel_button": "Show filter",
    "mainpersonallist_reset_filter_label": "Reset filter",
    "mainpersonallist_close_panel_label": "Use filter",
    "mainpersonallist_location_info_popup_header": "Location for job ",
    "mainpersonallist_location_info_button": "Location info",
    "mainpersonallist_location_assigned_to_label": "Assigned to: ",
    "storesactionselect_changestore": "Store select",
    "storesactionselect_mainheader": "Select action",
    "storesactionselect_storeprefix": "Current store is ",
    "storesactionselect_replenishlabel": "Replenishment",
    "storesactionselect_adjustlabel": "Adjustment",
    "storesactionselect_consume_on_job": "Direct consumption on job",
    "storesactionselect_consume_on_account": "Direct consumption on account",
    "stockmanagementadjust_mainheader": "Adjust stock",
    "stockmanagementadjust_sp_name_label": "Name: ",
    "stockmanagementadjust_sp_number_label": "Number: ",
    "stockmanagementadjust_sp_type_label": "Type: ",
    "stockmanagementadjust_qty_label": "In store: ",
    "stockmanagementadjust_commit": "Change stock to entered number",
    "stockmanagementadjust_sparepartname": "Spare Part Name",
    "stockmanagementadjust_sparepartnumber": "Spare Part Number",
    "stockmanagementadjust_positionunspecified": "Position unspecified",
    "stockmanagementadjust_store": "Store: ",
    "stockmanagementadjust_area": "Area: ",
    "stockmanagementadjust_section": "Section: ",
    "stockmanagementadjust_position": "Position: ",
    "stockmanagementadjust_quantity_placeholder": "Enter quantity here",
    "stockmanagementadjust_stockadjustedmessage_a": "Stock adjusted from ",
    "stockmanagementadjust_stockadjustedmessage_b": " to ",
    "stockmanagementadjust_err_validnumber": "A valid number must be entered.",
    "stockmanagementadjust_err_positivenumbersonly": "Only whole positive numbers are allowed as consumption value.",
    "stockmanagementadjust_err_nozeroes": "Replenishment with zero is not allowed.",
    "stockmanagementreplenish_mainheader": "Add to stock",
    "stockmanagementreplenish_sp_name_label": "Name: ",
    "stockmanagementreplenish_sp_number_label": "Number: ",
    "stockmanagementreplenish_sp_type_label": "Type: ",
    "stockmanagementreplenish_qty_label": "In store: ",
    "stockmanagementreplenish_commit": "Add entered quantity to selected stock",
    "stockmanagementreplenish_sparepartname": "Spare Part Name",
    "stockmanagementreplenish_sparepartnumber": "Spare Part Number",
    "stockmanagementreplenish_positionunspecified": "Position unspecified",
    "stockmanagementreplenish_store": "Store: ",
    "stockmanagementreplenish_area": "Area: ",
    "stockmanagementreplenish_section": "Section: ",
    "stockmanagementreplenish_position": "Position: ",
    "stockmanagementreplenish_quantity_placeholder": "Enter quantity here",
    "stockmanagementreplenish_replenishmessage_a": "Added ",
    "stockmanagementreplenish_replenishmessage_b": " to stock.",
    "stockmanagementreplenish_replenishmessage_c": "New quantity in stock is ",
    "stockmanagementreplenish_err_validnumber": "A valid number must be entered.",
    "stockmanagementreplenish_err_positivenumbersonly": "Only whole positive numbers are allowed as replenishment value.",
    "stockmanagementreplenish_err_nozeroes": "Replenishment with zero is not allowed.",
    "settings_mainheader": "User settings",
    "settings_timesettingsheader": "Time period definitions",
    "settings_current_placeholder": "Insert number of days from today for time period",
    "settings_recent_placeholder": "Insert number of days from today for time period",
    "settings_future_placeholder": "Insert number of days from today for time period",
    "settings_current_back": "Current (days back)",
    "settings_current_forward": "Current (days forward)",
    "settings_current_back_placeholder": "No. of days back from today",
    "settings_current_forward_placeholder": "No. of days forward from today",
    "settings_recent": "Recent (days back from today)",
    "settings_future": "Future (days forward from today)",
    "settings_defaultstore_header": "Default store",
    "settings_nostoreselected": "No store selected",
    "settings_nostockchangereasonselected": "No reason selected",
    "settings_stockchangereasons_header": "Spare part management settings",
    "settings_defaultstockjob_header": "Default spare part job type",
    "settings_defaultstockjob_info": "Choose default spare part job type:",
    "settings_defaultstockjob_adjust": "Adjust stock",
    "settings_defaultstockjob_replenish": "Replenish stock",
    "settings_replenishmentsection_header": "Reason for replenishment",
    "settings_adjustmentsection_header": "Reason for adjustment",
    "settings_defaultaccountselection_header": "Default account",
    "settings_no_account_selected": "No account selected",
    "settings_personal_joblist_sorting_order": "Sorting direction for personal joblist",
    "settings_personal_joblist_sorting_ascending": "Ascending",
    "settings_personal_joblist_sorting_descending": "Descending",
    "settings_personallist_header": "Personal list settings",
    "settings_personal_joblist_remember_filter_settings": "Remember filter settings between sessions",
    "settings_errormessage_inputnotvalid_1": "One or more settings values are not valid.",
    "settings_errormessage_inputnotvalid_2": "Only whole positive numbers can be used as time period definitions.",
    "activityfault_saverequest_header": "Save changes?",
    "activityfault_saverequest_text_a": "You have made changes.",
    "activityfault_saverequest_text_b": "Do you wish to save the changes?",
    "activityfault_saverequest_yesbutton": "Yes",
    "activityfault_saverequest_nobutton": "No",
    "jobselectonid_searchfield_placeholder": "Scan or type in job number",
    "jobselectonid_search": "Search job",
    "jobselectonid_errormessage_search_param_must_be_number": "Search parameter must be a number!",
    "jobselectonid_errormessage_search_param_must_be_entered": "Enter valid job id.",
    "jobselectonid_errormessage_no_job_with_such_id": "There is no job with this id.",
    "jobselectonid_errormessage_job_with_id_finished_1": "Job ",
    "jobselectonid_errormessage_job_with_id_finished_2": " is finished.",
    "jobselectonid_errormessage_job_with_id_noaccess_1": "Job ",
    "jobselectonid_errormessage_job_with_id_noaccess_2": " belongs to machine at location to which you have no access rights.",
    "consumption_on_job_job_details_header": "Direct consumption on job",
    "consumption_on_job_detailsheader": "Job details",
    "consumption_on_job_activityid_label": "Job ID: ",
    "consumption_on_job_jobtype_label": "Activity ",
    "consumption_on_job_faultid_label": "Job ID: ",
    "consumption_on_job_faulttype_label": "Fault - ",
    "consumption_on_job_sparepartinfo_label": "Sparepart / Number",
    "consumption_on_job_dialogue_consumption_ok": "Consumption successful.",
    "consumption_on_job_dialogue_consumption_fail": "Consumption failed.",
    "consumption_on_job_dialogue_predefined_consumption_ok": "Consumption updated.",
    "consumption_on_job_dialogue_predefined_consumption_fail": "Consumption update failed.",
    "consumption_on_job_consumption_with_no_stock_info": "Consumption without stock.",
    "consumption_on_job_predefined_source_flag": "Preassigned",
    "consumption_on_job_handle_another_sparepart": "Consume another sparepart",
    "consumption_on_job_handle_change_job": "Consumption for job done",
    "consumption_on_job_sparepartinfo_store": "Store (Qty)",
    "consumption_on_job_positionatstore": "Stock location",
    "consumption_on_job_sparepart_search_button": "Search",
    "consumption_on_job_sparepart_search_value_placeholder": "Spare part name or number",
    "consumption_on_job_search_sp_with_camera": "Search spare part with camera",
    "consumption_on_job_search_sp_manually": "Search spare part manually",
    "consumption_on_job_qtytoconsume": "Quantity to consume",
    "consumption_on_job_commitconsume": "Save consumption",
    "consumption_on_job_quantity_placeholder": "Enter quantity",
    "consumption_on_job_new_search_button": "Search again",
    "consumption_on_job_search_results" : "Search results",
    "consumption_to_account_switch_account_button_label": "Switch acc.",
    "consumption_to_account_details_header": "Consumption to account ",
    "consumption_to_account_error_msg_no_spareparts_with_stocks": "Could not find any spare parts with stocks based on this search parameter",
    "consumption_to_account_sparepartinfo_label": "Sparepart / Number",
    "consumption_to_account_dialogue_consumption_ok": "Consumption successful.",
    "consumption_to_account_dialogue_consumption_fail": "Consumption failed.",
    "consumption_to_account_sparepartinfo_store": "Store (Qty)",
    "consumption_to_account_positionatstore": "Stock location",
    "consumption_to_account_sparepart_search_value_placeholder": "Search parameter",
    "consumption_to_account_sparepart_search_button": "Search sparepart",
    "consumption_to_account_search_result": "Search result",
    "consumption_to_account_handle_another_sparepart": "Another sparepart",
    "consumption_to_account_qtytoconsume": "Quantity to consume",
    "consumption_to_account_quantity_placeholder": "Enter quantity",
    "consumption_to_account_handle_change_job": "End consumption",
    "consumption_to_account_commitconsume": "Save consumption",
    "location_list_mainheader": "Selected location",
    "location_list_top_level_default_info": "On top",
    "location_list_current_location_info": "Current location:",
    "location_list_up_one_level_label": "Up one level",
    "location_list_up_top_level_label": "Top level",
    "machine_account_select_account": "Select account",
    "sparepartconsumption_account_select_header": "Select machine account",
    "machineselect_camera": "Scan with camera",
    "barcodecam_switch_to_manual_input": "Switch to manual search",
    "barcodecam_manual": "Manual input",
    "barcodecam_scan_again": "Scan again",
    "barcodecam_info_text": "Scan machine barcode",
    "sp_barcodecam_scan_again_nosparepart_with_barcode": "There is no sparepart with barcode ",
    "sp_barcodecam_info_text": "Scan sparepart barcode",
    "sp_bacrodecam_switch_to_manual_input": "Switch to manual search",
    "jobid_barcodecam_no_job_with_this_id": "No job with id number",
    "sp_info_name" : "Name",
    "sp_info_nr" : "Number",
    "sp_info_group" : "Group",
    "sp_info_manufacturer" : "Manufacturer",
    "sp_info_price" : "Price",
    "sp_info_dimensions" : "Dimensions",
    "sp_info_unit" : "Unit",
    "sp_info_note": "Note",
    "sp_type_nr": "Type Number",
    "sp_info_no_stocks_defined": "No stocks could be found in the system for this sparepart.",
    "sp_info_no_suppliers_defined": "The sparepart is not associated with any suppliers in the system.",
    "sp_info_sup_name" : "Name",
    "sp_info_sup_address" : "Address",
    "sp_info_sup_zipcode" : "Zipcode",
    "sp_info_sup_postal_district" : "Postal District",
    "sp_info_sup_phone" : "Phone",
    "sp_info_sup_fax" : "Fax",
    "sp_info_sup_preferred": "(Preferred)",
    "sp_info_main_header": "Sparepart Information",
    "sp_info_details": "Sparepart Details",
    "sp_info_stocks_header": "Available stocks",
    "sp_info_suppliers_header": "Suppliers",
    "activitydetailwithfunction_handlespareparts": "Spareparts",
    "activitydetailwithfunction_handlemanhours": "Manhours",
    "handle_sp_consumption_no_spareparts_associated_with_job": "No spareparts associated with job",
    "handle_sp_consumption_mainheader": "Sparepart consumption",
    "handle_manhours_mainheader": "Manhours for job",
    "handle_manhours_manhours": "Assigned manhours",
    "handle_manhours_add": "Add manhours",
    "handle_manhours_info_header1": "No manhours expenditure registered for this job.",
    "handle_manhours_info_header2": "Manhours expenditure registered for this job",
    "handle_manhours_initials": "Initials",
    "handle_manhours_estimated": "Estimated",
    "handle_manhours_actual": "Actual",
    "modifyconsumption_edit_consumption_header": "Edit consumption",
    "machineselect_message_toomanymachines": "Search returned too many records.<br>Try using more specific search parameter.",
    "sparepartselect_message_toomanyspareparts": "Search returned too many records.<br>Try using more specific search parameter.",
    "sparepartselect_message_empty_search_not_allowed": "Enter at least one sign as search parameter <br> or enable checkbox for list of machine's spareparts.",
    "start_barcode_reader": "Start barcode reader",
    "stop_barcode_reader": "Stop barcode reader",
    "scan_barcode2_scan_machine_barcode": "Scan machine barcode",
    "scan_barcode2_scan_sparepart_barcode": "Scan spare part barcode",
    "scan_barcode2_scan_job_barcode": "Scan job number",
    "scan_barcode_machine_selection": "Machine selection",
    "scan_barcode_sparepart_selection_for_job_consumption": "Sparepart selection for job consumption",
    "scan_barcode_sparepart_selection_for_stock_management": "Sparepart selection for stock management",
    "scan_barcode_sparepart_selection_for_direct_consumption": "Sparepart selection for direct consumption",
    "scan_barcode_job_selection_for_direct_consumption": "Job selection for direct consumption",
    "scan_barcode_job_selection_search_on_job_id": "Job selection on job ID",
    "scan_barcode_scan_job_id_barcode": "Scan job id barcode",
    "scan_barcode_error_user_validation_failed": "User validation failed",
    "scan_barcode_error_machine_not_found": "Machine with this barcode could not be found. Please try again.",
    "scan_barcode_error_more_than_one_machine_found": "More than one machine seems to be usning scanned barcode.",
    "scan_barcode_error_sparepart_not_found": "Spare part with this barcode could not be found. Please try again.",
    "scan_barcode_error_sparepart_not_found_at_selected_store": "Stocks for scanned spare part not be found at currently selected location. Please try again or select store where spare part has at least one stock.",
    "scan_barcode_error_job_not_found": "Job with scanned ID could not be found. Please try again.",
    "scan_barcode_error_scanned_job_id_is_not_valid": "Scanned job ID is not valid",
    "faultcreated_back_to_machine_button": "Back to machine",
    "faultcreated_work_with_fault_button": "Handle fault",
    "consumption_on_job_scan_barcode": "Scan barcode",
    "consumption_on_job_scanned_barcode_not_found": "Could not find job with scanned id. Please try again.",
    "stop_period_selected_machine_only_label_text": "Machine specific",
    "stop_period_start_date_input_not_selected": "Start date for stop period needs to be selected.",
    "stop_period_end_date_input_not_selected": "End date for stop period needs to be selected.",
    "stop_period_date_format_incorrect": "Date format is incorrect in either Start Date or End Date field.",
    "stop_period_start_date_later_than_end_date": "End date cannot be earlier than start date.",
    "stop_period_creation_message_header": "New stop period registered",
    "stop_period_machine": "Machine",
    "stop_period_start_date": "Start date",
    "stop_period_start_time": "Start time",
    "stop_period_end_date": "End date",
    "stop_period_end_time": "End time",
    "stop_period_type": "Stop type",
    "stop_period_selected_machine_only": "Selected machine only",
    "stop_period_job_id": "Job ID",
    "stop_period_fault_type": "Fault type",
    "stop_period_machine_number": "Machine number",
    "stop_period_machine_name": "Machine name",
    "stop_period_machine_stop_group": "Machine stop group",
    "stop_period_header": "Register new stop period",
    "stop_period_start": "Start",
    "stop_period_stop": "Stop",
    "stop_period_failure_header": "Registration failure",
    "stop_period_failure_message": "Could not complete stop period registration.<br/><br/> Please ensure that all fields are filled in and try again or contact administrator.",
    "stop_period_cancel": "Cancel",
    "stop_period_save": "Save"

}

var dk = {
    "global_menubutton": "Menu",
    "global_backbutton": "Tilbage",
    "global_yes": "Ja",
    "global_no": "Nej",
    "global_unspecified": "Ikke specificeret",
    "global_errormessage_generic": "Vis fejlmeddelelse her",
    "global_errormessage_webserviceconnectionproblem": "Kunne ikke kommunikere med PM5 web service. Forsøg igen, kontakt administrator hvis der fortsat er problemer",
    "errormanager_popup_header": "Fejl i kommunikation med PM5 web service",
    "errormanager_popup_message_a": "Kunne ikke finde PM5 web service.",
    "errormanager_popup_message_b": "Du er logget ud og det er nødvendigt at logge ind igen.",
    "errormanager_popup_message_c": "Forsøg igen, kontakt administrator hvis der fortsat er problemer",
    "login_login": "Login",
    "login_username": "PM5 Brugernavn",
    "login_password": "Password",
    "login_username_placeholder": "Angiv brugernavn",
    "login_password_placeholder": "Angiv password",
    "login_errormessage_incorrect_credentials": "Brugernavn eller password er ikke korrekt.",
    "login_errormessage_trial_period_expired": "Testperioden er slut. Kontakt PCSYS A/S.",
    "login_errormessage_all_login_slots_taken": "Maximum antal logins er opnået. Vent venligst til en anden bruger har logget af.",
    "login_errormessage_previous_mobile_login_exists": "Du er allerede indlogget på PM5 på en anden mobil enhed. Kun en mobil indlogning pr. bruger er tilladt.",
    "login_login_button": "Log ind",
    "mainmenu_mainheader": "Hovedmenu",
    "mainmenu_machines": "Maskiner",
    "mainmenu_joblist": "Jobliste",
    "mainmenu_stores": "Reservedelslager",
    "mainmenu_programconfig": "Programkonfiguration",
    "mainmenu_location_selection": "Vælg lokation",
    "mainmenu_logout": "Log ud og afslut",
    "mainmenu_personalsettinsmissing_header": "Personlige indstillinger mangler konfiguration",
    "mainmenu_personalsettingsmissing_text": "Vælg venligst årsager for tilpasninger i reservedelstilpasninger.<br> Du bliver omdirigeret til Personlige Indstillinger-menuen hvor du kan gøre dette.",
    "mainmenu_nostoreaccessforuser_header": "Ingen adgang",
    "mainmenu_nostoreaccessforuser_text": "Du har ikke adgang til nogen PM5 reservedelslagre.",
    "machineselect_mainheader": "Vælg maskine",
    "machineselect_search": "Søg maskine",
    "machineselect_searchfield_placeholder": "Scan eller tast maskinnummer",
    "machineselect_type_not_selected": "Ikke valgt",
    "machineselect_message_nomachinesfound": "Kunne ikke finde maskine med dette nummer.",
    "machineselect_message_nomachine_with_bacode": "Der er ingen maskine med stregkode ",
    "machineselect_show_valid_machines_at_all_locations": "Søg på alle lokationer",
    "machinesearch_machinetypes_label": "Maskintype",
    "machinelist_machinelistheader": "Maskinliste",
    "machinedetail_info": "Information",
    "machinedetail_activities": "Aktivitetsliste",
    "machinedetail_fault": "Fejlliste",
    "machinedetail_spareparts": "Tilhørende reservedele",
    "machinedetail_jobhistory": "Jobhistorik",
    "machinedetail_jobhistory_activities": "Aktiviteter",
    "machinedetail_jobhistory_faults": "Fejl",
    "machinedetail_location": "Lokation:",
    "machinedetail_machinenumber": "Maskinnummer:",
    "machinedetail_machineidcode": "ID kode:",
    "machinedetail_machinetype": "Maskintype:",
    "machinedetail_search": "Søg",
    "machinedetail_reportfault": "Opret fejl",
    "activitydetailwithfunction_details": "Aktivitetsdetaljer",
    "activitydetailwithfunction_jobnr": "Jobnummer: ",
    "activitydetailwithfunction_machinename": "Maskinnavn: ",
    "activitydetailwithfunction_machinenumber": "Maskinnummer:",
    "activitydetailwithfunction_location": "Lokation: ",
    "activitydetailwithfunction_detailsheader": "Detaljer",
    "activitydetailwithfunction_tasknoteheader": "Opgavenotat",
    "activitydetailwithfunction_activitynoteheader": "Aktivitetsnotat",
    "activitydetailwithfunction_editactivitynote": "Editere aktivitetsnotatet",
    "activitydetailwithfunction_saveactivitynote": "Gem ændringer",
    "activitydetailwithfunction_task": "Opgavenavn:",
    "activitydetailwithfunction_tasktype": "Opgavetype:",
    "activitydetailwithfunction_scheduleddate": "Planlagt:",
    "activitydetailwithfunction_tobesignedby": "Skal kvitteres af:",
    "activitydetailwithfunction_finishactivity": "Afslut aktivitet",
    "activitydetailwithfunction_expandtext": "mere",
    "activitydetailwithfunction_collapsetext": "mindre",
    "activitydetailwithfunction_cleanup_status": "Rengøring ved afslutning",
    "activitydetailwithfunction_submit_expected_finish_date": "Udfør",
    "activitydetailwithfunction_startactivity": "Markér som startet",
    "activitypagewithfunction_enddate_instructions": "Vælg forventet slutdato",
    "activitydetailwithfunction_expectedenddate": "Forventet slutdato",
    "activitydetailwithfunction_errormessage_expected_end_date_needs_selection": "Forventet slutdato skal vælges",
    "activitydetailwithfunction_errormessage_expected_end_date_invalid_input": "Ugyldig indtastning eller forkert format",
    "activitydetailwithfunction_abort_expected_finish_date": "Tilbage",
    "activitydetailwithfunction_selectedprioritycode": "Prioritet:",
    "activitydetailhistorical_header": "Aktivitetsdetaljer",
    "activitydetailhistorical_details": "Aktivitetsdetaljer",
    "activitydetailhistorical_jobnr": "Jobnummer:",
    "activitydetailhistorical_machinename": "Maskinnavn:",
    "activitydetailhistorical_machinenumber": "Maskinnummer:",
    "activitydetailhistorical_task": "Opgavenavn:",
    "activitydetailhistorical_tasktype": "Opgavetype:",
    "activitydetailhistorical_scheduleddate": "Planlagt:",
    "activitydetailhistorical_tobesignedby": "Tildelt til:",
    "activitydetailhistorical_signedby": "Kvitteret af:",
    "activitydetailhistorical_completeddate": "Klar:",
    "activitydetailhistorical_tasknote_header": "Opgavenotat",
    "activitydetailhistorical_activitynote_header": "Aktivitetsnotat",
    "faultdetailwithfunction_details": "Fejldetaljer",
    "faultdetailwithfunction_stop_periods": "Stoptider",
    "faultdetailwithfunction_jobid": "Job ID:",
    "faultdetailwithfunction_machinename": "Maskinnavn: ",
    "faultdetailwithfunction_machinenumber": "Maskinnummer: ",
    "faultdetailwithfunction_location_path": "Lokation: ",
    "faultdetailwithfunction_discoveredon": "Oprettet dato: ",
    "faultdetailwithfunction_discoveredby": "Oprettet af:",
    "faultdetailwithfunction_faulttype": "Fejltype: ",
    "faultdetailwithfunction_faultcause": "Fejlårsag: ",
    "faultdetailwithfunction_expectedenddate": "Forventet slutdato",
    "faultdetailwithfunction_resolvedon": "Løst den: ",
    "faultdetailwithfunction_signingperson": "Skal kvitteres af: ",
    "faultdetailwithfunction_finishfault_label": "Klarmeld fejl",
    "faultdetailwithfunction_startfault_label": "Marker som startet",
    "faultdetailwithfunction_register_stop_label": "Nyt stop",
    "faultdetailwithfunction_expandtext": "mere",
    "faultdetailwithfunction_collapsetext": "mindre",
    "faultdetailwithfunction_submit_expected_finish_date": "Udfør",
    "faultdetailwithfunction_abort_expected_finish_date": "Tilbage",
    "faultpagewithfunction_faultdescriptionheader": "Fejlbeskrivelse",
    "faultpagewithfunction_editfaultdescription": "Editer fejlbeskrivelse",
    "faultpagewithfunction_savefaultdescription": "Gem ændringer",
    "faultpagewithfunction_faultsolutionheader": "Fejlløsning",
    "faultpagewithfunction_editfaultsolution": "Editer fejlløsning",
    "faultpagewithfunction_savefaultsolution": "Gem ændringer",
    "faultdetailhistorical_details": "Detaljer",
    "faultdetailhistorical_jobid": "Job ID:",
    "faultdetailhistorical_machinename": "Maskinnavn:",
    "faultdetailhistorical_machinenumber": "Maskinnummer:",
    "faultdetailhistorical_discoveredon": "Oprettet dato:",
    "faultdetailhistorical_discoveredby": "Oprettet af:",
    "faultdetailhistorical_faulttype": "Fejltype:",
    "faultdetailhistorical_faultcause": "Fejlårsag",
    "faultdetailhistorical_description_header": "Fejlbeskrivelse",
    "faultdetailhistorical_solution_header": "Fejlløsning",
    "faultdetailhistorical_resolvedon": "Løst den:",
    "faultdetailhistorical_signingperson": "Kvitteret af:",
    "faultdetailhistorical_finishfault": "Klarmeld fejl",
    "faultdetailhistorical_stop_periods": "Stoptider",
    "finishjobwizard_1_mainheader": "Afslut job",
    "finishjobwizard_1_spareparts": "Reservedele",
    "finishjobwizard_1_addspareparts": "Tilføj reservedel",
    "finishjobwizard_1_manhours": "Mandetimer",
    "finishjobwizard_1_technicalgroup": "Teknisk gruppe",
    "finishjobwizard_1_hours": "Timer",
    "finishjobwizard_1_minutes": "Minutter",
    "finishjobwizard_1_hours_placeholder": "Brugte timer",
    "finishjobwizard_1_minutes_placeholder": "Brugte minutter",
    "finishjobwizard_1_finishjob": "Afslut job",
    "finishjobwizard_1_notechnicalgroups": "Brugeren er ikke med i tekniske grupper",
    "finishjobwizard_1_faultreasonlabel": "Vælg fejlårsag",
    "finishjobwizard_1_showallfaultreasons": "Vis alle",
    "finishjobwizard_1_measuredparameter_header": "Målepunkt: ",
    "finishjobwizard_1_measuredparameter_maxvalue": "Max værdi: ",
    "finishjobwizard_1_measuredparameter_reads_label": "Sidste fem aflæsninger",
    "finishjobwizard_1_measured_param_header": "Målepunktsværdi",
    "finishjobwizard_measured_param_input_placeholder": "Målepunktsværdi at gemme",
    "finishjobwizard_measured_param_input_label": "Indtast målepunktsværdi",
    "finishjobwizard_next_activity_note": "Notat for næste aktivitet",
    "finishjobwizard_1_errormessage_mp_read_out_of_date_sync_a": "Indtastning af målepunkts værdi på dette tidspunkt er ikke muligt grundet regler for dato rækkefølge.",
    "finishjobwizard_1_errormessage_mp_read_out_of_date_sync_b": "Du kan klarmelde aktiviteten hvis du undlader at indtaste målepunkts værdi.",
    "finishjobwizard_1_errormessage_invalid_measured_parameter_value": "Angivne målepunktsværdien er større end maksimum tilladt for målepunkten.",
    "finishjobwizard_1_errormessage_cleanup_status_not_specified": "Rengøringsstatus skal specificeres inden dette job kan afsluttes.",
    "finishjobwizard_1_errormessage_invalidtimeinput": "Værdien for mandetimer er ikke gyldig.",
    "finishjobwizard_1_errormessage_input_data_validation_failed": "Validering af indtastede data fejlede",
    "selectstore_header": "Vælg lager",
    "selectstore_placeholdernode": "Vælg fra listen",
    "sparepartconsumption_mainheader": "Afslut job",
    "sparepartconsumption_qtytoconsume": "Antal forbrugt",
    "sparepartconsumption_commitconsume": "Gem forbrug",
    "sparepartconsumption_quantity_placeholder": "Angiv antal forbrugt",
    "sparepartselect_select": "Søg reservedel",
    "sparepartselect_find": "Søg reservedel",
    "sparepartselect_camera": "Skift til scan af stregkode",
    "sparepart_searchfield_placeholder": "Scan eller indtast reservedelsnummer",
    "sparepartsearch_sparepartgroups_label": "Tilhører reservdelsgruppe",
    "sparepartsearch_no_group_selected": "Ikke valgt",
    "sparepartlist_mainheader": "Reservedelsliste",
    "sparepartlist_associated_with_machines": "Tilknyttet maskinen",
    "sparepartlist_search_result": "Søgeresultat",
    "sparepartlist_no_associated_spareparts_message": "Ingen reservedele er tilknyttet maskinen.",
    "sparepartdetail_sparepartname": "Navn:",
    "sparepartdetail_sparepartnr": "Nummer:",
    "sparepartdetail_selectstock": "Vælg beholding",
    "sparepartdetail_availablestocks": "Tilgængelige beholdninger",
    "sparepartdetail_notfromstore": "Beholdning ikke specificeret",
    "sparepartdetail_stockheader": "Tilgængelige beholdninger",
    "sparepartdetail_nostock": "Ikke fra beholdning",
    "sparepartsearch_include_machine_spareparts_label": "Vis tilknyttede reservedele til maskinen",
    "sparepartsearch_message_nosparepartsfound": "Kunne ikke finde nogle reservedele med dette nummer",
    "sparepartsearch_message_empty_searchparam_not_allowed": "Skriv mindst ét tal eller bogstav i søgefeltet",
    "sparepartsearchinstore_search_sparepart": "Søg reservedele",
    "sparepartsearchinstore_message_nosparepartsfound": "Der findes ikke en reservedel med dette nummer",
    "sparepartsearchinstore_message_nosparepartstocksfound": "Kunne ikke finde nogle beholdninger for denne reservedel på det valgte lager",
    "sparepartsearchinstore_message_nosparepartstocksfound_alt_B": "Kunne ikke finde nogle beholdninger for denne reservedel på lager ",
    "sparepartsearchinstore_message_nostoreselected": "Lager er ikke valgt. Venligst vælg det lager du ønsker at arbejde med.",
    "sparepartsearchinstore_header": "Søg beholdninger for reservedel i ",
    "selectsparepartinstore_backbutton": "Skift lager",
    "sparepartselectinstore_placeholder": "Scan eller indtast søgeværdi",
    "sparepartstoreselect_header": "Vælg lager du ønsker at arbejde med",
    "sparepartstoreselect_store_empty_message": "Dette lager har ingen reservedels beholdninger og kan ikke vælges.",
    "createnewconsumption_mainheader": "Tilføj forbrug af reservedel",
    "createnewconsumption_sparepartname": "Navn:",
    "createnewconsumption_sparepartnumber": "Nummer:",
    "createnewconsumption_store": "Lager:",
    "createnewconsumption_storelocation": "Lokation:",
    "createnewconsumption_quantitytoconsume": "Antal at forbruge",
    "createnewconsumption_saveconsumption": "Gem forbrug",
    "createnewconsumption_quantity_placeholder": "Angiv antal at forbruge",
    "addconsumption_sparepartname": "Reservedelens navn:",
    "addconsumption_sparepartnumber": "Reservedelens nummer:",
    "addconsumption_store": "Lager: ",
    "addconsumption_positionatstore": "Position på lageret: ",
    "addconsumption_storenotselected": "ikke specificeret",
    "addconsumption_err_validnumber": "Gyldigt nummer skal være indtastet.",
    "addconsumption_err_positivenumbersonly": "Kun hele positive tal er gyldige værdier for justering og genopfyldning.",
    "addconsumption_err_nozeroes": "0 er ikke et tilladt forbrug",
    "stockmanagementadjust_sparepartname": "Reservedelens navn:",
    "stockmanagementadjust_sparepartnumber": "Reservedelens nummer:",
    "stockmanagementadjust_positionunspecified": "Position uspecificeret",
    "modifyconsumption_sparepartname": "Reservedelens navn:",
    "modifyconsumption_sparepartno": "Reservedelens nummer:",
    "modifyconsumption_store": "Lager:",
    "modifyconsumption_positionatstore": "Position på lageret:",
    "modifyconsumption_qtytoconsume": "Antal at forbruge:",
    "modifyconsumption_err_validnumber": "Gyldigt nummer skal være indtastet.",
    "modifyconsumption_err_positivenumbersonly": "Kun hele positive tal er mulige.",
    "modifyconsumption_err_nozeroes": "0 er ikke et tilladt forbrug",
    "createfault_mainheader": "Opret fejl",
    "createfault_faulttypelist_label": "Fejltype",
    "createfault_signatorylist_label": "Skal kvitteres af",
    "createfault_faultnote_label": "Fejlbeskrivelse",
    "createfault_options_cancel": "Afbryd",
    "createfault_options_save": "Gem",
    "createfault_machinename": "Maskinnavn: ",
    "createfault_machinenumber": "Maskinnummer: ",
    "createfault_register_as_started": "Startet",
    "createfault_expected_end_date_label": "Forventet slutdato",
    "createfault_select_expected_end_date_label": "Angiv forventet slutdato",
    "createfault_showallfaulttypes": "Vis alle",
    "createfault_prioritycodes_label": "Prioritetskode",
    "createfault_priority_code_not_selected": "Ikke valgt",
    "createfault_cleanup_after_job": "Rengøring",
    "createfault_request_cleanup": "Anmod om rengøring",
    "createfault_no_cleanup": "Ingen rengøring",
    "createfault_errormessage_expected_end_date_not_specified": "Forventet slutdato er ikke valgt",
    "createfault_errormessage_expected_end_date_invalid_input": "Forkert dato format",
    "dialogue_faultadded_title": "Fejl gemt",
    "dialogue_faultadded_part1": "Fejl med job id ",
    "dialogue_faultadded_part2": " er blevet gemt.",
    "dialogue_jobfinished_part1": "Job ",
    "dialogue_jobfinished_part2": " er nu afsluttet.",
    "dialogue_tokenexpired_message1": "Din forbindelse til PM5 er blevet afbrudt. Log ind igen.",
    "mainpersonallist_header": "Jobliste - ",
    "mainpersonallist_current": "Aktuelle",
    "mainpersonallist_upcoming": "Fremtid",
    "mainpersonallist_recent": "Forsinkede",
    "mainpersonallist_activities": "Aktiviteter",
    "mainpersonallist_faults": "Fejl",
    "mainpersonallist_fault": "Fejl",
    "mainpersonallist_activity": "Aktivitet",
    "mainpersonallist_personallistbutton": "Personlig",
    "mainpersonallist_completelistbutton": "Alle",
    "mainpersonallist_genericinfoprefix": "Valgt periode: ",
    "mainpersonallist_genericinfoactivities": "Antal aktiviteter: ",
    "mainpersonallist_genericinffaults": "Antal fejl: ",
    "mainpersonallist_genericinfnojobs": "Ingen jobs er tildelt til dig i den valgte tidsperiode.",
    "mainpersonallist_searchonid_button": "Søg på #",
    "mainpersonallist_panel_header": "Opsætning og filtre",
    "mainpersonallist_techgroup_combo_label": "Teknisk gruppe",
    "mainpersonallist_no_technical_group_selected": "Vælg",
    "mainpersonallist_all_locations_flag_label": "Jobs fra alle lokationer",
    "mainpersonallist_no_task_type_selected": "Vælg",
    "mainpersonallist_tasktype_combo_label": "Opgave type",
    "mainpersonallist_faulttype_combo_label": "Fejl type",
    "mainpersonallist_jobpriority_combo_label": "Prioritet",
    "mainpersonallist_no_priority_selected": "Vælg",
    "mainpersonallist_no_fault_type_selected": "Vælg",
    "mainpersonallist_no_signing_person_selected": "Alle",
    "mainpersonallist_signingperson_combo_label": "Skal kvitteres af",
    "mainpersonallist_personal_list_combo_element": "Mine jobs",
    "mainpersonallist_jobtype_combo_label": "Vis job type",
    "mainpersonallist_jobtype_combo_activities_and_faults": "Aktiviteter og fejl",
    "mainpersonallist_jobtype_combo_activities_only": "Kun aktiviteter",
    "mainpersonallist_jobtype_combo_faults_only": "Kun fejl",
    "mainpersonallist_showpanel_button": "Vis filter",
    "mainpersonallist_reset_filter_label": "Reset filter",
    "mainpersonallist_close_panel_label": "Brug filter",
    "mainpersonallist_location_info_popup_header": "Lokation for job ",
    "mainpersonallist_location_info_button": "Lokationsinfo",
    "mainpersonallist_location_assigned_to_label": "Tildelt til: ",
    "storesactionselect_changestore": "Skift lager",    
    "storesactionselect_mainheader": "Vælg handling",
    "storesactionselect_storeprefix": "Valgt lager er ",
    "storesactionselect_replenishlabel": "Genopfylning",
    "storesactionselect_adjustlabel": "Justering",
    "storesactionselect_consume_on_job": "Forbrug på job",
    "storesactionselect_consume_on_account": "Forbrug på konto",
    "stockmanagementadjust_mainheader": "Ændring af beholdning",
    "stockmanagementadjust_sp_name_label": "Navn: ",
    "stockmanagementadjust_sp_number_label": "Nummer: ",
    "stockmanagementadjust_sp_type_label": "Type: ",
    "stockmanagementadjust_qty_label": "På lager: ",
    "stockmanagementadjust_add": "Genopfyld",
    "stockmanagementadjust_adjust": "Tilpas lager",
    "stockmanagementadjust_commit": "Ændre beholdning til det indtastede antal",
    "stockmanagementadjust_store": "Lager: ",
    "stockmanagementadjust_area": "Område: ",
    "stockmanagementadjust_section": "Sektion: ",
    "stockmanagementadjust_position": "Position: ",
    "stockmanagementadjust_quantity_placeholder": "Angiv antal her",
    "stockmanagementadjust_stockadjustedmessage_a": "Beholdning ændret fra ",
    "stockmanagementadjust_stockadjustedmessage_b": " til ",
    "stockmanagementadjust_err_validnumber": "Gyldigt nummer skal være indtastet.",
    "stockmanagementadjust_err_positivenumbersonly": "Kun hele positive tal er gyldige værdier for justering og genopfyldning.",
    "stockmanagementadjust_err_nozeroes": "Genopfyldning med 0 er ikke tilladt.",
    "stockmanagementreplenish_mainheader": "Genopfyldning",
    "stockmanagementreplenish_sp_name_label": "Navn: ",
    "stockmanagementreplenish_sp_number_label": "Nummer: ",
    "stockmanagementreplenish_sp_type_label": "Type: ",
    "stockmanagementreplenish_qty_label": "På lager: ",
    "stockmanagementreplenish_commit": "Tilføj det indtastede antal til valgt beholding",
    "stockmanagementreplenish_sparepartname": "Reservdelens navn:",
    "stockmanagementreplenish_sparepartnumber": "Reservdelens nummer:",
    "stockmanagementreplenish_positionunspecified": "Ikke angiven",
    "stockmanagementreplenish_store": "Lager: ",
    "stockmanagementreplenish_area": "Område: ",
    "stockmanagementreplenish_section": "Sektion: ",
    "stockmanagementreplenish_position": "Position: ",
    "stockmanagementreplenish_quantity_placeholder": "Angiv antal her",
    "stockmanagementreplenish_replenishmessage_a": "Tilføjede ",
    "stockmanagementreplenish_replenishmessage_b": " til beholdningen.",
    "stockmanagementreplenish_replenishmessage_c": "Ny samlet beholdning er ",
    "stockmanagementreplenish_err_validnumber": "Gyldigt nummer skal være indtastet.",
    "stockmanagementreplenish_err_positivenumbersonly": "Kun hele positive tal er gyldige værdier for justering og genopfyldning.",
    "stockmanagementreplenish_err_nozeroes": "Genopfyldning med 0 er ikke tilladt.",
    "settings_mainheader": "Personlige indstillinger",
    "settings_timesettingsheader": "Tidsdefinitioner for personlig jobliste",
    "settings_current_placeholder": "Angiv antal dage i den aktuelle periode",
    "settings_current_back": "Aktuelle (bag i tid)",
    "settings_current_forward": "Aktuelle (frem i tid)",
    "settings_current_back_placeholder": "Antal dage tilbage fra d.d.",
    "settings_current_forward_placeholder": "Antal dage frem fra d.d.",
    "settings_recent_placeholder": "Angiv antal dage i den forsinkede perioden",
    "settings_future_placeholder": "Angiv antal dage i den fremtidige perioden",
    "settings_current": "Aktuelle",
    "settings_recent": "Forsinkede",
    "settings_future": "Fremtid",
    "settings_defaultstore_header": "Standard reservedelslager",
    "settings_nostoreselected": "Foretrukkent lager ikke valgt",
    "settings_nostockchangereasonselected": "Ingen årsag for ændringer valgt",
    "settings_stockchangereasons_header": "Indstillinger for håndtering af reservedelsbeholdninger",
    "settings_defaultstockjob_header": "Forvalgt handlingstype",
    "settings_defaultstockjob_info": "Standard handlingstype:",
    "settings_defaultstockjob_adjust": "Tilpasning af beholdning",
    "settings_defaultstockjob_replenish": "Genopfyldning af beholdning",
    "settings_replenishmentsection_header": "Årsag for genopfyldning",
    "settings_adjustmentsection_header": "Årsag for tilpasning",
    "settings_defaultaccountselection_header": "Standard konto",
    "settings_no_account_selected": "Ingen konto valgt",
    "settings_personal_joblist_sorting_order": "Sortering for personlig jobliste",
    "settings_personal_joblist_sorting_ascending": "Stigende",
    "settings_personal_joblist_sorting_descending": "Fallende",
    "settings_personallist_header": "Personlige indstillinger for liste",
    "settings_personal_joblist_remember_filter_settings": "Husk indstillinger for filter mellem sessioner",
    "settings_errormessage_inputnotvalid_1": "En eller flere indtastede værdier er ikke korrekte.",
    "settings_errormessage_inputnotvalid_2": "Kun hele positive tal kan bruges som definitioner for personlige tidsperioder.",
    "activityfault_saverequest_header": "Gem ændringer?",
    "activityfault_saverequest_text_a": "Du har foretaget ændringer.",
    "activityfault_saverequest_text_b": "Ønsker du gemme ændringer?",
    "jobselectonid_searchfield_placeholder": "Scan eller indtast job nummer",
    "jobselectonid_search": "Søg job",
    "jobselectonid_errormessage_search_param_must_be_number": "Søge parameter skal være et nummertegn.",
    "jobselectonid_errormessage_search_param_must_be_entered": "Indtast korrekt job id.",
    "jobselectonid_errormessage_no_job_with_such_id": "Der findes ingen job med dette id.",
    "jobselectonid_errormessage_job_with_id_finished_1": "Job ",
    "jobselectonid_errormessage_job_with_id_finished_2": " er færdigt",
    "jobselectonid_errormessage_job_with_id_noaccess_1": "Job ",
    "jobselectonid_errormessage_job_with_id_noaccess_2": " tilhører en maskine som står på en lokation som du ikke har adgang til",
    "consumption_on_job_job_details_header": "Direkte forbrug på job",
    "consumption_on_job_detailsheader": "Job detaljer",
    "consumption_on_job_activityid_label": "Job ID: ",
    "consumption_on_job_jobtype_label": "Aktivitet: ",
    "consumption_on_job_faultid_label": "Job ID: ",
    "consumption_on_job_faulttype_label": "Fejl: ",
    "consumption_on_job_sparepartinfo_label": "Reservedel / Nummer",
    "consumption_on_job_dialogue_consumption_ok": "Forbrug OK",
    "consumption_on_job_dialogue_consumption_fail": "Forbrug fejlet",
    "consumption_on_job_dialogue_predefined_consumption_ok": "Forbrug opdateret.",
    "consumption_on_job_dialogue_predefined_consumption_fail": "Forbrugsopdatering mislykkedes.",
    "consumption_on_job_sparepartinfo_store": "Lager (antal)",
    "consumption_on_job_handle_another_sparepart": "Forbrug en anden reservedel",
    "consumption_on_job_handle_change_job": "Forbrug afsluttet for dette job",
    "consumption_on_job_consumption_with_no_stock_info": "Forbrug uden lagerbeholdning.",
    "consumption_on_job_predefined_source_flag": "Tildelt",
    "consumption_on_job_sparepartinfo_store": "Lager (antal)",
    "consumption_on_job_positionatstore": "Lager placering",
    "consumption_on_job_sparepart_search_button": "Søg",
    "consumption_on_job_sparepart_search_value_placeholder": "Reservedels navn eller nummer",
    "consumption_on_job_search_sp_with_camera": "Søg reservedele med kamera",
    "consumption_on_job_search_sp_manually": "Søg reservedel manuelt",
    "consumption_on_job_qtytoconsume": "Antal forbrugte",
    "consumption_on_job_quantity_placeholder": "Tast antal",
    "consumption_on_job_commitconsume": "Gem forbrug",
    "consumption_on_job_new_search_button": "Søg igen",
    "consumption_on_job_search_results": "Søgeresultat",
    "consumption_to_account_switch_account_button_label": "Ændre konto",
    "consumption_to_account_error_msg_no_spareparts_with_stocks": "Kunne ikke finde en reservedel med beholdning baseret på dette søgekriterie",
    "consumption_to_account_sparepartinfo_label": "Reservedel / Nummer",
    "consumption_to_account_dialogue_consumption_ok": "Forbrug OK",
    "consumption_to_account_dialogue_consumption_fail": "Forbrug fejlet",
    "consumption_to_account_sparepartinfo_store": "Lager (antal)",
    "consumption_to_account_positionatstore": "Beholdningslokation",
    "consumption_to_account_details_header": "Forbrug til konto ",
    "consumption_to_account_sparepart_search_value_placeholder": "Søgeparameter",
    "consumption_to_account_sparepart_search_button" : "Søg reservedel",
    "consumption_to_account_handle_another_sparepart": "Anden reservedel",
    "consumption_to_account_search_result": "Søgeresultat",
    "consumption_to_account_qtytoconsume": "Antal forbrugte",
    "consumption_to_account_quantity_placeholder": "Tast antal",
    "consumption_to_account_commitconsume": "Gem forbrug",
    "consumption_to_account_handle_change_job": "Afslut forbrug",
    "location_list_top_level_default_info": "Top niveau",
    "location_list_current_location_info": "Nuværende lokation",
    "location_list_up_one_level_label": "ét niveau op",
    "location_list_up_top_level_label": "Øverste niveau",
    "machine_account_select_account": "Vælg konto",
    "sparepartconsumption_account_select_header": "Vælg konto for maskine",
    "machineselect_camera": "Skift til scan af stregkode",
    "barcodecam_switch_to_manual_input": "Skift til manuel søgning",
    "barcodecam_scan_again": "Scan igen",
    "barcodecam_info_text": "Scan stregkode på maskine",
    "barcodecam_manual": "Manuelt input",
    "sp_barcodecam_scan_again_nosparepart_with_barcode": "Der er ingen reservedel med stregkode ",
    "sp_barcodecam_info_text": "Scan stregkode på reservedel",
    "sp_bacrodecam_switch_to_manual_input": "Skift til manuel søgning",
    "jobid_barcodecam_no_job_with_this_id": "Ingen job med id nummer",
    "sp_info_name": "Navn",
    "sp_info_nr": "Nummer",
    "sp_info_group": "Gruppe",
    "sp_info_manufacturer": "Producent",
    "sp_info_price": "Kostpris",
    "sp_info_dimensions": "Dimension",
    "sp_info_unit": "Enhed",
    "sp_info_note": "Notat",
    "sp_type_nr": "Typenummer",
    "sp_info_no_stocks_defined": "Der finds ingen lagerbeholdninger for denne reservedel.",
    "sp_info_no_suppliers_defined": "Reservedelen er ikke tilknyttet en leverandør.",
    "sp_info_sup_name": "Navn",
    "sp_info_sup_address": "Adresse:",
    "sp_info_sup_zipcode": "Postnr",
    "sp_info_sup_postal_district": "By",
    "sp_info_sup_phone": "Telefon",
    "sp_info_sup_fax": "Fax",
    "sp_info_sup_preferred": "(Foretrukken)",
    "sp_info_main_header": "Reservedelsinformation",
    "sp_info_details": "Detaljer",
    "sp_info_stocks_header": "Tilgængelige beholdninger",
    "sp_info_suppliers_header": "Leverandører",
    "activitydetailwithfunction_handlespareparts": "Reservedele",
    "activitydetailwithfunction_handlemanhours": "Mandetimer",
    "handle_sp_consumption_no_spareparts_associated_with_job": "Ingen reservedele er tilknyttet jobbet",
    "handle_sp_consumption_mainheader": "Reservedels forbrug",
    "handle_manhours_mainheader": "Mandetimer for job",
    "handle_manhours_manhours": "Tildelte mandetimer",
    "handle_manhours_add": "Tilføj mandetimer",
    "handle_manhours_info_header1": "Ingen mandetime omkostninger er registreret for dette job.",
    "handle_manhours_info_header2": "Mandetime omkostninger er registreret for dette job.",
    "handle_manhours_initials": "Initialer",
    "handle_manhours_estimated": "Estimeret",
    "handle_manhours_actual": "Brugt",
    "modifyconsumption_edit_consumption_header": "Rediger forbrug.",
    "machineselect_message_toomanymachines": "For stort søgeresultat. <br> Udvid din søgeparameter.",
    "sparepartselect_message_toomanyspareparts": "For stort søgeresultat. <br> Udvid din søgeparameter.",
    "sparepartselect_message_empty_search_not_allowed": "Tast mindst et tegn som søgparameter <br> eller check i checkboksen for liste med maskinens reservedele.",
    "start_barcode_reader": "Start barcode reader",
    "stop_barcode_reader": "Stop barcode reader",
    "scan_barcode2_scan_machine_barcode": "Scan maskinestregkode",
    "scan_barcode2_scan_sparepart_barcode": "Scan reservedelstregkode",
    "scan_barcode2_scan_job_barcode": "Scan job nummer",
    "scan_barcode_machine_selection": "Scan maskine",
    "scan_barcode_sparepart_selection_for_job_consumption": "Scan reservedel for forbrug på job",
    "scan_barcode_sparepart_selection_for_stock_management": "Scan reservedel for beholdningsstyring",
    "scan_barcode_sparepart_selection_for_direct_consumption": "Scan reservedel for forbrug",
    "scan_barcode_job_selection_for_direct_consumption": "Vælg job ID for forbrug",
    "scan_barcode_scan_job_id_barcode": "Scan stregkode for job ID",
    "scan_barcode_job_selection_search_on_job_id": "Valg af job",
    "scan_barcode_error_user_validation_failed": "Login timeout",
    "scan_barcode_error_machine_not_found": "Kunne ikke finde maskine med indscannede stregkode. Prøv venligst igen.",
    "scan_barcode_error_more_than_one_machine_found": "Mere end én maskine benytter denne stregkode.",
    "scan_barcode_error_sparepart_not_found": "Kunne ikke finde reservedel med indscannede stregkode. Prøv venligst igen.",
    "scan_barcode_error_sparepart_not_found_at_selected_store": "Beholdning for den indscannede reservedel ikke fundet på den valgte location. Venligst prøv igen eller vælg et lager hvor der en beholdning.",
    "scan_barcode_error_job_not_found": "Job ned det indscannede ID findes ikke, prøv venligst igen.",
    "scan_barcode_error_scanned_job_id_is_not_valid": "Skannet job id er ikke valid",
    "faultcreated_back_to_machine_button": "Tilbage til maskinen",
    "faultcreated_work_with_fault_button": "Arbejd med fejl",
    "consumption_on_job_scan_barcode": "Scan stregkode",
    "consumption_on_job_scanned_barcode_not_found": "Kunne ikke finde job med det indscannede ID, prøv venligst igen.",
    "stop_period_selected_machine_only_label_text": "Maskinspecifikt",
    "stop_period_start_date_input_not_selected": "Start dato for stop periode skal vælges.",
    "stop_period_end_date_input_not_selected": "Slut dato for stop periode skal vælges.",
    "stop_period_date_format_incorrect": "Dato format er forkert i start eller slut dato feltet.",
    "stop_period_start_date_later_than_end_date": "Slut dato kan ikke være før end start dato.",
    "stop_period_creation_message_header": "Ny stop tid registreret",
    "stop_period_machine": "Maskine",
    "stop_period_start_date": "Startdato",
    "stop_period_start_time": "Starttid",
    "stop_period_end_date": "Slutdato",
    "stop_period_end_time": "Sluttid",
    "stop_period_type": "Stoptype",
    "stop_period_selected_machine_only": "Maskinspecifikt",
    "stop_period_job_id": "Job nr",
    "stop_period_fault_type": "Fejltype",
    "stop_period_machine_number": "Maskinnummer",
    "stop_period_machine_name": "Maskinnavn",
    "stop_period_machine_stop_group": "Stopgruppe",
    "stop_period_header": "Opret stoptid",
    "stop_period_start": "Start",
    "stop_period_stop": "Stop",
    "stop_period_failure_header": "Registrerings fejl",
    "stop_period_failure_message": "Kunne ikke fuldføre registreringen af stop tid. <br/><br/>Venligst tjek at alle felter er udfyldt og prøv igen eller kontakt en administrator.",
    "stop_period_cancel": "Afbryd",
    "stop_period_save": "Gem"

}

var dictionaryToUse = null;

var RunLanguageUpdate = function (DictionaryToUse) {
    //Main menu update
    //var test = $('#page_mainmenu .headerlabel_default_class').html(DictionaryToUse.mainmenu_mainheader);
    //console.log(test);
    var elementsToTranslate = $('[data-translatetext]');


    elementsToTranslate.each(function (i) {

        var translateMe = $(this);
        var translationKey = translateMe.data("translatetext");
        translateMe.text(DictionaryToUse[translationKey]);

    })

    var placeholdersToTranslate = $('[placeholder]');
    elementsToTranslate.each(function (i) {
        var translateMe = $(this);
        var translationKey = translateMe.data("translatetext");
        translateMe.attr("placeholder", DictionaryToUse[translationKey]);
    })

    var localizeFlipswitch = $('#personal_settings_job_list_sorting_section');


    //Update language for datepickers

    if (CurrentSelectedLanguage == LANG_DK) {
        $('#createfault_datapicker').html('<input type="text" data-role="datebox" name="createfault_expected_end_date2" id="createfault_expected_end_date2" data-options=\'{"mode":"datebox", "useLang":"da"}\'>');
        $("#createfault_expected_end_date_picker").trigger("create");

        $('#activitydetailwithfunction_datapicker').html('<input type="text" data-role="datebox" name="activitydetailwithfunction_expected_end_date" id="activitydetailwithfunction_expected_end_date" data-options=\'{"mode":"datebox", "useLang":"da"}\'>');
        $("#activitydetailwithfunction_datapicker").trigger("create");

        $('#faultdetailwithfunction_datapicker').html('<input type="text" data-role="datebox" name="faultdetailwithfunction_expected_end_date" id="faultdetailwithfunction_expected_end_date" data-options=\'{"mode":"datebox", "useLang":"da"}\'>');
        $("#faultdetailwithfunction_datapicker").trigger("create");



    }
    else {
        $('#createfault_datapicker').html('<input type="text" data-role="datebox" name="createfault_expected_end_date2" id="createfault_expected_end_date2" data-options=\'{"mode":"datebox", "useLang":"en-gb"}\'>');
        $("#createfault_expected_end_date_picker").trigger("create");

        $('#activitydetailwithfunction_datapicker').html('<input type="text" data-role="datebox" name="activitydetailwithfunction_expected_end_date" id="activitydetailwithfunction_expected_end_date" data-options=\'{"mode":"datebox", "useLang":"en-gb"}\'>');
        $("#activitydetailwithfunction_datapicker").trigger("create");

        $('#faultdetailwithfunction_datapicker').html('<input type="text" data-role="datebox" name="faultdetailwithfunction_expected_end_date" id="faultdetailwithfunction_expected_end_date" data-options=\'{"mode":"datebox", "useLang":"en-gb"}\'>');
        $("#faultdetailwithfunction_datapicker").trigger("create");


    }
}

//var ReturnPhraseOnKey = function (phraseKey) {
//    var dictionaryToUse = null;

//        if (CurrentSelectedLanguage == LANG_DK) {
//            dictionaryToUse = dk;
//            c1('Setting language table');
//        }
//        else if (CurrentSelectedLanguage = LANG_ENG) {
//            dictionaryToUse = eng;
//            c1(CurrentSelectedLanguage);
//        }

//    c2('Using language table');
//    return dictionaryToUse[phraseKey];
//}

var ReturnPhraseOnKey = function (phraseKey) {

    if (this.dictionaryToUse == null) {
        if (CurrentSelectedLanguage == LANG_DK) {
            this.dictionaryToUse = dk;
            c1('Setting language table');
        }
        else if (CurrentSelectedLanguage = LANG_ENG) {
            this.dictionaryToUse = eng;
            c1(CurrentSelectedLanguage);
        }
    }

    return this.dictionaryToUse[phraseKey];
}

var SetDatePickerToDanish = function () {
    $.datepicker.regional['da'] = {
        closeText: 'Luk',
        prevText: '&#x3c;Forrige',
        nextText: 'N&aelig;ste&#x3e;',
        currentText: 'I dag',
        monthNames: ['januar', 'februar', 'marts', 'april', 'maj', 'juni',
        'juli', 'august', 'september', 'oktober', 'november', 'december'],
        monthNamesShort: ['jan', 'feb', 'mar', 'apr', 'maj', 'jun',
        'Jul', 'Aug', 'sep', 'okt', 'nov', 'dec'],
        dayNames: ['s&oslash;ndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'l&oslash;rdag'],
        dayNamesShort: ['s&oslash;n', 'man', 'tir', 'ons', 'tor', 'fre', 'l&oslash;r'],
        dayNamesMin: ['S&oslash;', 'ma', 'ti', 'on', 'to', 'fr', 'l&oslash;'],
        weekHeader: 'Uge',
        dateFormat: 'd-m-yy',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
    c2('running danish datepicker');
    $.datepicker.setDefaults($.datepicker.regional['da']);
    $('#datepicker_test').datepicker();
}

var SetDatePickerToEnglish = function () {
    c2('running english datepicker');
    $.datepicker.setDefaults($.datepicker.regional['']);
    $('#datepicker_test').datepicker();
}

