﻿var i18n_LG = 'EN';

var GROUP_NAME_OTHERS = 'Others';

var CALENDAR_TITLE_FORMAT_WEEK = 'Week from {0} to {1}';
var CALENDAR_DATEFORMAT_WEEK = 'MM/dd/yyyy';

var FORMAT_TASK_MESSSAGE_TIME = 'dd MMMM yyyy HH:mm';

var MSG_MANDATORY_TASK_MESSAGE = 'Please input a message or select a file.';
var MSG_NO_ATTENDEE = 'There is no attendee to send private message';

var MONTH_NAMES = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
var MONTH_NAMES_SHORT = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
var DAY_NAMES = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
var DAY_NAMES_SHORT = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];


var CAL_HOUR = 'Hour';
var CAL_MINUTES = 'Minutes';

var CAL_TIMEFORMAT = 'h(:mm)t';
var CAL_AXISFORMAT = 'h(:mm)tt';
var CAL_COLUMNFORMAT = {
    month: 'ddd',    // Mon
    week: 'ddd M/d', // Mon 9/7
    day: 'dddd M/d'  // Monday 9/7
}
var CAL_TITLEFORMAT = {
    month: 'MMMM yyyy',                             // September 2009
    week: "MMM d[ yyyy]{ '&#8212;'[ MMM] d yyyy}", // Sep 7 - 13 2009
    day: 'dddd, MMM d, yyyy'                  // Tuesday, Sep 8, 2009
}
var CAL_BUTTONTEXT = {
    prev: '&nbsp;&#9668;&nbsp;',  // left triangle
    next: '&nbsp;&#9658;&nbsp;',  // right triangle
    prevYear: '&nbsp;&lt;&lt;&nbsp;', // <<
    nextYear: '&nbsp;&gt;&gt;&nbsp;', // >>
    today: 'today',
    month: 'month',
    week: 'week',
    day: 'day'
}


// Common format strings
dateFormat.masks = {
    "default": "ddd mmm dd yyyy HH:MM:ss",
    shortDate: "m/d/yy",
    mediumDate: "mmm d, yyyy",
    longDate: "mmmm d, yyyy",
    fullDate: "dddd, mmmm d, yyyy",
    shortTime: "h:MM TT",
    mediumTime: "h:MM:ss TT",
    longTime: "h:MM:ss TT Z",
    isoDate: "yyyy-mm-dd",
    isoTime: "HH:MM:ss",
    isoDateTime: "yyyy-mm-dd'T'HH:MM:ss",
    isoUtcDateTime: "UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"
};

// Internationalization strings for date format method
dateFormat.i18n = {
    dayNames: [
		"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat",
		"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
	],
    monthNames: [
		"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
		"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
	]
};

var TITLE_SEARCH_ADDRESS = 'Search address';
var TITLE_ATTENDEE_CALENDAR = 'Attendee calendar';
var TITLE_CHANGE_PASSWORD = 'Change password';
var TITLE_CONTACT_INFO = 'Contact Information';
var TITLE_CONTACT_INVITATION = 'Contact Invitation';
var TITLE_CONTACT_LIST = 'Contact list';
var TITLE_SEARCH_CONTACT = 'Search contact';
var TITLE_EVENT_INFO = 'Event Information';
var TITLE_GROUP_INFO = 'Group Information';
var TITLE_CHANGE_IMAGE = 'Update profile image';
var TITLE_USER_SETTING = 'Account setting management';
var TITLE_ADDRESS_MAP = 'Map';
var TITLE_EVENT_MAP = 'Events Map';


var INFO_PRIVACY_ATTENDEES = 'Details of this event will only be visible for the attendees.';
var INFO_PRIVACY_COMPANY = 'Details of this event will only be visible for the attendees and your coworkers.';
var INFO_PRIVACY_PUBLIC = 'Details of this event will be visible for everyone.';
var INFO_PRIVACY_CONTACTLIST = 'Details of this event will only be visible for the attendees and the members of your contact list.';

var INFO_CONTACTPRIVACY_PRIVATE = 'Details of this contact will not be visible to others.';
var INFO_CONTACTPRIVACY_COMPANY = 'Details of this contact will be only visible to your coworkers.';
var INFO_CONTACTPRIVACY_PUBLIC = 'Details of this contact will be visible for everyone.';

var INFO_EVENT_TITLE = 'Use this text field to describe the event, for example :<br/> - Appointment with Mr Smith<br/> - Weekly meeting of the accounting department<br/> - John\'s birthday';

var MSG_SAVING = 'Saving...';
var MSG_SAVING_SUCCESS = 'The saving is successful';
var MSG_SAVING_FAILED = 'The saving has failed';
var MSG_DELETING = 'Deleting...';
var MSG_DELETING_SUCCESS = 'Deletion successfull';
var MSG_DELETING_FAILED = 'Error while deleting';

var MSG_ATTENDEEEXISTS = 'This already already exists for this event';

var MSG_SEARCHFAILED = 'A technical error occured during the search<br/>';

var MSG_INVALIDEMAIL = 'Invalid email address';
var MSG_NAMEMANDATORY = 'Name is mandatory';

var MSG_INVITESUCCESS = 'Invitation has been sent';
var MSG_INVITEERROR = 'An error occurred while sending the invitation';

var MSG_ADDRESSCHANGED = 'The event address has been updated.<br/>Don\'t forget to save before you close the form.';
var MSG_ADDRESSEMPTYANDNOTCHANGED = 'Address of this attendee is empty, the address for the event has not been updated';


var MSG_CREATEUSER_FAILED = 'Error when creating user';
var MSG_USEREXISTS = 'This person is already in your contact list, or you have already sent a contact request to this person';
var MSG_UPDATEFAILED = 'Failed to update, please try again.';
var MSG_NO_SEARCH_USER_RESULT = 'No one matching the search criterias has been found. Do you want to invite someone to join the Internet Planning ?';
var MSG_EVENT_ADD_TO_ATTENDEES = 'You can add this person to the attendees of the event';
var MSG_SEND_TASK_TO_OUTLOOK = 'The event details have been sent to your mailbox';

var MSG_FILE_TOO_BIG = 'Document and image files must have a size below {0}Mb, you cannot select this file';
var MSG_VIDEO_TOO_BIG = 'Video files must have a size below {0}Mb, you cannot select this file';

var MSG_ALLOW_UPLOAD_FILE_EXTENSION = 'Excel, Word, PDF, Images, Text files';
var MSG_FLASH_NOT_INSTALLED = 'Flash is not installed on your computer, please click here to download it';

var MSG_TASK_FILE_DELETED = 'A file associated to this message has been deleted. Name of the file: ';

var MSG_INVALID_WORKDAY_PLANNING_START_TIME = 'Start of work day must be after start of planning.';
var MSG_INVALID_WORKDAY_STARTTIME_PLANNING_ENDTIME = 'End of work day must be before end of planning.';

var MSG_FB_EVENT_PUBLISH_SUCCESS = 'This event has been publish successfully on facebook.';
var MSG_FB_EVENT_PUBLISH_ERROR = 'Error when publshing this event on facebook.';
var MSG_FB_EVENT_DELETE_SUCCESS = 'This event has been deleted successfully on facebook.';
var MSG_FB_EVENT_DELETE_ERROR = 'Error when delete this event on facebook.';

var MSG_DEFAULT_TWEET_CONTENT = '{0} on {1} at {2}';

var TXT_SHOW_MAP = 'Show Map';
var TXT_DELETE = "Delete";
var TXT_NAME = "Name";
var TXT_EMAIL = "Email";
var TXT_ADDRESS = "Address";
var TXT_STATE = "State";
var TXT_REQ = "Req.";
var TXT_EVENT_AT_THIS_PLACE = "Event at this contact's place";
var TXT_NO_NOTIFICATION = "No notification";
var TXT_SELECT = "Select";
var TXT_DELETE = "Delete";
var TXT_ACCEPT = "Accept";
var TXT_REFUSE = "Refuse";
var TXT_INVITE = "Invite";
var TXT_LASTNAME_FIRSTNAME = 'Last name and first name';
var TXT_ADD_AS_ATTENDEE = 'Add this person as an attendee';
var TXT_INVITE_TO_JOIN = 'Invite this person to join the Internet Planning';

var TXT_CHARACTER_LEFT = 'characters left';
