wiki Chinese translation

This commit is contained in:
ACnoway 2022-08-02 19:13:50 +08:00
parent c9d4324d90
commit 4926aeac29
2 changed files with 81 additions and 0 deletions

25
wiki_CN/Home_CN.md Normal file
View File

@ -0,0 +1,25 @@
### 安装字体
- [操作系统安装指南](https://github.com/tonsky/FiraCode/wiki/Installing)
### 启用连字功能
在以下编辑器中,您需要手动开启连字功能:
- [Atom](https://github.com/tonsky/FiraCode/wiki/Atom-instructions)
- [BBEdit](https://github.com/tonsky/FiraCode/wiki/BBEdit-instructions)
- [Brackets](https://github.com/tonsky/FiraCode/wiki/Brackets-Instructions/)
- [ChromeOS终端](https://github.com/tonsky/FiraCode/wiki/ChromeOS-Terminal)
- [Cloud9](https://github.com/tonsky/FiraCode/wiki/cloud9-instructions)
- [Emacs](https://github.com/tonsky/FiraCode/wiki/Emacs-instructions)
- [JetBrains系列产品](https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions) (IntelliJ等)
- [LaTeX](https://github.com/tonsky/FiraCode/wiki/LaTeX-instructions)
- [LightTable](https://github.com/tonsky/FiraCode/wiki/LightTable-instructions)
- [MacVim](https://github.com/tonsky/FiraCode/wiki/MacVim-instructions)
- [MATLAB安装指南](https://github.com/tonsky/FiraCode/wiki/MATLAB-for-Windows-Instructions)
- [Notepad++](https://github.com/tonsky/FiraCode/wiki/Notepad-Plus-Plus-instructions)
- [Sublime Text](https://github.com/tonsky/FiraCode/wiki/Sublime-Text-Instructions)
- [VS Code](https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions)
- [Windows Terminal & Windows Terminal Preview](https://github.com/tonsky/FiraCode/wiki/Windows-Terminal-&-Windows-Terminal-Preview)
对于其他的编辑器选择Fira Code作为您的字体应该就足够了。[所有兼容的编辑器列表](https://github.com/tonsky/FiraCode#editor-compatibility-list)

56
wiki_CN/Installing_CN.md Normal file
View File

@ -0,0 +1,56 @@
## macOS
在已经[下载好的 TTF 文件夹](https://github.com/tonsky/FiraCode/releases)内:
1. 选中所有字体文件
1. 右键点击并选择`打开`(也可以选择`用字体簿打开`
1. 选择“安装字体”
*或者*
- 使用[brew](http://brew.sh)和[cask](https://caskroom.github.io)
*未得到官方支持,有可能安装到已过时的版本*
```bash
brew tap homebrew/cask-fonts
brew install --cask font-fira-code
```
## Linux
- 根据[操作指南](https://github.com/tonsky/FiraCode/wiki/Linux-instructions#installing-with-a-package-manager)安装一个符合您的系统版本的软件包
*或者*
- 在ttf文件夹内双击每个字体文件并点击“安装字体”如果双击没有用的话请查看[“手动安装”](https://github.com/tonsky/FiraCode/wiki/Linux-instructions#manual-installation)部分
## FreeBSD
- 使用pkg(8)`pkg install firacode`
*或者*
- 使用ports`cd /usr/ports/x11-fonts/firacode && make install clean`
## Windows
- 下载最新的字体压缩包[Fira_Code_v6.2.zip](https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip)
- 在ttf文件夹内双击每个字体文件点击“安装”或“安装字体”想要一次性全部安装的话选中所有字体文件右键点击然后选择“安装”
- 在某些系统中尤其是Windows 10您可能需要在安装之前“解除锁定”每个字体文件。要这么做的话右键点击每个字体文件点击属性然后在常规标签中的下方安全那一栏的右边位置选中“解除锁定“。点击确定然后安装。_注意跳过这一步有可能会使Fira Code系列字体间歇性的在VS Code中停止工作虽然这个字体依然会在其他应用中显示。_
*或者*
在Windows 10中打开设置找到字体设置并将ttf文件夹内的字体文件拖到上方的“拖放以安装”区域中。
*或者*
- 使用[chocolatey](https://chocolatey.org)`choco install firacode`
- 使用[scoop](https://github.com/lukesampson/scoop)
*以管理员身份运行*
```
scoop bucket add nerd-fonts
scoop install firacode
```