doc: fix example of weechat.command without buffer: it is executed on current buffer, not core buffer (scripting guide)

v2.8-utf8proc
Sebastien Helleu 2013-06-29 13:56:28 +02:00
parent f4e4f55de1
commit b311ca894d
6 changed files with 10 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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 チャンネルに送信 (このチャンネルにいるユーザにはメッセージが見えます。)

View File

@ -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ść)