From b311ca894d9f32d7452ab9db0633af862d0a72c8 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 29 Jun 2013 13:56:28 +0200 Subject: [PATCH] doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide) --- doc/de/weechat_scripting.de.txt | 3 ++- doc/en/weechat_scripting.en.txt | 2 +- doc/fr/weechat_scripting.fr.txt | 2 +- doc/it/weechat_scripting.it.txt | 3 ++- doc/ja/weechat_scripting.ja.txt | 3 ++- doc/pl/weechat_scripting.pl.txt | 3 ++- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/de/weechat_scripting.de.txt b/doc/de/weechat_scripting.de.txt index d09120cce..418531d24 100644 --- a/doc/de/weechat_scripting.de.txt +++ b/doc/de/weechat_scripting.de.txt @@ -555,9 +555,10 @@ mit der [Enter] Taste bestätigen. Beispiele: +// TRANSLATION MISSING [source,python] ---------------------------------------- -# führt den Befehl "/help" im Core Buffer aus +# execute command "/help" on current buffer (result is on core buffer) weechat.command("", "/help") # sendet den Text "Hallo" in den IRC Channel #weechat (die Teilnehmer des Channels sehen diese Nachricht) diff --git a/doc/en/weechat_scripting.en.txt b/doc/en/weechat_scripting.en.txt index 94a2d2eaf..124a87b3d 100644 --- a/doc/en/weechat_scripting.en.txt +++ b/doc/en/weechat_scripting.en.txt @@ -548,7 +548,7 @@ Examples: [source,python] ---------------------------------------- -# execute command "/help" on core buffer +# execute command "/help" on current buffer (result is on core buffer) weechat.command("", "/help") # send "hello" to #weechat IRC channel (users on channel will see message) diff --git a/doc/fr/weechat_scripting.fr.txt b/doc/fr/weechat_scripting.fr.txt index 729cfffe2..03966bd11 100644 --- a/doc/fr/weechat_scripting.fr.txt +++ b/doc/fr/weechat_scripting.fr.txt @@ -560,7 +560,7 @@ Exemples : [source,python] ---------------------------------------- -# exécuter la commande "/help" sur le tampon core +# exécuter la commande "/help" sur le tampon courant (le résultat est sur le tampon core) weechat.command("", "/help") # envoyer "bonjour" au canal IRC #weechat (les utilisateurs sur le canal verront le message) diff --git a/doc/it/weechat_scripting.it.txt b/doc/it/weechat_scripting.it.txt index 3aff9ac21..659aba996 100644 --- a/doc/it/weechat_scripting.it.txt +++ b/doc/it/weechat_scripting.it.txt @@ -556,9 +556,10 @@ se si digitasse del testo o un comando, seguiti da [Enter]. Esempi: +// TRANSLATION MISSING [source,python] ---------------------------------------- -# esegue il comando "/help" sul buffer core +# execute command "/help" on current buffer (result is on core buffer) weechat.command("", "/help") # invia "hello" sul canale IRC #weechat (gli utenti sul canale vedranno il messaggio) diff --git a/doc/ja/weechat_scripting.ja.txt b/doc/ja/weechat_scripting.ja.txt index 33a392e53..b913ad8b7 100644 --- a/doc/ja/weechat_scripting.ja.txt +++ b/doc/ja/weechat_scripting.ja.txt @@ -527,9 +527,10 @@ Print 関数は Perl/Ruby/Lua/Tcl では `print` で、Python では `prnt` で 例: +// TRANSLATION MISSING [source,python] ---------------------------------------- -# コマンド "/help" をコアバッファで実行 +# execute command "/help" on current buffer (result is on core buffer) weechat.command("", "/help") # テキスト "hello" を #weechat IRC チャンネルに送信 (このチャンネルにいるユーザにはメッセージが見えます。) diff --git a/doc/pl/weechat_scripting.pl.txt b/doc/pl/weechat_scripting.pl.txt index 48940e20b..43f966283 100644 --- a/doc/pl/weechat_scripting.pl.txt +++ b/doc/pl/weechat_scripting.pl.txt @@ -544,9 +544,10 @@ w linii poleceń i wcisnąć [Enter]. Przykłady: +// TRANSLATION MISSING [source,python] ---------------------------------------- -# wykona komendę "/help" w głównym buforze +# execute command "/help" on current buffer (result is on core buffer) weechat.command("", "/help") # wyśle "witaj" na kanał #weechat (użytkownicy na kanale zobaczą wiadomość)