From cb8e66cbb28da801fc0c27823b5f47adc7aa472e Mon Sep 17 00:00:00 2001 From: camperbot Date: Sun, 9 Jan 2022 19:36:03 +0530 Subject: [PATCH] This PR was automagically generated by Crowdin. (#44733) --- ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + ...-of-an-object-with-a-for...in-statement.md | 14 +++ ...ramming-to-convert-strings-to-url-slugs.md | 1 + .../chinese-traditional/comments.json | 110 ++++++++++++++++++ 13 files changed, 200 insertions(+) create mode 100644 curriculum/dictionaries/chinese-traditional/comments.json diff --git a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index 2745fcd38f..58100126b2 100644 --- a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index ff01baf793..6912fd3a29 100644 --- a/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/chinese-traditional/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index f59f9f6fac..2278d103ca 100644 --- a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index c6580bbf5f..73a8b143f3 100644 --- a/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/chinese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index ed07bb3604..fccfd7fcc1 100644 --- a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index 3afd2aaf53..7a112f2a1d 100644 --- a/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/espanol/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index a9e6a231d8..a7d361c89a 100644 --- a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index 0be730b16e..425650fe9a 100644 --- a/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/italian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index 950b9826ab..97431bb63f 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index 83daf61613..47fa2ffd36 100644 --- a/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/portuguese/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index 0df41fa049..15af7a3d91 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -116,11 +116,25 @@ const usersObj3 = { ## --seed-contents-- ```js +const users = { + Alan: { + online: false + }, + Jeff: { + online: true + }, + Sarah: { + online: false + } +} + function countOnline(usersObj) { // Only change code below this line // Only change code above this line } + +console.log(countOnline(users)); ``` # --solutions-- diff --git a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md index 731f03f5d7..843b3728d0 100644 --- a/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md +++ b/curriculum/challenges/ukrainian/02-javascript-algorithms-and-data-structures/functional-programming/apply-functional-programming-to-convert-strings-to-url-slugs.md @@ -72,6 +72,7 @@ function urlSlug(title) { } // Only change code above this line +urlSlug("A Mind Needs Books Like A Sword Needs A Whetstone"); ``` # --solutions-- diff --git a/curriculum/dictionaries/chinese-traditional/comments.json b/curriculum/dictionaries/chinese-traditional/comments.json new file mode 100644 index 0000000000..f7ece39ec0 --- /dev/null +++ b/curriculum/dictionaries/chinese-traditional/comments.json @@ -0,0 +1,110 @@ +{ + "hyek8f": "24.44 攝氏度", + "rscjup": "26 攝氏度", + "am2xch": "一個展示需要完成的任務的字符串列表:", + "6rztdg": "在這裏添加一條記錄", + "to1vwe": "在這裏添加 handleChange() 和 submitMessage() 方法", + "31b7ey": "在這行上面添加代碼", + "c24by8": "在這行下面添加代碼", + "jbrt8k": "添加第 m 行到 newArray", + "zkh12d": "使用 myString 通過挑戰後,瞭解分組如何運行", + "mobihi": "給 oopsGlobal 賦值 5", + "v3ups9": "調用 scale,傳入一個參數", + "iw4a3a": "示例 1:Target 沒有子級", + "463xp8": "示例 2:Target 有一個子級", + "u3inrm": "示例 3:Target 有兩個子級", + "axnbgg": "修改這行上面的代碼", + "i2kck7": "修改這行下面的代碼", + "dlbobn": "修改這一行", + "v127zb": "檢查兩個控制檯的差異。freeCodeCamp 控制檯應該打印兩次變量,分別對應這個挑戰的每一個測試。瀏覽器控制檯應該只打印一次變量,因爲你清除了第一次的打印結果。", + "ejm0ql": "關閉視頻窗口的第三個選項卡,併合並", + "iwch6t": "完成下面的方法,其餘的執行類似", + "hihhyz": "完成 return 語句", + "sdxti5": "計數 target 的子節點,並刪掉", + "wfw6sc": "創建 x 和 y 軸", + "sjw6f4": "在這裏創建軸", + "nupsh2": "創建一個二維數組,有 m 行 n 列,元素均爲 0", + "xfjb3s": "在這行下面聲明 myGlobal 變量", + "htpjk7": "爲 decrement action types 定義一個常量", + "tfzdsp": "爲 increment action types 定義一個常量", + "zh20mi": "定義 ADD、addMessage()、messageReducer() 並在這裏存儲:", + "43qs4c": "爲自減運算定義一個動作創建器", + "nen3qo": "爲自增運算定義一個動作創建器", + "0cwyam": "在這裏定義一個動作創建器:", + "fq0wsg": "在這裏定義一個動作", + "tegkqa": "在這裏定義 Container 組件:", + "b5oihn": "定義 counter reducer,根據接收到的動作遞增或遞減 state", + "91y4pd": "在這裏定義 Redux store,傳入 reducers", + "eie1vk": "在這裏定義 root reducer", + "5s7nnl": "在這裏定義 store here:", + "34qe2q": "字典將包含集合的元素", + "2c1wra": "在這裏發送接收到的 data action", + "923cpg": "在這裏發送 request action", + "picsyf": "在這裏發送 action:", + "ysjr1s": "顯示代碼", + "kjd1am": "這裏不能修改 state,否則測試不能通過", + "5tx4ow": "娛樂網站", + "9yu58b": "示例庫存清單", + "ciddtb": "找到目標值及其父級", + "ixx548": "修改下方代碼,使其結果爲 true", + "6mbhjj": "例如:Redux.createStore()", + "jshtzq": "函數返回表示“一杯紅茶(black tea)”的字符串", + "cw1ghf": "函數返回表示“一杯綠茶(green tea)”的字符串", + "iuccln": "返回一個隨機填充的數組", + "bm2mop": "點擊之後獲取 tabs", + "kchz5k": "點擊之前獲取 tabs", + "bfd23c": "有一個函數(代表茶的種類)和需要幾杯茶,下面的函數返回一個數組,包含字符串(每個字符串表示一杯特別種類的茶)。", + "ead98i": "全局 count 變量:", + "7zf0i2": "將它們合併起來", + "5j2l88": "我們創建三個瀏覽器窗口", + "e843r9": "我們現在打開一個新的選項卡", + "5fvehh": "在 myLocalScope 之外,未定義 myVar", + "qn720a": "現在,在 console.log() 之前添加 console.clear(),清除瀏覽器控制檯的內容,通過測試。", + "j86mef": "現在執行打開選項卡,關閉選項卡和其他操作", + "mk7rvy": "現在移除 console log 這一行,通過測試", + "n7vm1s": "只修改這一行上面的代碼", + "cvh4x7": "只修改這一行下面的代碼", + "lvmnm7": "打開一個新的選項卡,顯示貓的圖片", + "avpx79": "打開你的瀏覽器控制檯。", + "0b5ps6": "畫布邊線和圖表之間的 padding", + "uemoej": "將 n 個 0 推入當前行以創建列", + "lm86nf": "將當前行(已有 n 個 0)推送到數組", + "qscelx": "可從 Redux 對象獲得 Redux 方法", + "atqiig": "在這一行下面渲染一個輸入框(input),按鈕(button)和列表(ul)", + "yq81wg": "在這一行下面渲染 Provider", + "kxio9j": "responseFromServer 設置爲 false,表示從服務器獲得無效響應", + "alh6pw": "responseFromServer 設置爲 true,表示從服務器獲得有效響應", + "1cfidd": "responseFromServer 表示從服務器獲得一個響應", + "96tntk": "返回 30", + "58a5g7": "運行並檢查控制檯", + "71bus9": "運行測試,查看兩個控制檯的差異。", + "7wp46n": "設置爲華氏刻度", + "oefvg5": "設置", + "mnt4d3": "應該顯示 'carrot'", + "fhe9m4": "社交網站", + "za434b": "每週訓練的堆積條形圖", + "7c1fv9": "堆積條形圖在這裏顯示", + "r44ovx": "tabs 是在窗口中打開的每個站點的 title 的數組", + "cl8peb": "測試數組:", + "1xi3cv": "全局變量", + "3gc01a": "main.scss 文件", + "14kfog": "這是交集方法", + "d1shtt": "這是並集方法", + "pqq6sy": "此方法添加一個元素到集合中", + "nd2oxy": "此方法將檢查元素是否存在,並返回 true 或 false", + "ocm81t": "此方法將從集合中刪除一個元素", + "or9p5p": "此方法將返回集合中的所有值", + "g1608f": "此方法將返回集合的大小", + "bheu99": "這將保存一個集合", + "x1djjr": "在下一行使用 console.clear(),清除瀏覽器控制檯的內容", + "22ta95": "使用 console.log() 打印輸出變量", + "w43c7l": "使用 s = [2, 5, 7] 將無效", + "pgckoj": "變量賦值", + "2xiqvv": "變量聲明", + "2sx8zg": "我們記錄對象內部的數組", + "xmjfd8": "當你關閉一個選項卡時", + "es69h6": "當你將兩個窗口合併爲一個窗口時", + "fho5t5": "當你在最後打開一個選項卡時", + "00kcrm": "輸出 true", + "sxpg2a": "你的郵箱、Google Drive 和其他工作地點" +}