|
5 | 5 | absent: String.raw`^ console \. log \(`, |
6 | 6 | text: "Please use the form console.log(...);", |
7 | 7 | text_ja: "console.log(...); の形式を使用してください。", |
| 8 | + text_fr: "Veuillez utiliser le formulaire console.log(...);", |
8 | 9 | examples: [ [ "" ], [ "foo" ] |
9 | 10 | ], |
10 | 11 | }, |
11 | 12 | { |
12 | 13 | present: "Goodbye", |
13 | 14 | text: "You need to change the text Goodbye to something else.", |
14 | 15 | text_ja: "「Goodbye」というテキストを別の文字に変更する必要があります.", |
| 16 | + text_fr: "Vous devez remplacer le texte Goodbye par autre chose.", |
15 | 17 | examples: [ [ "console.log(\"Goodbye.\");" ] ] |
16 | 18 | }, |
17 | 19 | { |
18 | 20 | present: "hello", |
19 | 21 | text: "Please capitalize Hello.", |
20 | 22 | text_ja: "Hello は大文字で入力してください。.", |
| 23 | + text_fr: "Veuillez mettre une majuscule Hello.", |
21 | 24 | examples: [ [ "console.log(\"hello.\");" ] ] |
22 | 25 | }, |
23 | 26 | { |
24 | 27 | present: "World", |
25 | 28 | text: "Please lowercase world.", |
26 | 29 | text_ja: "world という単語を小文字にしてください。", |
| 30 | + text_fr: "Veuillez mettre world en minuscule.", |
27 | 31 | examples: [ [ "console.log(\"Hello, World!\");" ] ] |
28 | 32 | }, |
29 | 33 | { |
30 | 34 | present: "Hello[^,]", |
31 | 35 | text: "Put a comma immediately after Hello.", |
32 | 36 | text_ja: "Hello の直後にカンマを入れます", |
| 37 | + text_fr: "Mettez une virgule immédiatement après Hello.", |
33 | 38 | examples: [ [ "console.log(\"Hello world.\");" ] ] |
34 | 39 | }, |
35 | 40 | { |
36 | 41 | present: "Hello", |
37 | 42 | absent: "[Ww]orld", |
38 | 43 | text: "There's a Hello, but you need to also mention the world.", |
39 | 44 | text_ja: "「Hello」がありますが、「world」という単語にも言及する必要があります。", |
| 45 | + text_fr: "Il y a un Hello, mais il faut aussi mentionner le world.", |
40 | 46 | examples: [ [ "console.log(\"Hello, \");" ] ] |
41 | 47 | }, |
42 | 48 | { |
43 | 49 | present: String.raw`world[^\!]`, |
44 | 50 | text: "Put an exclamation point immediately after world.", |
45 | 51 | text_ja: "world の直後に感嘆符を置きます。", |
| 52 | + text_fr: "Mettez un point d'exclamation immédiatement après world.", |
46 | 53 | examples: [ [ "console.log(\"Hello, world.\");" ] ] |
47 | 54 | }, |
48 | 55 | { |
49 | 56 | present: String.raw`Hello,\s*world!`, |
50 | 57 | absent: String.raw`Hello,\x20world!`, |
51 | 58 | text: "You need exactly one space between 'Hello,' and 'world!'", |
52 | 59 | text_ja: "「Hello」と「world!」の間にはスペースが 1 つだけ必要です。", |
| 60 | + text_fr: "Vous avez besoin d'exactement un espace entre « Hello, » et « world! »", |
53 | 61 | examples: [ [ "console.log(\"Hello, world!\");" ] ] |
54 | 62 | }, |
55 | 63 | { |
56 | 64 | present: String.raw`^ console \. log \( Hello`, |
57 | 65 | text: "You must quote constant strings using \", ', or `", |
58 | 66 | text_ja: "定数文字列は \"、'、または ` を使用して引用符で囲む必要があります。", |
| 67 | + text_fr: "Vous devez citer les chaînes constantes en utilisant \", ' ou `", |
59 | 68 | examples: [ [ "console.log(Hello, world" ], [ "console.log( Hello, world" ] ] |
60 | 69 | }, |
61 | 70 | { |
62 | 71 | absent: String.raw` ; $`, |
63 | 72 | text: "Please end this statement with a semicolon. JavaScript does not require a semicolon in this case, but usually when modifying source code you should follow the style of the current code.", |
64 | 73 | text_ja: "このステートメントはセミコロンで終了してください。この場合、JavaScript ではセミコロンは必要ありませんが、通常、ソース コードを変更する場合は、現在のコードのスタイルに従う必要があります。", |
| 74 | + text_fr: "Veuillez terminer cette déclaration par un point-virgule. JavaScript ne nécessite pas de point-virgule dans ce cas, mais généralement lors de la modification du code source, vous devez suivre le style du code actuel", |
65 | 75 | examples: [ [ " console.log(\"Hello, world!\") " ] ] |
66 | 76 | }, |
67 | 77 | ], |
|
0 commit comments