CommunityID/modules/default/forms/ErrorMessages.php

30 lines
1.2 KiB
PHP
Raw Normal View History

2019-07-17 20:08:50 +00:00
<?php
/*
* @copyright Copyright (C) 2005-2009 Keyboard Monkeys Ltd. http://www.kb-m.com
* @license http://creativecommons.org/licenses/BSD/ BSD License
* @author Keyboard Monkeys Ltd.
2019-07-17 20:16:19 +00:00
* @since CommunityID 0.9
* @package CommunityID
2019-07-17 20:08:50 +00:00
* @packager Keyboard Monkeys
*/
/**
* This class is never called. It's only a placeholder for form error messages wrapped in translate(),
* so that Poedit (or any other message catalogs editor) can catalog these messages for translation
*/
2019-07-17 20:16:19 +00:00
class Form_ErrorMessages
2019-07-17 20:08:50 +00:00
{
private function _messages()
{
translate('Value is empty, but a non-empty value is required');
translate('\'%value%\' is not a valid email address in the basic format local-part@hostname');
2019-07-17 20:10:53 +00:00
translate('\'%hostname%\' is not a valid hostname for email address \'%value%\'');
translate('\'%value%\' appears to be a DNS hostname but cannot match TLD against known list');
translate('\'%value%\' appears to be a local network name but local network names are not allowed');
2019-07-17 20:08:50 +00:00
translate('Captcha value is wrong');
translate('Password confirmation does not match');
2019-07-17 20:16:19 +00:00
translate('Username can only contain US-ASCII alphanumeric characters, plus any of the symbols $-_.+!*\'(), and "');
2019-07-17 20:08:50 +00:00
}
}