| 1 | package Data::Sah::Lang::zh_CN; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use Tie::IxHash; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # currently incomplete | ||
| 11 | |||
| 12 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 13 | 1 | our $DATE = '2024-02-16'; # DATE | |
| 14 | 1 | our $DIST = 'Data-Sah'; # DIST | |
| 15 | 1 | our $VERSION = '0.917'; # VERSION | |
| 16 | |||
| 17 | 1 | our %translations; | |
| 18 | 1 | tie %translations, 'Tie::IxHash', ( | |
| 19 | |||
| 20 | # punctuations | ||
| 21 | |||
| 22 | q[ ], # inter-word boundary | ||
| 23 | q[], | ||
| 24 | |||
| 25 | q[, ], | ||
| 26 | q[,], | ||
| 27 | |||
| 28 | q[: ], | ||
| 29 | q[:], | ||
| 30 | |||
| 31 | q[. ], | ||
| 32 | q[。], | ||
| 33 | |||
| 34 | q[(], | ||
| 35 | q[(], | ||
| 36 | |||
| 37 | q[)], | ||
| 38 | q[)], | ||
| 39 | |||
| 40 | # modal verbs | ||
| 41 | |||
| 42 | q[must], | ||
| 43 | q[必须], | ||
| 44 | |||
| 45 | q[must not], | ||
| 46 | q[必须不], | ||
| 47 | |||
| 48 | q[should], | ||
| 49 | q[应], | ||
| 50 | |||
| 51 | q[should not], | ||
| 52 | q[应不], | ||
| 53 | |||
| 54 | # field/fields/argument/arguments | ||
| 55 | |||
| 56 | q[field], | ||
| 57 | q[字段], | ||
| 58 | |||
| 59 | q[fields], | ||
| 60 | q[字段], | ||
| 61 | |||
| 62 | q[argument], | ||
| 63 | q[参数], | ||
| 64 | |||
| 65 | q[arguments], | ||
| 66 | q[参数], | ||
| 67 | |||
| 68 | # multi | ||
| 69 | |||
| 70 | q[%s and %s], | ||
| 71 | q[%s和%s], | ||
| 72 | |||
| 73 | q[%s or %s], | ||
| 74 | q[%s或%s], | ||
| 75 | |||
| 76 | q[one of %s], | ||
| 77 | q[这些值%s之一], | ||
| 78 | |||
| 79 | q[all of %s], | ||
| 80 | q[所有这些值%s], | ||
| 81 | |||
| 82 | q[%(modal_verb)s satisfy all of the following], | ||
| 83 | q[%(modal_verb)s满足所有这些条件], | ||
| 84 | |||
| 85 | q[%(modal_verb)s satisfy one of the following], | ||
| 86 | q[%(modal_verb)s满足这些条件之一], | ||
| 87 | |||
| 88 | q[%(modal_verb)s satisfy none of the following], | ||
| 89 | q[%(modal_verb_neg)s满足所有这些条件], | ||
| 90 | |||
| 91 | # type: BaseType | ||
| 92 | |||
| 93 | # type: Sortable | ||
| 94 | |||
| 95 | # type: Comparable | ||
| 96 | |||
| 97 | # type: HasElems | ||
| 98 | |||
| 99 | # type: num | ||
| 100 | |||
| 101 | # type: int | ||
| 102 | |||
| 103 | q[integer], | ||
| 104 | q[整数], | ||
| 105 | |||
| 106 | q[integers], | ||
| 107 | q[整数], | ||
| 108 | |||
| 109 | q[%(modal_verb)s be divisible by %s], | ||
| 110 | q[%(modal_verb)s被%s整除], | ||
| 111 | |||
| 112 | q[%(modal_verb)s leave a remainder of %2$s when divided by %1$s], | ||
| 113 | q[除以%1$s时余数%(modal_verb)s为%2$s], | ||
| 114 | |||
| 115 | # messages for compiler | ||
| 116 | ); | ||
| 117 | |||
| 118 | 1 | 1; | |
| 119 | # ABSTRACT: zh_CN locale | ||
| 120 | |||
| 121 | __END__ | ||