| 
7 | 7 |     {  | 
8 | 8 |       absent: ", $",  | 
9 | 9 |       text: "This is a parameter, it must end with a comma.",  | 
 | 10 | +      text_ja: "これはパラメータです。カンマで終わる必要があります。",  | 
10 | 11 |     },  | 
11 | 12 |     {  | 
12 | 13 |       absent: String.raw`query \( ["'${BACKQUOTE}]id["'${BACKQUOTE}] \)  | 
13 | 14 | `,  | 
14 | 15 |       text: "Use query() with an 'id' parameter.",  | 
 | 16 | +      text_ja: "`id` をパラメータとして query() を使用してください。",  | 
15 | 17 |     },  | 
16 | 18 |     {  | 
17 | 19 |       present: String.raw`query \( ["'${BACKQUOTE}]id["'${BACKQUOTE}] \) [^. ]  | 
18 | 20 | `,  | 
19 | 21 |       text: "After query(\"id\") use a period to invoke a verification method.",  | 
 | 22 | +      text_ja: "検証メソッドを起動するため、query(\"id\") のあとにピリオドが必要です。",  | 
20 | 23 |     },  | 
21 | 24 |     {  | 
22 | 25 |       present: "(islength|Islength|IsLength|ISLENGTH)\n",  | 
23 | 26 |       text: "JavaScript is case-sensitive. Use isLength instead of the case you have.\n",  | 
 | 27 | +      text_ja: "JavaScript は大文字と小文字を区別します。isLength としてください。\n",  | 
24 | 28 |     },  | 
25 | 29 |     {  | 
26 | 30 |       absent: "isLength",  | 
27 | 31 |       text: "Limit the maximum length of input strings using isLength().",  | 
 | 32 | +      text_ja: "isLength() を使って入力文字列の長さを制限してください。",  | 
28 | 33 |     },  | 
29 | 34 |     {  | 
30 | 35 |       present: String.raw`isLength \( m  | 
31 | 36 | `,  | 
32 | 37 |       text: "You need to pass isLength() an object with the max parameter, e.g., isLength({max: VALUE}).\n",  | 
 | 38 | +      text_ja: "isLength() には最大値とともにオブジェクトを渡します。例:isLength({max: VALUE}).\n",  | 
33 | 39 |     },  | 
34 | 40 |     {  | 
35 | 41 |       absent: "matches",  | 
36 | 42 |       text: "Use matches().",  | 
 | 43 | +      text_ja: "matches() を使ってください。",  | 
37 | 44 |     },  | 
38 | 45 |     {  | 
39 | 46 |       present: String.raw`matches \( /[^^]  | 
40 | 47 | `,  | 
41 | 48 |       text: "Match the whole string - begin the regular expression with ^",  | 
 | 49 | +      text_ja: "文字列全体にマッチするよう、正規表現は ^ で始めてください。",  | 
42 | 50 |     },  | 
43 | 51 |     {  | 
44 | 52 |       present: String.raw`matches \( /.*[^$]/  | 
45 | 53 | `,  | 
46 | 54 |       text: "Match the whole string - end the regular expression with $",  | 
 | 55 | +      text_ja: "文字列全体にマッチするよう、正規表現の最後は $ としてください。",  | 
47 | 56 |     },  | 
48 | 57 |     {  | 
49 | 58 |       present: String.raw`matches \( /.*[^$]/  | 
50 | 59 | `,  | 
51 | 60 |       text: "Match the whole string - end the regular expression with $",  | 
 | 61 | +      text_ja: "文字列全体にマッチするよう、正規表現の最後は $ としてください。",  | 
52 | 62 |     },  | 
53 | 63 |     {  | 
54 | 64 |       present: String.raw`matches \( /\^\[A-Z\]  | 
55 | 65 | `,  | 
56 | 66 |       text: "That would match only letters, you need digits as well.",  | 
 | 67 | +      text_ja: "文字にしかマッチしません。数字にもマッチさせる必要があります。",  | 
57 | 68 |     },  | 
58 | 69 |     {  | 
59 | 70 |       present: String.raw`matches \( /\^\[a-z\]  | 
60 | 71 | `,  | 
61 | 72 |       text: "That would match only lower case letters, the format requirement is uppercase letters.",  | 
 | 73 | +      text_ja: "小文字にしかマッチしません。フォーマットへの要求は大文字です。",  | 
62 | 74 |     },  | 
63 | 75 |     {  | 
64 | 76 |       present: String.raw`matches \( /\^\(\[A-Z0-9\]\+\)\+\$   | 
65 | 77 | `,  | 
66 | 78 |       text: "Remember to fix the regex, the outer + quantifier causes backtracking by trying to match one or more sequences of one or more uppercase alphanumeric characters.",  | 
 | 79 | +      text_ja: "正規表現の修正を忘れないでください。外側の + は一つ以上の大文字アルファベットおよび数字にマッチしようとして処理をさかのぼって繰り返す必要があります。",  | 
67 | 80 |     },  | 
68 | 81 |     {  | 
69 | 82 |       present: String.raw`matches \( /\^\(\[A-Z0-9\]\+\)\$   | 
70 | 83 | `,  | 
71 | 84 |       text: "Remove the grouping, you don’t need the parentheses.",  | 
 | 85 | +      text_ja: "グルーピングを削除してください。カッコは必要ありません。",  | 
72 | 86 |     },  | 
73 | 87 |     {  | 
74 | 88 |       present: String.raw`\[0-9[Aa]-[Zz]\]`,  | 
75 | 89 |       text: "It's conventional to list letters first, so use [A-Z0-9] not [0-9A-Z]",  | 
 | 90 | +      text_ja: "文字を最初に並べるのが通例です。[0-9A-Z] ではなく、[A-Z0-9] とします。",  | 
76 | 91 |     },  | 
77 | 92 |   ],  | 
78 | 93 |   expected: [  | 
 | 
0 commit comments