Skip to content

Commit 9815bf7

Browse files
authored
bibliography sourcesの翻訳 (#130)
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent 92adb21 commit 9815bf7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

crates/typst-library/src/model/bibliography.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,13 @@ use crate::World;
8181
/// ```
8282
#[elem(Locatable, Synthesize, Show, ShowSet, LocalName)]
8383
pub struct BibliographyElem {
84-
/// One or multiple paths to or raw bytes for Hayagriva `.yml` and/or
85-
/// BibLaTeX `.bib` files.
84+
/// 1つまたは複数のHayagriva`.yml`やBibLaTeX`.bib`ファイルへのパスや生バイト。
8685
///
87-
/// This can be a:
88-
/// - A path string to load a bibliography file from the given path. For
89-
/// more details about paths, see the [Paths section]($syntax/#paths).
90-
/// - Raw bytes from which the bibliography should be decoded.
91-
/// - An array where each item is one the above.
86+
/// 以下の形式で指定できます。
87+
/// - 読み込む参考文献ファイルのパス。
88+
/// パスに関する詳細は[パスの章]($syntax/#paths)をご参照ください。
89+
/// - 参考文献情報がデコードできる生バイト。
90+
/// - 上記を要素とする配列。
9291
#[required]
9392
#[parse(
9493
let sources = args.expect("sources")?;

0 commit comments

Comments
 (0)