Skip to content

Commit ab6c1d8

Browse files
committed
privacy.md translation
1 parent 8a81fa8 commit ab6c1d8

3 files changed

Lines changed: 26 additions & 27 deletions

File tree

zh/help.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,19 @@ permalink: /zh/help
3030
每个示例都是一个完整的小型LaTeX文档,在页面中显示如下:
3131

3232
```latex
33-
\documentclass{article}
34-
\usepackage[T1]{fontenc}
33+
% !TEX program=xelatex
34+
35+
% 临时patch,否则使用中文标点,TexLive.net会编译错误
36+
\ExplSyntaxOn
37+
\clist_map_inline:nn { fp, int, dim, skip, muskip }
38+
{
39+
\cs_generate_variant:cn { #1_set:Nn } { NV }
40+
\cs_generate_variant:cn { #1_gset:Nn } { NV }
41+
}
42+
\ExplSyntaxOff
43+
44+
\documentclass[UTF8]{ctexart}
45+
\usepackage{xeCJK}
3546
3647
\begin{document}
3748
示例文本。

zh/lesson-07.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ toc-description: "图片的外观和定位。"
120120
\documentclass[UTF8]{ctexart}
121121
\usepackage{xeCJK}
122122
\usepackage{graphicx}
123-
\usepackage{lipsum} % 生成填充文本
123+
\usepackage{zhlipsum} % 生成填充文本
124124
125125
\begin{document}
126-
\lipsum[1-4] % 几个填充段落
126+
\zhlipsum*[1-5] % 几个填充段落
127127
128128
测试浮动位置
129129
\begin{figure}[ht]
@@ -132,7 +132,7 @@ toc-description: "图片的外观和定位。"
132132
\caption{一个示例图片}
133133
\end{figure}
134134
135-
\lipsum[6-10] % 几个填充段落
135+
\zhlipsum*[6-10] % 几个填充段落
136136
\end{document}
137137
```
138138

@@ -155,4 +155,4 @@ toc-description: "图片的外观和定位。"
155155

156156
使用`width`键将一个图片的大小设置为相对于`\textwidth`,另一个图片相对于`\linewidth`。尝试它们在有或没有`twocolumn`选项时的表现。
157157

158-
使用`lipsum`制作一个相当长的演示,然后尝试使用不同的位置说明符来放置浮动体。不同的说明符如何相互作用?
158+
使用`lipsum`制作一个相当长的演示,然后尝试使用不同的位置说明符来放置浮动体。不同的说明符如何相互作用?(本文中的示例代码使用了另一个中文的占位字符生成包`zhlipsum`。)

zh/privacy.md

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,22 @@
11
---
22
layout: "page"
3-
lang: "en"
4-
title: Privacy Policy
5-
permalink: /en/privacy
3+
lang: "zh"
4+
title: 隐私政策
5+
permalink: /zh/privacy
66
---
7-
# Privacy Policy
7+
# 隐私政策
88

9-
## User Data
9+
## 用户数据
1010

11-
LearnLaTeX.org requires no user login and stores no user-specifc data.
12-
As the site is hosted at GitHub Pages, no information at all is available
13-
to the site maintainers on user activity. The site does not use any tracking
14-
service such as Google Analytics.
11+
LearnLaTeX.org 不需要用户登录,也不存储任何用户特定的数据。由于该网站托管在 GitHub Pages 上,网站维护者无法获取任何用户活动的信息。该网站不使用任何跟踪服务,例如 Google Analytics。
1512

1613
## Cookies
1714

18-
By default the site does not use any cookies. As documented on the
19-
[Site Settings](settings) page, users may optionally accept cookies
20-
and store preferences. The cookies storing preferences (such as
21-
default TeX engine) are _not_ generated or transmitted to the
22-
LearnLaTeX.org site but are generated and stored by the JavaScript
23-
running within the user's browser.
15+
默认情况下,该网站不使用任何 cookies。如[网站设置](settings)页面所述,用户可以选择接受 cookies 并存储偏好设置。存储偏好的 cookies(例如默认的 TeX 引擎)_不会_生成或传输到 LearnLaTeX.org 网站,而是由在用户浏览器中运行的 JavaScript 生成和存储。
2416

25-
## External Sites
17+
## 外部网站
2618

27-
If the option to run examples at an online service is used, then the
28-
data in the current editor will be transmitted via an https POST
29-
request to the relevant service and be subject to the privacy policy
30-
of that external service. The following links apply to the services
31-
currently used.
19+
如果使用在线服务运行示例的选项,则当前编辑器中的数据将通过 HTTPS POST 请求传输到相关服务,并受该外部服务的隐私政策的约束。以下链接适用于当前使用的服务。
3220

3321
* [Overleaf](https://www.overleaf.com/legal)
3422
* [TeXLive.net](https://davidcarlisle.github.io/latexcgi/privacy)

0 commit comments

Comments
 (0)