1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

doc: remove "optional" for arguments of function register (scripting guide)

This commit is contained in:
Sebastien Helleu
2012-11-05 22:04:49 +01:00
parent bae9215e9e
commit a176d352e3
6 changed files with 23 additions and 16 deletions
+5 -3
View File
@@ -88,9 +88,11 @@ weechat.register(name, author, version, license, description, shutdown_function,
* 'version': 文字列型、スクリプトのバージョン
* 'license': 文字列型、スクリプトのライセンス
* 'description': 文字列型、スクリプトの短い説明
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前 (任意)
* 'charset': 文字列型、スクリプトの文字コード (任意、スクリプトが UTF-8
で書かれている場合、UTF-8 はデフォルトの文字コードのため、空文字列が使えます。)
// TRANSLATION MISSING
* 'shutdown_function': 文字列型、スクリプトがアンロードされた際に呼び出される関数の名前 (can be empty string)
// TRANSLATION MISSING
* 'charset': 文字列型、スクリプトの文字コード (if your script is UTF-8, you can use blank
value here, because UTF-8 is default charset)
各言語で書かれたスクリプトの例: