|
| 1 | +var language = { |
| 2 | + "code_snippets": { |
| 3 | + "title": "程式碼片段", |
| 4 | + "description": "程式碼片段(Code snippets)可以讓你在編程中快速使用代碼,這裡提供 MicroPython 裡最常見的一些。", |
| 5 | + "instructions": "選取下面的一個程式碼片段,或者在編輯器中輸入觸發片語後按下 TAB 鍵。", |
| 6 | + "trigger_heading": "觸發的片語", |
| 7 | + "description_heading": "說明", |
| 8 | + "docs": "為程式碼加上註解說明(documents)", |
| 9 | + "wh": "只要(while)條件為 true 時就不斷持續做某些事", |
| 10 | + "with": "給做某些事的內容分配一個名字", |
| 11 | + "cl": "建立一個新的類別(class)用於定義新類型物件的行為", |
| 12 | + "def": "定義一個已命名的函式,它需要一些參數並選擇性地添加描述", |
| 13 | + "if": "如果(if)某種條件是 True 那麼就做點什麼", |
| 14 | + "ei": "否則如果(else if)其他條件是 true 就做一些事", |
| 15 | + "el": "否則(else)做一些其他的事", |
| 16 | + "for": "在集合裡對每個(for each)項目都執行某項操作", |
| 17 | + "try": "嘗試(try)做某事以處理異常或錯誤" |
| 18 | + }, |
| 19 | + "share": { |
| 20 | + "title": "分享程式", |
| 21 | + "instructions": "使用密碼和提示(非必要,但可幫你回憶密碼)以建立一個能與他人共享程式的安全連結。", |
| 22 | + "passphrase": "密碼: ", |
| 23 | + "hint": "密碼提示: ", |
| 24 | + "button": "建立連結", |
| 25 | + "description": "此 URL 指向您的程式碼:", |
| 26 | + "shortener": "這是短網址:" |
| 27 | + }, |
| 28 | + "decrypt": { |
| 29 | + "title": "解密原始程式碼", |
| 30 | + "instructions": "輸入密碼以解密原始程式碼。", |
| 31 | + "passphrase": "密碼: ", |
| 32 | + "button": "解碼" |
| 33 | + }, |
| 34 | + "alerts": { |
| 35 | + "download": "在 Safari 上有個已知問題,你的工作將在被下載時會是一個未命名的檔案,請將它重新命名成以 .hex 結尾的檔案。另一個方法是改用 Firefox 或 Chrome 瀏覽器,它們不會發生這種問題。", |
| 36 | + "save": "在 Safari 上有個已知問題,你的工作將在被下載時會是一個未命名的檔案,請將它重新命名成以 .py 結尾的檔案。另一個方法是改用 Firefox 或 Chrome 瀏覽器,它們不會發生這種問題。", |
| 37 | + "load_code": "哎呀!無法將代碼載入到十六進位檔案中。", |
| 38 | + "unrecognised_hex": "抱歉,我們無法識別這個檔案", |
| 39 | + "snippets": "當 blockly 啟用時無法使用程式碼片段。", |
| 40 | + "error": "錯誤:\n", |
| 41 | + "empty": "這個 Python 檔案沒有任何內容。", |
| 42 | + "no_python": "在 hex 檔中找不到有效的 Python 程式碼。", |
| 43 | + "no_script": "Hex 檔的內容不包含 Python 腳本。", |
| 44 | + "no_main": "Hex 檔沒有包含 main.py 檔案。", |
| 45 | + "cant_add_file": "無法添加檔案到檔案系統:", |
| 46 | + "module_added": "\"{{module_name}}\" 模組已添加到檔案系統。", |
| 47 | + "module_out_of_space": "無法將檔案添加到系統,因為沒有多餘的儲存空間。" |
| 48 | + }, |
| 49 | + "help": { |
| 50 | + "docs-link": { |
| 51 | + "title": "檢視 MicroPython 說明文件", |
| 52 | + "label": "說明文件" |
| 53 | + }, |
| 54 | + "support-link": { |
| 55 | + "title": "以新頁籤開啟 micro:bit 支援中心", |
| 56 | + "label": "支援" |
| 57 | + }, |
| 58 | + "help-link": { |
| 59 | + "title": "以新頁籤開啟此編輯器的幫助文件", |
| 60 | + "label": "幫助" |
| 61 | + }, |
| 62 | + "issues-link": { |
| 63 | + "title": "在 GitHub 中檢視 Python 編輯器的未解決問題", |
| 64 | + "label": "問題追蹤" |
| 65 | + }, |
| 66 | + "feedback-link": { |
| 67 | + "title": "給我們關於 Python 編輯器的回饋", |
| 68 | + "label": "回饋意見" |
| 69 | + }, |
| 70 | + "editor-ver": "編輯器版本:", |
| 71 | + "mp-ver": "MicroPython 版本:" |
| 72 | + }, |
| 73 | + "confirms": { |
| 74 | + "quit": "有些內容變更後未儲存,確定要離開嗎?", |
| 75 | + "blocks": "你有未儲存的程式。使用積木模式會更改你的代碼,你可能會遺失這些變更,確定要繼續嗎?", |
| 76 | + "replace_main": "添加的 main.py 檔案將取代編輯器中現有的程式碼!", |
| 77 | + "replace_file": "要取代 \"{{file_name}}\" 這個檔案嗎?", |
| 78 | + "replace_module": "要取代 \"{{module_name}}\" 這個模組嗎?", |
| 79 | + "download_py_multiple": "這個專案裡有多個不使用此格式保存的檔案。\n我們建議下載成 Hex 檔案,它將包含整個專案,也能在編輯器上重新讀取。\n\n確定只要下載 {{file_name}} 這個檔案?" |
| 80 | + }, |
| 81 | + "code": { |
| 82 | + "start": "在此處添加 Python 程式碼。例如:" |
| 83 | + }, |
| 84 | + "webusb": { |
| 85 | + "err": { |
| 86 | + "update-req": "你需要<a target=\"_blank\" href=\"https://support.microbit.org/support/solutions/articles/19000019131-how-to-upgrade-the-firmware-on-the-micro-bit\">更新 micro:bit 韌體</a>以使用這個功能。", |
| 87 | + "clear-connect": "另一個程序正在連線到這個設備。<br>關閉可能也在使用 WebUSB 的其它頁籤(像是 MakeCode、Python 編輯器),或者斷開 micro:bit 再重新連接。", |
| 88 | + "reconnect-microbit": "請重新連接你的 micro:bit 後再試一次。", |
| 89 | + "partial-flashing-disable": "如果錯誤仍然存在,請試著停用 Beta 選項中的快速燒錄功能。", |
| 90 | + "device-disconnected": "設備已斷開連接。", |
| 91 | + "timeout-error": "無法連接到 micro:bit", |
| 92 | + "unavailable": "WebUSB 可以讓你直接在線上編輯器編程並連結序列埠監控台。<br/>可惜,這個瀏覽器不支援 WebUSB,建議你改用 Chrome 或是基於 Chrome 內核的其它瀏覽器。", |
| 93 | + "find-more": "了解更多" |
| 94 | + }, |
| 95 | + "troubleshoot": "疑難排解", |
| 96 | + "close": "關閉", |
| 97 | + "request-repl": "發送 CTRL-C 到 REPL", |
| 98 | + "request-serial": "發送 CTRL-D 以重設", |
| 99 | + "flashing-text": "燒錄 micro:bit", |
| 100 | + "download": "下載 Hex 檔案" |
| 101 | + }, |
| 102 | + "load": { |
| 103 | + "show-files": "顯示檔案", |
| 104 | + "load-title": "讀取", |
| 105 | + "instructions": "拖曳一個 .hex 或 .py 檔案到這裡以開啟它。", |
| 106 | + "submit": "讀取", |
| 107 | + "save-title": "儲存", |
| 108 | + "save-hex": "下載專案 Hex 檔案", |
| 109 | + "save-py": "下載 Python 腳本", |
| 110 | + "fs-title": "檔案", |
| 111 | + "toggle-file": "或瀏覽裝置中的檔案。", |
| 112 | + "fs-add-file": "新增檔案", |
| 113 | + "hide-files": "隱藏檔案", |
| 114 | + "td-filename": "檔案名稱", |
| 115 | + "td-size": "大小", |
| 116 | + "fs-space-free": "可用空間", |
| 117 | + "remove-but": "移除", |
| 118 | + "save-but": "儲存", |
| 119 | + "files-title": "專案檔案", |
| 120 | + "help-button": "檔案説明", |
| 121 | + "file-help-text": "專案檔案區域顯示程式中引用(include)的檔案,並允許你添加或移除外部 python 模組和其它檔案。要進一步瞭解請參閱", |
| 122 | + "help-link": "Python 編輯器幫助文件", |
| 123 | + "invalid-file-title": "無效的檔案類型", |
| 124 | + "mpy-warning": "這個版本的 Python 編輯器還不支援添加 .mpy 檔案。", |
| 125 | + "extension-warning": "Python 編輯器只能載入副檔名為 .hex 或 .py 的檔案。" |
| 126 | + }, |
| 127 | + "languages": { |
| 128 | + "en": { |
| 129 | + "title": "英文" |
| 130 | + }, |
| 131 | + "es": { |
| 132 | + "title": "西班牙语" |
| 133 | + }, |
| 134 | + "pl": { |
| 135 | + "title": "波蘭語" |
| 136 | + }, |
| 137 | + "hr": { |
| 138 | + "title": "克羅地亞語" |
| 139 | + }, |
| 140 | + "zh-CN": { |
| 141 | + "title": "中文(簡體)" |
| 142 | + }, |
| 143 | + "zh-HK": { |
| 144 | + "title": "中文(繁體,香港)" |
| 145 | + }, |
| 146 | + "zh-TW": { |
| 147 | + "title": "中文(繁體,臺灣)" |
| 148 | + } |
| 149 | + }, |
| 150 | + "static-strings": { |
| 151 | + "buttons": { |
| 152 | + "command-download": { |
| 153 | + "title": "下載一個 hex 檔案以燒錄到 micro:bit 上", |
| 154 | + "label": "下載" |
| 155 | + }, |
| 156 | + "command-disconnect": { |
| 157 | + "title": "斷開 micro:bit 連線", |
| 158 | + "label": "中斷連線" |
| 159 | + }, |
| 160 | + "command-flash": { |
| 161 | + "title": "直接將專案燒錄到 micro:bit", |
| 162 | + "label": "燒錄" |
| 163 | + }, |
| 164 | + "command-files": { |
| 165 | + "title": "讀取/儲存檔案", |
| 166 | + "label": "讀取/儲存" |
| 167 | + }, |
| 168 | + "command-serial": { |
| 169 | + "title": "通過序列埠連接 micro:bit", |
| 170 | + "label": "開啟序列埠", |
| 171 | + "title-close": "關閉序列埠連線並返回編輯器", |
| 172 | + "label-close": "關閉序列埠" |
| 173 | + }, |
| 174 | + "command-connect": { |
| 175 | + "title": "連線到 micro:bit", |
| 176 | + "label": "連線" |
| 177 | + }, |
| 178 | + "command-connecting": { |
| 179 | + "title": "正在連線到 micro:bit", |
| 180 | + "label": "正在連線" |
| 181 | + }, |
| 182 | + "command-options": { |
| 183 | + "title": "變更編輯器設定", |
| 184 | + "label": "Beta 選項" |
| 185 | + }, |
| 186 | + "command-blockly": { |
| 187 | + "title": "點擊以 blockly 建立程式碼", |
| 188 | + "label": "Blockly" |
| 189 | + }, |
| 190 | + "command-snippet": { |
| 191 | + "title": "點擊以選擇一個片語(快捷代碼)", |
| 192 | + "label": "程式碼片段" |
| 193 | + }, |
| 194 | + "command-help": { |
| 195 | + "title": "探索有用的資源", |
| 196 | + "label": "幫助" |
| 197 | + }, |
| 198 | + "command-language": { |
| 199 | + "title": "選取語言", |
| 200 | + "label": "語言" |
| 201 | + }, |
| 202 | + "command-share": { |
| 203 | + "title": "建立一個連結共享你的腳本", |
| 204 | + "label": "分享" |
| 205 | + }, |
| 206 | + "command-zoom-in": { |
| 207 | + "title": "放大" |
| 208 | + }, |
| 209 | + "command-zoom-out": { |
| 210 | + "title": "縮小" |
| 211 | + } |
| 212 | + }, |
| 213 | + "script-name": { |
| 214 | + "label": "腳本名稱" |
| 215 | + }, |
| 216 | + "options-dropdown": { |
| 217 | + "autocomplete": "自動完成", |
| 218 | + "on-enter": "按 [Enter] 後", |
| 219 | + "partial-flashing": "快速燒錄", |
| 220 | + "lang-select": "選擇語言:", |
| 221 | + "add-language-link": "新增語言" |
| 222 | + }, |
| 223 | + "text-editor": { |
| 224 | + "aria-label": "文字編輯器" |
| 225 | + } |
| 226 | + } |
| 227 | +}; |
0 commit comments