forked from typst/typst
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from chillcicada/main
/docs/i18nc/alculate 和 /docs/i18n/data-loading 部分的翻译
- Loading branch information
Showing
41 changed files
with
2,841 additions
and
2,856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
# General | ||
.vscode | ||
.idea | ||
_things | ||
desktop.ini | ||
.DS_Store | ||
|
||
# Tests and benchmarks | ||
tests/png | ||
tests/pdf | ||
tests/svg | ||
tests/target | ||
tarpaulin-report.html | ||
|
||
# Rust | ||
/target | ||
**/*.rs.bk | ||
|
||
# Node | ||
node_modules | ||
package-lock.json | ||
|
||
# Nix | ||
/result | ||
.direnv/ | ||
|
||
# Documentation | ||
/assets/docs | ||
/assets/docs.json | ||
/dist | ||
# General | ||
.vscode | ||
.idea | ||
_things | ||
desktop.ini | ||
.DS_Store | ||
|
||
# Tests and benchmarks | ||
tests/png | ||
tests/pdf | ||
tests/svg | ||
tests/target | ||
tarpaulin-report.html | ||
|
||
# Rust | ||
/target | ||
**/*.rs.bk | ||
|
||
# Node | ||
node_modules | ||
package-lock.json | ||
|
||
# Nix | ||
/result | ||
.direnv/ | ||
|
||
# Documentation | ||
/assets/docs | ||
/assets/docs.json | ||
/dist | ||
|
||
# local history | ||
.history/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
route: /docs/reference/calculate/abs/ | ||
title: Absolute | ||
description: Documentation for the `abs` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- abs | ||
display: Absolute | ||
keywords: null | ||
oneliner: Calculates the absolute value of a numeric value. | ||
element: false | ||
details: |- | ||
<p>Calculates the absolute value of a numeric value.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-op">-</span><span class="typ-num">5</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">5pt</span> <span class="typ-op">-</span> <span class="typ-num">2cm</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">2fr</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/e510ee8d00f4e2c888a53ba546c26c14.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The value whose absolute value to calculate.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
- length | ||
- angle | ||
- ratio | ||
- fraction | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- any | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/abs/ | ||
title: Abs | ||
description: '绝对值 `abs` 的文档。' | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- abs | ||
display: Absolute | ||
keywords: null | ||
oneliner: Calculates the absolute value of a numeric value. | ||
element: false | ||
details: |- | ||
<p>计算一个数字的绝对值。</p> | ||
<h2 id="example">举例</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-op">-</span><span class="typ-num">5</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">5pt</span> <span class="typ-op">-</span> <span class="typ-num">2cm</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">abs</span><span class="typ-punct">(</span><span class="typ-num">2fr</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/e510ee8d00f4e2c888a53ba546c26c14.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>用于计算绝对值的数。</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
- length | ||
- angle | ||
- ratio | ||
- fraction | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- any | ||
methods: [] | ||
scope: [] | ||
children: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
route: /docs/reference/calculate/acos/ | ||
title: Arccosine | ||
description: Documentation for the `acos` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- acos | ||
display: Arccosine | ||
keywords: null | ||
oneliner: Calculates the arccosine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arccosine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/0423e3e221058490a01d9be936113706.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/acos/ | ||
title: Acos | ||
description: '反余弦函数 `acos` 的文档。' | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- acos | ||
display: Arccosine | ||
keywords: null | ||
oneliner: Calculates the arccosine of a number. | ||
element: false | ||
details: |- | ||
<p>计算一个数的反余弦值。</p> | ||
<h2 id="example">举例</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">acos</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/0423e3e221058490a01d9be936113706.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>用于计算反余弦的数,应在 -1 到 1 之间。</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
route: /docs/reference/calculate/asin/ | ||
title: Arcsine | ||
description: Documentation for the `asin` function. | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- asin | ||
display: Arcsine | ||
keywords: null | ||
oneliner: Calculates the arcsine of a number. | ||
element: false | ||
details: |- | ||
<p>Calculates the arcsine of a number.</p> | ||
<h2 id="example">Example</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/4e3534f3677072cae71d2151b1ea3cca.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>The number whose arcsine to calculate. Must be between -1 and 1.</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] | ||
route: /docs/reference/calculate/asin/ | ||
title: Asin | ||
description: '反正弦函数 `asin` 的文档。' | ||
part: null | ||
outline: | ||
- id: summary | ||
name: Summary | ||
children: [] | ||
- id: example | ||
name: Example | ||
children: [] | ||
- id: parameters | ||
name: Parameters | ||
children: | ||
- id: parameters-value | ||
name: value | ||
children: [] | ||
body: | ||
kind: func | ||
content: | ||
path: | ||
- calc | ||
- asin | ||
display: Arcsine | ||
keywords: null | ||
oneliner: Calculates the arcsine of a number. | ||
element: false | ||
details: |- | ||
<p>计算一个数字的反正弦值。<p> | ||
<h2 id="example">举例</h2> | ||
<div class="previewed-code"><pre><code><span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">0</span><span class="typ-punct">)</span> <span class="typ-escape">\</span> | ||
<span class="typ-pol">#</span><span class="typ-pol">calc</span><span class="typ-punct">.</span><span class="typ-func">asin</span><span class="typ-punct">(</span><span class="typ-num">1</span><span class="typ-punct">)</span> | ||
</code></pre><div class="preview"><img src="/assets/docs/4e3534f3677072cae71d2151b1ea3cca.png" alt="Preview" width="480" height="190"/></div></div> | ||
params: | ||
- name: value | ||
details: <p>用于计算反正弦的数,应在 -1 到 1 之间。</p> | ||
example: null | ||
types: | ||
- integer | ||
- float | ||
strings: [] | ||
default: null | ||
positional: true | ||
named: false | ||
required: true | ||
variadic: false | ||
settable: false | ||
returns: | ||
- angle | ||
methods: [] | ||
scope: [] | ||
children: [] |
Oops, something went wrong.