| 1 | use strict; | ||
| 2 | |||
| 3 | package HTML::FormFu::I18N::zh_cn; | ||
| 4 | $HTML::FormFu::I18N::zh_cn::VERSION = '2.06'; | ||
| 5 | use utf8; | ||
| 6 | |||
| 7 | use Moose; | ||
| 8 | extends 'HTML::FormFu::I18N'; | ||
| 9 | |||
| 10 | our %Lexicon = ( | ||
| 11 | form_error_message => '提交内容错误', | ||
| 12 | form_constraint_allornone => '错误', | ||
| 13 | form_constraint_ascii => '含有非ASCII字符', | ||
| 14 | form_constraint_autoset => '无效选项', | ||
| 15 | form_constraint_bool => '不是布尔值', | ||
| 16 | form_constraint_callback => '无效输入', | ||
| 17 | form_constraint_datetime => '无效日期', | ||
| 18 | form_constraint_dependon => | ||
| 19 | "如果'[_1]'不为空,此字段也不能为空", | ||
| 20 | form_constraint_email => '不含邮件地址', | ||
| 21 | form_constraint_equal => "与'[_1]'值不符", | ||
| 22 | form_constraint_file => '不是文件', | ||
| 23 | form_constraint_file_mime => '无效的文件类型', | ||
| 24 | form_constraint_file_maxsize => '文件不能超过[_1]字节', | ||
| 25 | form_constraint_file_minsize => '文件不能少于[_1]字节', | ||
| 26 | form_constraint_file_size => '文件大小必须在[_1]和[_2]之间', | ||
| 27 | form_constraint_integer => '不是数字', | ||
| 28 | form_constraint_length => '长度必须在[_1]和[_2]之间', | ||
| 29 | form_constraint_minlength => '至少[_1]个字符', | ||
| 30 | form_constraint_minrange => '至少[_1]', | ||
| 31 | form_constraint_minmaxfields => '无效输入', | ||
| 32 | form_constraint_maxlength => '至多[_1]个字符', | ||
| 33 | form_constraint_maxrange => '至多[_1]', | ||
| 34 | form_constraint_number => '不是数字', | ||
| 35 | form_constraint_printable => '含有不可打印字符', | ||
| 36 | form_constraint_range => '必须在[_1]和[_2]之间', | ||
| 37 | form_constraint_recaptcha => 'reCAPTCHA错误', | ||
| 38 | form_constraint_regex => '无效输入', | ||
| 39 | form_constraint_required => '不能为空', | ||
| 40 | form_constraint_set => '无效选项', | ||
| 41 | form_constraint_singlevalue => '不是单值', | ||
| 42 | form_constraint_word => '不是单词', | ||
| 43 | form_inflator_compounddatetime => '无效日期', | ||
| 44 | form_inflator_datetime => '无效日期', | ||
| 45 | form_validator_callback => 'Validator错误', | ||
| 46 | form_transformer_callback => 'Transformer错误', | ||
| 47 | |||
| 48 | form_inflator_imager => '打开图像文件错误', | ||
| 49 | form_validator_imager_size => '图像文件太大', | ||
| 50 | form_transformer_imager => '处理图像文件错误', | ||
| 51 | ); | ||
| 52 | |||
| 53 | __PACKAGE__->meta->make_immutable( inline_constructor => 0 ); | ||
| 54 | |||
| 55 | 1; | ||
| 56 | |||
| 57 | __END__ | ||
| 58 | |||
| 59 | =pod | ||
| 60 | |||
| 61 | =encoding UTF-8 | ||
| 62 | |||
| 63 | =head1 NAME | ||
| 64 | |||
| 65 | HTML::FormFu::I18N::zh_cn | ||
| 66 | |||
| 67 | =head1 VERSION | ||
| 68 | |||
| 69 | version 2.06 | ||
| 70 | |||
| 71 | =head1 AUTHOR | ||
| 72 | |||
| 73 | Carl Franks <cpan@fireartist.com> | ||
| 74 | |||
| 75 | =head1 COPYRIGHT AND LICENSE | ||
| 76 | |||
| 77 | This software is copyright (c) 2018 by Carl Franks. | ||
| 78 | |||
| 79 | This is free software; you can redistribute it and/or modify it under | ||
| 80 | the same terms as the Perl 5 programming language system itself. | ||
| 81 | |||
| 82 | =cut |