github-i18n-plugin-locales-zh-TW

github-i18n-plugin zh-TW locales

此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.gf.qytechs.cn/scripts/524265/1523474/github-i18n-plugin-locales-zh-TW.js

  1. const locales = {
  2. // Configuration for CSS selectors and translations
  3. css: [
  4. {
  5. key: "!html", // Determines how the replacement is applied
  6. selector: "a[aria-label='Pull requests you created']", // Targeted CSS selector
  7. replacement: "請求拉取", // Replacement string in Traditional Chinese
  8. },
  9. ],
  10.  
  11. // Dictionary of translations for various UI elements
  12. dict: {
  13. // Month translations
  14. "jan": "1月", "january": "1月",
  15. "feb": "2月", "february": "2月",
  16. "mar": "3月", "march": "3月",
  17. "apr": "4月", "april": "4月",
  18. "may": "5月",
  19. "jun": "6月", "june": "6月",
  20. "jul": "7月", "july": "7月",
  21. "aug": "8月", "august": "8月",
  22. "sep": "9月", "september": "9月",
  23. "oct": "10月", "october": "10月",
  24. "nov": "11月", "november": "11月",
  25. "dec": "12月", "december": "12月",
  26.  
  27. // Homepage translations
  28. "sign in": "登入",
  29. "sign up": "註冊",
  30. "team": "團隊",
  31. "enterprise": "企業",
  32. "pricing": "價格",
  33. "search github": "搜尋GitHub",
  34. "why github?": "為何選擇GitHub",
  35. "built for developers": "專為開發者打造",
  36. "refresh": "重新整理",
  37. "developers": "開發者",
  38. "spoken language:": "自然語言",
  39. "any": "所有",
  40. "date range:": "時間範圍",
  41. "today": "今天",
  42. "this week": "本週",
  43. "this month": "本月",
  44.  
  45. // Explore page translations
  46. "collections": "集合",
  47. "trending": "趨勢",
  48. "events": "事件",
  49. "github sponsors": "GitHub贊助",
  50.  
  51. // Footer translations
  52. "terms": "服務條款",
  53. "contact github": "聯絡 GitHub",
  54. "privacy": "隱私",
  55. "blog": "部落格",
  56. "help": "幫助",
  57. "shop": "商店",
  58. "status": "狀態",
  59. "training": "培訓",
  60.  
  61. // Authentication-related translations
  62. "username": "使用者名稱",
  63. "email": "電子郵件",
  64. "password": "密碼",
  65. "sign up for github": "註冊 GitHub",
  66. "sign in to gitHub": "登入 GitHub",
  67. "username or email address": "使用者名稱或電子郵件地址",
  68. "forgot password?": "忘記密碼?",
  69. "new to github?": "初次接觸 GitHub?",
  70. "create an account": "建立帳號",
  71. "make sure it's ": "確保",
  72. "at least 15 characters": "至少15個字元",
  73. "or": " 或者 ",
  74. "at least 8 characters": "至少8個字元",
  75. "including a number": "包括數字",
  76. "and a lowercase letter": "和小寫字母",
  77. "learn more": "了解更多",
  78. "confirm password to continue": "確認密碼以繼續",
  79. "confirm password": "確認密碼",
  80. "tip:": "提示:",
  81.  
  82. // User home page translations
  83. "pull requests": "拉取請求",
  84. "marketplace": "應用商店",
  85. "explore": "探索",
  86. "issues": "問題",
  87. "overview": "概況",
  88. "repositories": "儲存庫",
  89. "projects": "專案",
  90. "recent activity": "最近動態",
  91. "all activity": "所有動態",
  92. "loading activity...": "載入動態中...",
  93. "more": "更多",
  94. "create an organization": "建立一個組織",
  95. "explore more →": "探索更多",
  96. "show more": "顯示更多",
  97. "working with a team?": "與團隊合作?",
  98. "github is built for collaboration. set up an organization to improve the way your team works together, and get access to more features.": "GitHub是為協作而設計的。 建立組織以改善團隊合作的方式,並獲得更多功能。",
  99.  
  100. // Search translations
  101. "language:": " 程式語言:",
  102. "type:": "類型:",
  103. "all": "所有",
  104. "select type": "選擇類型",
  105. "select language": "選擇語言",
  106. "find a repository…": "搜尋儲存庫…",
  107. "search or jump to…": "搜尋或跳轉到…",
  108.  
  109. // User and organization translations
  110. "pinned": "置頂",
  111. "followers": "追蹤者",
  112. "following": "正在追蹤",
  113. "edit profile": "編輯個人檔案",
  114. "follow": "追蹤",
  115. "unfollow": "取消追蹤",
  116. "highlights": "精選時刻",
  117. "popular repositories": "熱門儲存庫",
  118. "contribution activity": "貢獻動態",
  119. "show more activity": "載入更多動態",
  120. "people": "成員",
  121. "members": "成員",
  122. "top languages": "主要程式語言",
  123. "most used topics": "最常用的主題",
  124. "verified": "已驗證",
  125. "report abuse": "檢舉濫用",
  126. "organizations": "組織",
  127.  
  128. // Repository translations
  129. "new": "新增",
  130. "languages": "語言",
  131. "about": "關於",
  132. "code": "程式碼",
  133. "explore repositories": "探索儲存庫",
  134. "create a new repository": "新增儲存庫",
  135. "owner": "擁有者",
  136. "repository name": "儲存庫名稱",
  137. "description": "描述",
  138. "(optional)": "(可選)",
  139. "public": "公開",
  140. "private": "私密",
  141. "packages": "套件",
  142. "secrets": "密鑰",
  143. "security": "安全",
  144. "notifications": "通知",
  145. "discussions": "討論",
  146. "sponsor": "贊助",
  147. "sponsor this project": "贊助此專案",
  148. "learn more about": "了解更多關於",
  149. "insights": "統計",
  150. "actions": "操作",
  151. "releases": "版本",
  152. "add file": "新增檔案",
  153. "readme": "自述文件",
  154. "commits": "次提交",
  155. "merge pull request": "合併拉取請求",
  156. "switch branches/tags": "切換分支/標籤",
  157. "default": "預設",
  158. "go to file": "檔案查找",
  159. "used by": "使用者",
  160. "contributors": "貢獻者",
  161. "view license": "檢視License",
  162. "no releases published": "無版本發佈",
  163. },
  164. };

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址