From a176d352e33b459a093200e89ebbb4ff9db5ba7a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 5 Nov 2012 22:04:49 +0100 Subject: [PATCH] doc: remove "optional" for arguments of function register (scripting guide) --- doc/de/weechat_scripting.de.txt | 6 ++++-- doc/en/weechat_scripting.en.txt | 7 ++++--- doc/fr/weechat_scripting.fr.txt | 8 ++++---- doc/it/weechat_scripting.it.txt | 5 +++-- doc/ja/weechat_scripting.ja.txt | 8 +++++--- doc/pl/weechat_scripting.pl.txt | 5 +++-- 6 files changed, 23 insertions(+), 16 deletions(-) diff --git a/doc/de/weechat_scripting.de.txt b/doc/de/weechat_scripting.de.txt index fe27bd042..59eb8dc93 100644 --- a/doc/de/weechat_scripting.de.txt +++ b/doc/de/weechat_scripting.de.txt @@ -99,8 +99,10 @@ Argumente: * 'version': Version des Skripts (String) * 'license': Lizenz für das Skripts (String) * 'description': kurze Beschreibung des Skripts (String) -* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll (String, optional) -* 'charset': Skript Zeichensatz (optional, liegt das Skript im UTF-8 Format vor kann dieser Wert +// TRANSLATION MISSING +* 'shutdown_function': Name der Funktion die beim Beenden des Skripts aufgerufen werden soll + (String, can be empty string) +* 'charset': Skript Zeichensatz (liegt das Skript im UTF-8 Format vor kann dieser Wert leer bleiben. UTF-8 ist der Standardzeichensatz) (String) Beispielskripten, für jede Sprache: diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt index 3ae26760c..07260e1d8 100644 --- a/doc/en/weechat_scripting.en.txt +++ b/doc/en/weechat_scripting.en.txt @@ -99,9 +99,10 @@ Arguments: * 'version': string, script version * 'license': string, script license * 'description': string, short description of script -* 'shutdown_function': string, name of function called when script is unloaded (optional) -* 'charset': string, script charset (optional, if your script is UTF-8, you - can use blank value here, because UTF-8 is default charset) +* 'shutdown_function': string, name of function called when script is unloaded + (can be empty string) +* 'charset': string, script charset (if your script is UTF-8, you can use blank + value here, because UTF-8 is default charset) Example of script, for each language: diff --git a/doc/fr/weechat_scripting.fr.txt b/doc/fr/weechat_scripting.fr.txt index c03b9deaa..58232a80a 100644 --- a/doc/fr/weechat_scripting.fr.txt +++ b/doc/fr/weechat_scripting.fr.txt @@ -101,10 +101,10 @@ Paramètres : * 'license' : chaîne, licence du script * 'description' : chaîne, description courte du script * 'shutdown_function' : chaîne, nom de la fonction appelée lorsque le script - est déchargé (optionnel) -* 'charset' : chaîne, jeu de caractères du script (optionnel, si votre script - est UTF-8, vous pouvez utiliser une valeur vide ici, car UTF-8 est le jeu de - caractères par défaut) + est déchargé (peut être une chaîne vide) +* 'charset' : chaîne, jeu de caractères du script (si votre script est UTF-8, + vous pouvez utiliser une valeur vide ici, car UTF-8 est le jeu de caractères + par défaut) Exemple, pour chaque langage : diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt index c643e5af4..25c906f0b 100644 --- a/doc/it/weechat_scripting.it.txt +++ b/doc/it/weechat_scripting.it.txt @@ -100,9 +100,10 @@ Argomenti: * 'version': stringa, versione dello script * 'license': stringa, licenza dello script * 'description': stringa, breve descrizione dello script +// TRANSLATION MISSING * 'shutdown_function': stringa, nome della funzione chiamata quando lo script - viene scaricato (opzionale) -* 'charset': stringa, set caratteri dello script (opzionale, se il proprio script è in UTF-8, + viene scaricato (can be empty string) +* 'charset': stringa, set caratteri dello script (se il proprio script è in UTF-8, è possibile utilizzare un valore nullo qui, dato che UTF-8 è il set caratteri predefinito) Esempio di script, per ogni linguaggio: diff --git a/doc/ja/weechat_scripting.ja.txt b/doc/ja/weechat_scripting.ja.txt index 36b0f0794..de7b936fd 100644 --- a/doc/ja/weechat_scripting.ja.txt +++ b/doc/ja/weechat_scripting.ja.txt @@ -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) 各言語で書かれたスクリプトの例: diff --git a/doc/pl/weechat_scripting.pl.txt b/doc/pl/weechat_scripting.pl.txt index 931d649d8..6fb161ab7 100644 --- a/doc/pl/weechat_scripting.pl.txt +++ b/doc/pl/weechat_scripting.pl.txt @@ -99,9 +99,10 @@ Argumenty: * 'wersja': string, wersja * 'licencja': string, licencja * 'opis': string, krótki opis skryptu +// TRANSLATION MISSING * 'funkcja_wyłączająca': string, nazwa funkcji wywoływanej podczas wyładowania skryptu - (opcjonalne) -* 'kodowanie': string, kodowane skryptu (opcjonalne, jeśli skrypt jest napisany + (can be empty string) +* 'kodowanie': string, kodowane skryptu (jeśli skrypt jest napisany w UTF-8 można nie podawać tej wartości - UTF-8 to domyślne kodowanie) Przykład dla skryptu w każdym z języków: