Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions crates/typst-library/src/layout/fr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ use typst_utils::{Numeric, Scalar};
use crate::foundations::{repr, ty, Repr};
use crate::layout::Abs;

/// Defines how the remaining space in a layout is distributed.
/// レイアウトに残されたスペースをどう分配するかを定義。
///
/// Each fractionally sized element gets space based on the ratio of its
/// fraction to the sum of all fractions.
/// 要素の大きさが比率(fraction)で指定された場合、それぞれの要素には、比率の総和に対する自身の比率の割合に応じたスペースが割り当てられます。
///
/// For more details, also see the [h] and [v] functions and the
/// [grid function]($grid).
/// 詳細は[h]関数、[v]関数および[grid関数]($grid)も参照してください。
///
/// # Example
/// #
/// ```example
/// Left #h(1fr) Left-ish #h(2fr) Right
/// ```
Expand Down
2 changes: 1 addition & 1 deletion website/translation-status.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"/docs/reference/layout/colbreak/": "untranslated",
"/docs/reference/layout/columns/": "untranslated",
"/docs/reference/layout/direction/": "untranslated",
"/docs/reference/layout/fraction/": "untranslated",
"/docs/reference/layout/fraction/": "translated",
"/docs/reference/layout/grid/": "untranslated",
"/docs/reference/layout/hide/": "untranslated",
"/docs/reference/layout/layout/": "untranslated",
Expand Down