Skip to content

Commit cbcc3f2

Browse files
ultimatilekimushun11013w36zj6
authored
/docs/reference/layout/fractionの翻訳 (#185)
Co-authored-by: Shunsuke KIMURA <[email protected]> Co-authored-by: 3w36zj6 <[email protected]>
1 parent 728f242 commit cbcc3f2

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

crates/typst-library/src/layout/fr.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ use typst_utils::{Numeric, Scalar};
88
use crate::foundations::{repr, ty, Repr};
99
use crate::layout::Abs;
1010

11-
/// Defines how the remaining space in a layout is distributed.
11+
/// レイアウトに残されたスペースをどう分配するかを定義。
1212
///
13-
/// Each fractionally sized element gets space based on the ratio of its
14-
/// fraction to the sum of all fractions.
13+
/// 要素の大きさが比率(fraction)で指定された場合、それぞれの要素には、比率の総和に対する自身の比率の割合に応じたスペースが割り当てられます。
1514
///
16-
/// For more details, also see the [h] and [v] functions and the
17-
/// [grid function]($grid).
15+
/// 詳細は[h]関数、[v]関数および[grid関数]($grid)も参照してください。
1816
///
19-
/// # Example
17+
/// #
2018
/// ```example
2119
/// Left #h(1fr) Left-ish #h(2fr) Right
2220
/// ```

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"/docs/reference/layout/colbreak/": "untranslated",
110110
"/docs/reference/layout/columns/": "untranslated",
111111
"/docs/reference/layout/direction/": "translated",
112-
"/docs/reference/layout/fraction/": "untranslated",
112+
"/docs/reference/layout/fraction/": "translated",
113113
"/docs/reference/layout/grid/": "untranslated",
114114
"/docs/reference/layout/hide/": "translated",
115115
"/docs/reference/layout/layout/": "untranslated",

0 commit comments

Comments
 (0)