Skip to content

Commit 5c6edfe

Browse files
ultimatilegomazarashi3w36zj6kimushun1101
authored
/docs/reference/text/loremの翻訳 (#259)
Co-authored-by: gomazarashi <[email protected]> Co-authored-by: 3w36zj6 <[email protected]> Co-authored-by: Shunsuke Kimura <[email protected]>
1 parent c3fb744 commit 5c6edfe

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

crates/typst-library/src/text/lorem.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
use crate::foundations::{func, Str};
22

3-
/// Creates blind text.
3+
/// ダミーテキストの作成。
44
///
5-
/// This function yields a Latin-like _Lorem Ipsum_ blind text with the given
6-
/// number of words. The sequence of words generated by the function is always
7-
/// the same but randomly chosen. As usual for blind texts, it does not make any
8-
/// sense. Use it as a placeholder to try layouts.
5+
/// この関数は与えられた単語数だけラテン語風のダミーテキストである _Lorem Ipsum_ を生成します。
6+
/// この関数で生成される単語の並びはランダムに選ばれますが、生成のたびに同じものになります。
7+
/// 通常のダミーテキストと同様に、意味のないテキストです。
8+
/// レイアウトを試すプレースホルダーとして使用してください。
99
///
10-
/// # Example
10+
/// #
1111
/// ```example
1212
/// = Blind Text
1313
/// #lorem(30)
@@ -17,7 +17,7 @@ use crate::foundations::{func, Str};
1717
/// ```
1818
#[func(keywords = ["Blind Text"])]
1919
pub fn lorem(
20-
/// The length of the blind text in words.
20+
/// ダミーテキストの単語数。
2121
words: usize,
2222
) -> Str {
2323
lipsum::lipsum(words).replace("--", "–").into()

website/translation-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"/docs/reference/text/": "untranslated",
6666
"/docs/reference/text/highlight/": "translated",
6767
"/docs/reference/text/linebreak/": "translated",
68-
"/docs/reference/text/lorem/": "untranslated",
68+
"/docs/reference/text/lorem/": "translated",
6969
"/docs/reference/text/lower/": "untranslated",
7070
"/docs/reference/text/overline/": "translated",
7171
"/docs/reference/text/raw/": "untranslated",

0 commit comments

Comments
 (0)