Skip to main content

get_language_text

Function get_language_text 

Source
pub fn get_language_text(
    section: &str,
    text: &str,
) -> Result<String, NullByteError>
Expand description

現在の言語設定で定義されているテキストを取得する。

任意のセクションから取得出来ます。

§Arguments

  • section: 言語設定のセクション(.aul2ファイルのセクション名)
  • text: 元のテキスト(.aul2ファイルのキー名)