/* auto generated localized messages */
var L_PLANNER_EDIT_SEND_INVITE = "Notify invitees of event (changes)?";
var L_TRACKER_LIST_REALLY_DELETE_ITEMS = "Really delete the ticked items? You cannot undo this action!";
var L_FOLDERCONTENTS_ENTER_NEW_FOLDER_NAME = "Enter name for new folder";
var L_FOLDERCONTENTS_NEW_FOLDER = "New Folder";
var L_COMPOSEMSG_REALLY_REMOVE_ATTACHMENT = "Really remove attachment?";
var L_FORMSAFETY_YOU_HAVE_NOT_YET_CONFIRMED_YOUR_CHANGES = "You have not yet confirmed your changes";
var L_FORMSAFETY_CHANGES_NOT_SAVED = "You have made changes to this page. Please save your changes first.";
var L_FORMSAFETY_INVALID_CURRENCY_NUMBER = "Invalid currency number";
var L_FORMSAFETY_INVALID_INTEGER_NUMBER = "Invalid whole number";
var L_NAVBAR_REALLY_DELETE_FOLDER_X_CONTENTS_WILL_BE_TRASHED = "Really delete folder %1$s?\nThe contents will be put in the Trash";
var L_NAVBAR_REALLY_EMPTY_TRASH = "Really empty the trash folder?";
var L_NAVBAR_EXPLAIN_ID_SWITCH = "You are about to switch email identities; All of the email folders and their contents are specific to your active identity.  If you find that your email has mysteriously vanished, be sure to check that you have the correct identity activated!";
var L_COMPOSEMSG_CONFIRM_ABANDON = "Click OK to delete this message - you will not be able to resume it later.";
var L_COMPOSEMSG_CONFIRM_SEND = "Really send this message to %1$s?";
var L_NEED_TO_FILL_IN_MORE_FIELDS = "You need to fill in more fields before you can submit this form";
var L_NEED_TO_FILL_IN_FAX_NUMBER = "To send this invoice by fax, you need to insert a fax address in the Details tab";
var L_NEED_TO_FILL_IN_EMAIL = "To send this invoice by email, you need to insert an email address in the Details tab";
var L_CONFIRM_DELETE_ORG = "Really delete the currently active organization?  You will not be able to undo or retrieve the organization data after this point";
var L_REALLY_CONFIRM_DELETE_ORG = "Are you really really sure??";
var L_CLIENTDETAIL_SUBMIT_TIMESHEET_FOR_CRM = "Submit a time sheet for the time spent dealing with the client?";
var L_TREEVIEW_RETRIEVING_NODES = "Retrieving nodes...";
var L_TREEVIEW_TOOLTIP = "Use +/- to expand/collapse";
var L_XML_ERROR_NO_MSXML = "Error creating MSXML object.  Please make sure the MSXML library is installed on your computer.";
var L_XML_ERROR_LOADING_FILE = "Error loading XML file %1$s";
var L_XML_ERROR_INVALID_XML = "Invalid XML in %1$s";
var L_XML_ERROR_INVALID_XSLT = "or unsupported XSLT in %1$s";
var L_COMPOSEFORM_CONFIRM_ABANDON = "Click OK to cancel this form - you will not be able to resume it later (the data will be discarded).";
var L_SUBFORM_CONFIRM_DELETE = "Really delete this row? You cannot undo this action";
var L_FORM_CONFIRM_DELETE = "Really delete this form? You cannot undo this action!";
var L_REPORT_CONFIRM_DELETE = "Really delete this report? You cannot undo this action!";
var L_PASSWORD_MISMATCH = "Passwords do not match";
var L_FORMNAME_REQUIRED = "Formname is required";
var L_FIELDNAME_REQUIRED = "Fieldname is required";
var L_MESSAGE_CONFIRM_DELETE = "Really delete message(s)?\n";
var L_ACCOUNT_CONFIRM_DELETE = "Really delete account(s)?\nAll transactions for this account will also be deleted and you cannot undo this action!";
var L_CLIENT_CONFIRM_DELETE = "Really delete client(s)?\nAll client related info will be deleted\nand you cannot undo this action!";
var L_VENDOR_CONFIRM_DELETE = "Really delete supplier(s)?\nAll supplier related info will be deleted\nand you cannot undo this action!";
var L_INVOICE_CONFIRM_DELETE = "Really delete invoice(s)? You cannot undo this action!";
var L_JOB_CONFIRM_DELETE = "Really delete job(s)? You cannot undo this action!";
var L_TXN_CATEGORY_CONFIRM_DELETE = "Really delete transaction category?\nSub-categories assigned to this category will be moved to the next available parent category.\nAll transactions assigned to this category and/or sub-categories will be reclassified.\nYou cannot undo this action!";
var L_TXN_CLASS_CONFIRM_DELETE = "Really delete transaction class?\nSub-classes assigned to this class will be moved to the next available parent class.\nAll transactions assigned to this class and/or sub-class will be reclassified.\nYou cannot undo this action!";
var L_BUDGET_ITEM_CONFIRM_DELETE = "Really delete budget item?\nAll associated budget expenditure items will also be deleted.\nYou cannot undo this action!";
var L_DEPR_ITEM_CONFIRM_DELETE = "Really delete depreciation item?";
var L_PROJECTDO_TEMPLATE_EXISTS = "Template name already exists. Try using a different name.";
var L_INVALID_FILENAME = "Filename cannot contain \\/:*?\"<>|";
var L_HELP_DELETE_TOPIC = "Are you sure you want to delete this topic?";
var L_HELP_TOPIC_NOT_FOUND = "No matching topics found";
var L_CONFIRM_RESET_TRANSLATIONS = "Are you sure you want to reset all translations to their default values?";
var L_CONFIRM_DELETE_CLIENT_INTERACTION = "Are you sure you want to delete\nthe selected contact record(s)?";
function xlate_fmt_n(formatstring, argarray)
{
	for (i = 0; i < argarray.length; i++)	{
		var pat = "%" + (i+1) + "\\$[sdf]";
		var re = new RegExp(pat, "g");
		formatstring = formatstring.replace(re, argarray[i]);
	}
	return formatstring;
}
function xlate_fmt_1(formatstring, arg1)
{
	return xlate_fmt_n(formatstring, new Array(arg1));
}
function xlate_fmt_2(formatstring, arg1, arg2)
{
	return xlate_fmt_n(formatstring, new Array(arg1, arg2));
}