forked from prettier/prettier-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and re-translation the package.nls.zh-tw.json (prettier#2592)
- Loading branch information
Showing
1 changed file
with
38 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,40 @@ | ||
{ | ||
"ext.config.title": "Prettier - 代碼格式化配置", | ||
"ext.config.disableLanguages": "用於禁用此擴展的語言ID列表", | ||
"ext.config.requireConfig": "需要 'prettierconfig' 來格式化", | ||
"ext.config.ignorePath": ".prettierignore或類似文件的路徑", | ||
"ext.config.printWidth": "指定每行代碼的最佳長度, 如果超出長度則換行。", | ||
"ext.config.tabWidth": "每個製表符佔用的空格數", | ||
"ext.config.singleQuote": "如果為 true,將使用單引號而不是雙引號", | ||
"ext.config.trailingComma": "盡可能控制尾隨逗號的輸出。 \n有效選項:\n'無' - 無尾隨逗號\n'es5' - 在ES5中有效的尾隨逗號(對象,數組等)\n'all' - 尾隨逗號 盡可能(函數參數)", | ||
"ext.config.bracketSpacing": "控制對象字面量的空格輸出", | ||
"ext.config.jsxBracketSameLine": "如果為 true,則將多行jsx元素的 `>` 放在最後一行的末尾,而不是單獨放在下一行", | ||
"ext.config.parser": "覆蓋解析器。您不必更改此設置。", | ||
"ext.config.semi": "是否在每行末尾添加分號", | ||
"ext.config.useTabs": "使用製表符(tab)縮進", | ||
"ext.config.proseWrap": "(Markdown)將散文包含在多行中", | ||
"ext.config.arrowParens": "當箭頭函數僅有一個參數時加上括號", | ||
"ext.config.jsxSingleQuote": "在JSX中使用單引號而不是雙引號", | ||
"ext.config.htmlWhitespaceSensitivity": "指定HTML文件的全局空白區域敏感度。 \n有效選項:\n'css' - 尊重CSS顯示屬性的默認值。 \n'strict' - 空格被認為是敏感的。 \n'ignore' - 空格被認為是不敏感的。", | ||
"ext.config.endOfLine": "指定 prettier 的換行符", | ||
"ext.config.quoteProps": "Change when properties in objects are quoted" | ||
"ext.command.createConfigFile.title": "Prettier: 建立組態檔", | ||
"ext.command.forceFormatDocument.title": "排版文件(強制)", | ||
"ext.config.arrowParens": "箭頭函式中只有一個參數也加上括號", | ||
"ext.config.bracketSpacing": "控制物件字面值中兩側的留白", | ||
"ext.config.configPath": "Prettier 組態檔的路徑", | ||
"ext.config.disableLanguages": "針對這個套件要在某些語言停用的的 ID 清單", | ||
"ext.config.disableLanguagesDeprecation": "這個功能已不再支援。請改用 VS Code 的 [default formatters](https://github.com/prettier/prettier-vscode#default-formatter) 或用 .prettierignore 。", | ||
"ext.config.documentSelectors": "用於註冊 Prettier 排版器的 [glob patterns](https://code.visualstudio.com/api/references/vscode-api#GlobPattern) 清單", | ||
"ext.config.endOfLine": "指定 prettier 使用的結尾符號", | ||
"ext.config.htmlWhitespaceSensitivity": "指定全域 HTML 檔案的留白敏感度。\n 可用的選項:\n- `css` - 遵照 CSS display 屬性的設定。\n- `strict` - 留白敏感。\n- `ignore` - 留白不敏感。", | ||
"ext.config.ignorePath": ".prettierignore 檔案的路徑", | ||
"ext.config.insertPragma": "Prettier 可以在檔案頂部插入指定的 @format 記號做為表明檔案是經由 prettier 排版的。這個設定跟 `require-pragma` 選項協作有很好的效果。如果檔案頂部已有文件區塊,則會在其之後新增一列並插入 @format 記號。", | ||
"ext.config.jsxBracketSameLine": "若設定為 true ,會把多列的 jsx 元素的 `>` 放在最後一列的結尾而不是單獨放在新的一列。", | ||
"ext.config.jsxSingleQuote": "在 JSX 中使用單引號而不是雙引號", | ||
"ext.config.packageManager": "你用於安裝 node modules 的套件管理器。", | ||
"ext.config.packageManagerDeprecation": "套件管理器目前會經由 VS Code 進行偵測。這個設定已不再使用。", | ||
"ext.config.parser": "覆寫解析器。你不應變更這個設定。", | ||
"ext.config.parserDeprecationMessage": "這個設定已不再支援。請改用 prettier 組態檔。", | ||
"ext.config.prettierPath": "Prettier 模組的路徑", | ||
"ext.config.printWidth": "讓程式碼的每一列符合這個寬度限制", | ||
"ext.config.proseWrap": "( Markdown ) 把文句換行成多列", | ||
"ext.config.quoteProps": "物件的屬性會被加上引號", | ||
"ext.config.requireConfig": "排版需要 prettier 組態檔。參閱[可用的組態檔文件](https://prettier.io/docs/en/configuration.html).\n\n> _注意,無標題檔案仍會使用 VS Code 的 prettier 設定進行排版,不受這個設定值影響。_", | ||
"ext.config.requirePragma": "Prettier 可以限制它自己只對包含特殊註解的檔案進行排版,這個特殊的註解成為 pragma ,位於檔案的最頂部。這對於想要對那些大型、未經過排版的程式碼緩步採納 prettier 非常有幫助。", | ||
"ext.config.resolveGlobalModules": "當啟用後,這個套件會在區域的模組找不到 prettier 模組時嘗試使用去全域的 npm 或 yarn 模組中尋找。\n> _這個設定會導致效能的負面影響,特別在 Windows 中有掛載網路磁碟機。只有在你必須使用全域模組的情況下再啟用。_", | ||
"ext.config.withNodeModules": "若設定為 true ,這個套件會對 node_modules 的檔案進行排版", | ||
"ext.config.semi": "是否要在每一列的結尾加上分號", | ||
"ext.config.singleQuote": "若設定為 true ,會使用單引號而非雙引號", | ||
"ext.config.tabWidth": "每一個 tab 要使用多少個空格", | ||
"ext.config.title": "Prettier", | ||
"ext.config.trailingComma": "在可能的情況下控制結尾的逗號。可用的選項:\n- `none` - 不要結尾逗號\n- `es5` - 只要合乎 ES5 規範就加上結尾逗號(物件、陣列等其他)\n- `all` - 只要可以就加上結尾逗號(函式引數)", | ||
"ext.config.useEditorConfig": "在解析組態時是否要涵蓋 `.editorconfig` 。參閱 [prettier.resolveConfig](https://prettier.io/docs/en/api.html) 文件取得更多細節", | ||
"ext.config.useTabs": "使用 tabs 來縮排", | ||
"ext.config.vueIndentScriptAndStyle": "是否要在 Vue 檔案中對 `<script>` 和 `<style>` 標籤內的程式碼縮排。有些人(譬如 Vue 的作者)為了減少縮排層級而選擇不縮排,但這或許會破壞編輯器的摺疊程式碼。", | ||
"ext.config.embeddedLanguageFormatting": "控制 Prettier 是否要針對遷入在檔案內的引用程式碼進行排版。", | ||
"ext.config.enable": "控制 prettier 啟用與否。", | ||
"ext.config.enableDebugLogs": "啟用偵錯紀錄來協助疑難排解。", | ||
"ext.capabilities.untrustedWorkspaces.description": "在非信任模式中只會用內建的 Prettier 版本。" | ||
} |