Skip to content

Commit 2ed24dc

Browse files
committed
/docs/reference/layout/gridの翻訳を追加
1 parent c8ba304 commit 2ed24dc

File tree

2 files changed

+12
-18
lines changed

2 files changed

+12
-18
lines changed

crates/typst-library/src/layout/grid/mod.rs

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,21 @@ use crate::layout::{
1919
use crate::model::{TableCell, TableFooter, TableHLine, TableHeader, TableVLine};
2020
use crate::visualize::{Paint, Stroke};
2121

22-
/// Arranges content in a grid.
22+
/// グリッド状にコンテンツを配置。
2323
///
24-
/// The grid element allows you to arrange content in a grid. You can define the
25-
/// number of rows and columns, as well as the size of the gutters between them.
26-
/// There are multiple sizing modes for columns and rows that can be used to
27-
/// create complex layouts.
24+
/// グリッド要素を用いるとコンテンツをグリッド状に配置することができます。
25+
/// 行と列の数に加えて、それらの間隔を定義することができます。
26+
/// 複雑なレイアウトが作成できるような、列と行の大きさに関するモードが複数あります。
2827
///
29-
/// While the grid and table elements work very similarly, they are intended for
30-
/// different use cases and carry different semantics. The grid element is
31-
/// intended for presentational and layout purposes, while the
32-
/// [`{table}`]($table) element is intended for, in broad terms, presenting
33-
/// multiple related data points. In the future, Typst will annotate its output
34-
/// such that screenreaders will announce content in `table` as tabular while a
35-
/// grid's content will be announced no different than multiple content blocks
36-
/// in the document flow. Set and show rules on one of these elements do not
37-
/// affect the other.
28+
/// グリッド要素とテーブル要素はとてもよく似た挙動をする一方で、これらは異なるユースケースが想定されており、異なる意味論が提供されています。
29+
/// The grid element is intended for presentational and layout purposes, while the [`{table}`]($table) element is intended for, in broad terms, presenting multiple related data points.
30+
/// In the future, Typst will annotate its output such that screenreaders will announce content in `table` as tabular while a grid's content will be announced no different than multiple content blocks in the document flow.
31+
/// Set and show rules on one of these elements do not affect the other.
3832
///
3933
/// A grid's sizing is determined by the track sizes specified in the arguments.
40-
/// Because each of the sizing parameters accepts the same values, we will
41-
/// explain them just once, here. Each sizing argument accepts an array of
42-
/// individual track sizes. A track size is either:
34+
/// Because each of the sizing parameters accepts the same values, we will explain them just once, here.
35+
/// Each sizing argument accepts an array of individual track sizes.
36+
/// A track size is either:
4337
///
4438
/// - `{auto}`: The track will be sized to fit its contents. It will be at most
4539
/// as large as the remaining space. If there is more than one `{auto}` track

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"/docs/reference/layout/columns/": "untranslated",
111111
"/docs/reference/layout/direction/": "translated",
112112
"/docs/reference/layout/fraction/": "translated",
113-
"/docs/reference/layout/grid/": "untranslated",
113+
"/docs/reference/layout/grid/": "translated",
114114
"/docs/reference/layout/hide/": "translated",
115115
"/docs/reference/layout/layout/": "translated",
116116
"/docs/reference/layout/length/": "translated",

0 commit comments

Comments
 (0)