All Projects → pjchender → Cn2tw4programmer

pjchender / Cn2tw4programmer

將簡體中文中常用的 Computer Science 詞彙轉換成繁體中文的詞彙

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cn2tw4programmer

Tabsorter2
Google Chrome Tab Management Extension - Merge, Sort, split and more :)
Stars: ✭ 44 (-57.69%)
Mutual labels:  chrome-extension, google-chrome
Chromium Vim
Vim bindings for Google Chrome.
Stars: ✭ 2,150 (+1967.31%)
Mutual labels:  chrome-extension, google-chrome
Booklight
Your Chrome Alfred - An Extension to provide spotlight-like interface for your bookmarks
Stars: ✭ 98 (-5.77%)
Mutual labels:  chrome-extension, google-chrome
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (+390.38%)
Mutual labels:  chrome-extension, google-chrome
Tabfern
Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
Stars: ✭ 102 (-1.92%)
Mutual labels:  chrome-extension, google-chrome
Chrome Extensions
WebRTC chrome extensions for screen sharing, screen recording, file sharing, youtube+audio sharing, etc.
Stars: ✭ 799 (+668.27%)
Mutual labels:  chrome-extension, google-chrome
1click Webpage Screenshot
Entire page Screenshot extension for Google Chrome. I'm developing open source extension for Google Chrome. All extension are free for use. Let's make Chrome great again!
Stars: ✭ 406 (+290.38%)
Mutual labels:  chrome-extension, google-chrome
Crx Jtrans
jTransliter - the roman to unicode transliter as Google chrome extension
Stars: ✭ 13 (-87.5%)
Mutual labels:  chrome-extension, google-chrome
Fauxbar
An alternative to Chrome's Omnibox.
Stars: ✭ 69 (-33.65%)
Mutual labels:  chrome-extension, google-chrome
Yi Note
YiNote browser extension - online video note taking tool
Stars: ✭ 96 (-7.69%)
Mutual labels:  chrome-extension
Tight
A browser extension that simplifies the Slack interface, making it easier to focus.
Stars: ✭ 101 (-2.88%)
Mutual labels:  chrome-extension
Chrome
Docker Automated Build Repository for siomiz/chrome -- Google Chrome via VNC (or via Chrome Remote Desktop)
Stars: ✭ 97 (-6.73%)
Mutual labels:  google-chrome
Save In
WebExtension for saving media, links, or selections into user-defined directories
Stars: ✭ 99 (-4.81%)
Mutual labels:  chrome-extension
Funds
自选基金助手是一款Chrome扩展,用来快速获取关注基金的实时数据,查看自选基金的实时估值情况
Stars: ✭ 1,367 (+1214.42%)
Mutual labels:  chrome-extension
Customrightclickmenu
A browser extension to add links and run scripts/stylesheets all from your right-click menu
Stars: ✭ 102 (-1.92%)
Mutual labels:  chrome-extension
Refined Wikipedia
Enforces the mobile web version of Wikipedia and improves its interface
Stars: ✭ 98 (-5.77%)
Mutual labels:  chrome-extension
Carbonalyser
The add-on "Carbonalyser" allows to visualize the electricity consumption and greenhouse gases (GHG) emissions that your Internet browsing leads to.
Stars: ✭ 98 (-5.77%)
Mutual labels:  chrome-extension
Cromos
Cromos is a tool for downloading legitimate extensions of the Chrome Web Store and inject codes in the background of the application.
Stars: ✭ 103 (-0.96%)
Mutual labels:  chrome-extension
Elixir Tab
Little bit of Elixir in every new tab
Stars: ✭ 102 (-1.92%)
Mutual labels:  chrome-extension
Library
Collection of papers in the field of distributed systems, game theory, cryptography, cryptoeconomics, zero knowledge
Stars: ✭ 100 (-3.85%)
Mutual labels:  computer-science

cn2tw4programmer

Build status Coverage Status All Contributors

這個 Google Chrome 擴充套件並不是一個將簡體中文轉換成繁體中文的套件,而是將簡體中文內常用的 Computer Science 詞彙轉換成繁體中文的詞彙,你一定經常看簡體中文的「數組」卻不知道那就是繁體中文「陣列」,看到「對象」卻不知道是指「物件」,而這個套件就是幫你處理這樣的問題。

被轉換過的文字下方將會出現底線,且滑鼠停滯在該文字上方時會出現英文原文,目前字典中已收錄下列單字與詞彙

cn2tw4programmer @ Google Chrome Extension Store

使用

由於這個套件主要是將簡體中文的詞彙轉換成繁體中文的用法,並不是將簡體中文轉成繁體中文,因此在使用前請先透過 新同文堂 或瀏覽器內建的 Google 翻譯,將文章內容轉換成繁體中文:

alt

使用新同文堂

若原本就有在使用新同文堂的使用者,可以不用額外下載此套件,直接將位於 ./src/terms/_newTongWenTang.json 目錄下的 JSON 檔於新同文堂中的「簡轉繁對照表」匯入即可使用。

或者可以下載此專案後,執行:

$ npm run build:newTongWenTang

即可在 ./src/terms/ 目錄下找到 _newTongWenTang.json 的檔案。

貢獻或勘誤 Contribution

若有建議新增或修改的詞彙,歡迎提交 Pull Request。

字典檔存在 ./src/terms/ 中,只需修改該資料夾中的 zh_CN.jsonzh_TW.json 檔即可,不需要修改 _newTongWenTang.json

舉例來說,想要新增「陣列」與「數組」的關係,則需要 zh_TW.json 中新增:

// zh_TW.json
{
  "words": {
    "array": "陣列"
  }
}

zh_CN.json 中新增對應的:

// zh_CN.json
{
  "words": {
    "array": "數組"
  }
}

其中,該物件的屬性名稱 array 是用來對應繁體和簡體中文用的 key,不可重複。

若你想添加的是詞彙(phrases)而非單字(words),例如 "assembly language",則需要放在 phrases 屬性內。

測試 Test

$ npm test

Known Issues

  • 字符(character)和字符串(string)沒有辦法同時被取代的問題:程式在判斷時會認為已經被修正過,因此不會在對該字詞做進一步的替換

Contributors


Cliff Su

💻

林汶樺|Askie Lin

💻

PJCHENder

💻 🚧

Su,Yen-Yun

💻

Ann

💻

Eason Lin

💻

Leanne Chen

💻

ShawnL

💻

其他參考資料來源

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].