开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
master
分支 (1)
标签 (5202)
master
v8.0.0106
v8.0.0105
v8.0.0104
v8.0.0103
v8.0.0102
v8.0.0101
v8.0.0100
v8.0.0099
v8.0.0098
v8.0.0097
v8.0.0096
v8.0.0095
v8.0.0094
v8.0.0093
v8.0.0092
v8.0.0091
v8.0.0090
v8.0.0089
v8.0.0088
v8.0.0087
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
项目仓库所选许可证以仓库主分支所使用许可证为准
master
分支 (1)
标签 (5202)
master
v8.0.0106
v8.0.0105
v8.0.0104
v8.0.0103
v8.0.0102
v8.0.0101
v8.0.0100
v8.0.0099
v8.0.0098
v8.0.0097
v8.0.0096
v8.0.0095
v8.0.0094
v8.0.0093
v8.0.0092
v8.0.0091
v8.0.0090
v8.0.0089
v8.0.0088
v8.0.0087
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (1)
标签 (5202)
master
v8.0.0106
v8.0.0105
v8.0.0104
v8.0.0103
v8.0.0102
v8.0.0101
v8.0.0100
v8.0.0099
v8.0.0098
v8.0.0097
v8.0.0096
v8.0.0095
v8.0.0094
v8.0.0093
v8.0.0092
v8.0.0091
v8.0.0090
v8.0.0089
v8.0.0088
v8.0.0087
贡献代码
同步代码
对比差异 通过 Pull Request 同步
同步更新到分支
通过 Pull Request 同步
将会在向当前分支创建一个 Pull
Request,合入后将完成同步
File empty ...
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
TRANSLATING VIM MESSAGES
In this directory you will find xx.po files, where "xx" is a language code.
Each file contains the translation of English Vim messages for one language.
The files are in "po" format, used by the gettext package. Please refer to
the gettext documentation for more information.
The GNU gettext library, starting with version 0.10.37, supports converting
messages from one encoding to another. This requires that it was compiled
with HAVE_ICONV. The result is that the messages may be in any encoding
supported by iconv and will be automatically converted to the currently used
encoding.
The GNU gettext library, starting with version 0.10.36, uses a new format for
some encodings. This follows the C99 standard for strings. It means that
when a multi-byte character includes the 0x5c byte, this is not recognized as
a backslash. Since this format is incompatible with Solaris, Vim uses the old
format. This is done by setting the OLD_PO_FILE_OUTPUT and OLD_PO_FILE_INPUT
environment variables. When you use the Makefile in this directory that will
be done for you. This does NOT work with gettext 0.10.36. Don't use it, get
0.10.37.
ON MS-WINDOWS
The distributed files are generated on Unix, but this should also be possible
on MS-Windows. Download the gettext packages, for example from:
	http://sourceforge.net/projects/gettext
You might have to do the commands manually. Example:
 cd c:\vim\vim71
 mkdir runtime\lang\ja\LC_MESSAGES
 msgfmt -o runtime\lang\ja\LC_MESSAGES\vim.mo src\po\ja.po
WHEN THERE IS A MISTAKE
If you find there is a mistake in one of the translations, please report this
to the maintainer of the translation. His/her E-mail address is in the
comments at the start of the file. You can also see this with the ":messages"
command in Vim when the translation is being used.
CREATING A NEW PO FILE
We will use "xx.po" as an example here, replace "xx" with the name of your
language.
- Edit Makefile to add xx to LANGUAGES and xx.mo to MOFILES.
- Copy the header of an existing file, e.g., de.po, to xx.po. Do not copy any
 of the translated messages, delete everything after the "msgstr".
- The remaining work is like updating, see the next section.
UPDATING A PO FILE
If you are the maintainer of a .po file, this is how you update the file. We
will use "xx.po" as an example here, replace "xx" with the name of your
language.
(1) Add new and changed messages from the Vim sources:
	make xx
 This will extract all the strings from Vim and merge them in with the
 existing translations. Requires the GNU gettext utilities.
 Your original xx.po file will be copied to xx.po.orig
 -- After you do this, you MUST do the next three steps! --
(2) Translate
 See the gettext documentation on how to do this. You can also find
 examples in the other po files.
 Search the po file for items that require translation:
	/fuzzy\|^msgstr ""\(\n"\)\@!
 Remove the "#, fuzzy" line after adding the translation.
 There is one special message:
	msgid "Messages maintainer: Bram Moolenaar <Bram@vim.org>"
 You should include your name and E-mail address instead, for example:
	msgstr "Berichten übersetzt bei: John Doe <john@doe.org>"
(3) Clean up
 This is very important to make sure the translation works on all systems.
 Comment-out all non-translated strings. There are two types:
 - items marked with "#, fuzzy"
 - items with an empty msgstr
 You can do this with the cleanup.vim script:
	:source cleanup.vim
 Background: on Solaris an empty msgstr results in an empty message; GNU
 gettext ignores empty strings and items marked with "#, fuzzy".
 This also removes the line numbers from the file, so that patches are not
 messed up by changes in line numbers and show the actual changes in the
 text.
(4) Check:
	vim -S check.vim xx.po
	make xx.mo
 Look out for syntax errors and fix them.
USING GETTEXT WITHOUT ICONV
When using gettext which doesn't support iconv, the encoding of the .mo file
must match your active encoding. For that you must convert and change
encoding of *.po file in advance of generating the *.mo file. For example, to
convert ja.po to EUC-JP (supposed as your system encoding):
(1) Convert the file encoding:
	mv ja.po ja.po.orig
	iconv -f utf-8 -t euc-jp ja.po.orig > ja.po
(2) Rewrite charset declaration in the file:
 Open ja.po find this line:
	"Content-Type: text/plain; charset=utf-8\n"
 You should change "charset" like this:
	"Content-Type: text/plain; charset=euc-jp\n"
There are examples in the Makefile for the conversions already supported.
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bearxup/vim-src-code.git
git@gitee.com:bearxup/vim-src-code.git
bearxup
vim-src-code
vim src code
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /