CommunityID/modules/default/forms/ErrorMessages.php

40 lines
1.8 KiB
PHP
Raw Normal View History

2019-07-17 20:08:50 +00:00
<?php
/*
* @copyright Copyright (C) 2005-2010 Keyboard Monkeys Ltd. http://www.kb-m.com
2019-07-17 20:08:50 +00:00
* @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 required and can\'t be empty');
2019-07-17 20:08:50 +00:00
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%\' does not match the expected structure for a DNS hostname');
2019-07-17 20:10:53 +00:00
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 "');
translate('Username is invalid');
translate('The file \'%value%\' was not uploaded');
translate('Password can\'t be a dictionary word');
translate('Password can\'t contain the username');
translate('Password must be longer than %minLength% characters');
translate('Password must contain numbers');
translate('Password must contain symbols');
translate('Password needs to have lowercase and uppercase characters');
2019-07-17 20:08:50 +00:00
}
}