File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
crates/typst-library/src/text Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11use 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" ] ) ]
1919pub fn lorem (
20- /// The length of the blind text in words.
20+ /// ダミーテキストの単語数。
2121 words : usize ,
2222) -> Str {
2323 lipsum:: lipsum ( words) . replace ( "--" , "–" ) . into ( )
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments