Skip to content

Commit 1994b3f

Browse files
committed
Revert "foundations/autoの翻訳"
This reverts commit 6f52f6d.
1 parent c4aa95f commit 1994b3f

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

crates/typst-library/src/foundations/auto.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ use crate::foundations::{
88
Value,
99
};
1010

11-
/// スマートなデフォルト値であることを示す値です。
11+
/// A value that indicates a smart default.
1212
///
13-
/// `auto`型には`{auto}`という値が1つだけしかありません。
13+
/// The auto type has exactly one value: `{auto}`.
1414
///
15-
/// `{auto}`という値をサポートするパラメータは、何らかのスマートなデフォルト値や文脈に
16-
/// 応じた動作を持ちます。その良い例は`[文章方向]($text.dir)`のパラメータです。
17-
/// これを`{auto}`に設定すると、Typstは[文書の言語]($text.lang)から自動的に
18-
/// 向きを判断します。
15+
/// Parameters that support the `{auto}` value have some smart default or
16+
/// contextual behaviour. A good example is the [text direction]($text.dir)
17+
/// parameter. Setting it to `{auto}` lets Typst automatically determine the
18+
/// direction from the [text language]($text.lang).
1919
#[ty(cast, name = "auto")]
2020
#[derive(Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
2121
pub struct AutoValue;
@@ -61,7 +61,7 @@ impl Repr for AutoValue {
6161
}
6262
}
6363

64-
/// 自動的に判断される値。
64+
/// A value that can be automatically determined.
6565
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
6666
pub enum Smart<T> {
6767
/// The value should be determined smartly based on the circumstances.

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"/docs/reference/foundations/arguments/": "translated",
1616
"/docs/reference/foundations/array/": "translated",
1717
"/docs/reference/foundations/assert/": "untranslated",
18-
"/docs/reference/foundations/auto/": "translated",
18+
"/docs/reference/foundations/auto/": "untranslated",
1919
"/docs/reference/foundations/bool/": "untranslated",
2020
"/docs/reference/foundations/bytes/": "untranslated",
2121
"/docs/reference/foundations/calc/": "untranslated",

0 commit comments

Comments
 (0)