// The appropriate language file (/custom/base/warnings_xx.js) will be included
// by the PHP script that included this javascript file.

// We split the files because this way, we can use the very same message
// for both javascript and PHP.

function w_date(s)
{
	return s + _warning_date;
}

function w_empty(s)
{
	return '"' + s + '"' + _warning_empty;
}

function w_nothing_chosen(s)
{
	return _warning_nothing_chosen + '"' + s + '".';
}

function w_nav(s)
{
	return '"' + s + '"' + _warning_nav;
}

function w_email(s)
{
	return '"' + s + '"' + _warning_email;
}

function w_reset()
{
	return _warning_reset;
}

function w_rightname(s)
{
	return '"' + s + '"' + _warning_rightname;
}

function w_delete(s)
{
	return _warning_delete_1 + s + _warning_delete_2;
}

function w_advanced_check(check, description, extra)
{
	return '"' + description + '"' + eval('_warning_' + check) + extra;
}