CARVIEW |
Select Language
HTTP/2 200
date: Sun, 20 Jul 2025 05:06:07 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"490f7bb3768ea045ec3cd0b00063f2e6"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=a9stJSGd9U9x1UvRPjAIRsXJCsN1diL%2Fi2gBPSyhjgJtf76a9ufAJ28HDgllOklS8%2Fg2CIfnRujPqzzoAKjeshKVxwc%2Btpz%2F4rX3b1c%2BQR2xpXE3y7NcmkczemQ1OkbLMv%2FSAl5F4VWK3SVp1NWvoe4kWff9kD737PQpESoKz6er8ieQIUijc064UJf0v1Cab0Bp20%2F5uXsCNN4vI2iJdFaMnA2trT8iHQRvrQtkIsBxPluhuLps3tlunijvaoQ6kvfIFUnxxuRn3PbXgDTN8A%3D%3D--9bVx8YGwmU1P3fEB--lRwZSJTpalNRfKFYOY10gg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1520033391.1752987967; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 05:06:07 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 20 Jul 2026 05:06:07 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 98DA:10A6BA:A62C62:D88B8B:687C793F
Home · vuejs/v2.cn.vuejs.org Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Home
Jinjiang edited this page May 26, 2020
·
21 revisions
英文 | 建议翻译 |
---|---|
property | 不翻译 |
attribute | 不翻译 |
getter | 不翻译 |
setter | 不翻译 |
prop | 不翻译 |
ref | 不翻译 |
feature/functionality | 功能 |
directive | 指令 |
mixin | 混入 |
listen/listener | 监听/监听器 |
observe/observer | 侦听/侦听器 |
watch/watcher | 侦听/侦听器 |
normalize (HTML code, ...) | 规范化 |
standardize | 标准化 |
emit/fire/trigger (an event) | 触发 |
emit (a value) | 抛出 |
queue (v.) | 把……加入队列 |
workaround (n.) | 变通办法 |
workaround (v.) | 绕过 |
convention | 约定 |
parse | 解析 |
stringify | 字符串化 |
side effect | 副作用 |
declarative | 声明式 |
imperative | 命令式 |
handler | 处理函数 |
you | 你 (而不用“您”) |
computed | 计算属性 |
computed property | 计算属性 |
guard | 守卫 |
hook | 钩子 |
selector | 选择器 |
truthy, falsy, truthiness | 不翻译,保留精准的英文,但要加 MDN 的解释作为译注 |
mutate/mutation | 变更 |
immutable | 不可变 |
mutable | 可变 |
- truthy: https://developer.mozilla.org/en-US/docs/Glossary/Truthy
- falsy: https://developer.mozilla.org/en-US/docs/Glossary/Falsy
- attribute
- property
- prop
- getter
- setter
- ref
中文翻译中夹带的英文一律以单数形式呈现。如:
- props -> prop
- children -> child
- 在原文需要加译者注的位置添加角标:
... <sup>[[1]](#footnote-1)</sup> ... <sup>[[2]](#footnote-2)</sup> ...
- 在文章最末尾加入译者注的内容,格式如下:
<small>
__译者注__
<a id="footnote-1"></a>[1] ...
<a id="footnote-2"></a>[2] ...
<a id="footnote-3"></a>[3] ...
</small>
- 逗号、句号、分号、冒号、叹号、问号,统一使用全角字符:
,。;:!?
- 破折号使用:
——
- 引号统一使用“”和‘’
- 括号统一使用半角括号
()
- 非注释部分的代码除外,保留英文标点符号。
- 务必用反引号,即英文输入法下按键盘上 Tab 键上方的那个键输出的那个字符,括起来。
- 包括代码注释中出现代码或代码关键字时,也要括起来。
- 英文单词和英文单词之间要有一个空格
- 中文和英文单词之间要有一个空格
- 英文单词和标点符号之间没有空格
- 注意有加粗、斜体、链接等特殊情况时空格的准确运用
遵守 **JavaScript 编码规范**非常重要 遵守 [JavaScript 编码规范](#foo)非常重要 更多信息详见*中文 MDN* 的介绍页面。 更多信息详见[中文 MDN](#bar) 的介绍页面。
根据 GitHub Flavored Markdown Spec,用成对的星号或下划线都可以用来代表加粗或斜体,但是使用下划线的时候存在更多的特殊条件限制,例如:
5*6*78
→<p>5<em>6</em>78</p>
5_6_78
→<p>5_6_78</p>
via: https://github.com/vuejs/cn.vuejs.org/pull/727#issuecomment-385399073
经过讨论,考虑到 GFM 的规范以及中文的特殊情况,决定
- 中文翻译统一使用星号来标注加粗和斜体,而不是使用下划线,同时尊重英文版自身的用法。
- 仍然不能正确渲染的地方,允许适当调整包含或不包含加粗或斜体部分两侧的标点符号。如 https://github.com/vuejs/composition-api-rfc/pull/30/files
- 仍然不能正确渲染的地方,使用
<strong>
或<em>
标记。
You can’t perform that action at this time.