summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/de/autogen/user/weechat_commands.adoc110
-rw-r--r--doc/en/autogen/user/weechat_commands.adoc4
-rw-r--r--doc/fr/autogen/user/weechat_commands.adoc94
-rw-r--r--doc/it/autogen/user/weechat_commands.adoc4
-rw-r--r--doc/ja/autogen/user/weechat_commands.adoc4
-rw-r--r--doc/pl/autogen/user/weechat_commands.adoc4
-rw-r--r--po/cs.po4
-rw-r--r--po/de.po8
-rw-r--r--po/es.po4
-rw-r--r--po/fr.po8
-rw-r--r--po/hu.po4
-rw-r--r--po/it.po4
-rw-r--r--po/ja.po4
-rw-r--r--po/pl.po4
-rw-r--r--po/pt.po4
-rw-r--r--po/pt_BR.po4
-rw-r--r--po/ru.po4
-rw-r--r--po/tr.po4
-rw-r--r--po/weechat.pot4
-rw-r--r--src/core/wee-command.c2
20 files changed, 119 insertions, 163 deletions
diff --git a/doc/de/autogen/user/weechat_commands.adoc b/doc/de/autogen/user/weechat_commands.adoc
index dea4dcb2d..aa3bca5c7 100644
--- a/doc/de/autogen/user/weechat_commands.adoc
+++ b/doc/de/autogen/user/weechat_commands.adoc
@@ -257,54 +257,54 @@ infolists: zeigt Information über die Infolists an
/eval [-n|-s] <expression>
[-n] -c <expression1> <operator> <expression2>
- -n: display result without sending it to buffer (debug mode)
- -s: split expression before evaluating it (many commands can be separated by semicolons)
- -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
-expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
- operator: a logical or comparison operator:
- - logical operators:
- && boolean "and"
- || boolean "or"
- - comparison operators:
- == equal
- != not equal
- <= less or equal
- < less
- >= greater or equal
- > greater
- =~ is matching POSIX extended regex
- !~ is NOT matching POSIX extended regex
-
-An expression is considered as "true" if it is not NULL, not empty, and different from "0".
-The comparison is made using integers if the two expressions are valid integers.
-To force a string comparison, add double quotes around each expression, for example:
+ -n: gibt das Ergebnis aus, ohne das dieses in den Buffer gesendet wird (debug Modus)
+ -s: teilt Ausdrücke bevor sie evaluiert werden (mehrere Befehle können durch Semikolon getrennt werden)
+ -c: Auswertung als Bedingung: nutzt Operatoren und runde Klammern, Rückgabewert als Boolean-Wert ("0" oder "1")
+expression: Ausdruck welcher verarbeitet werden soll. Variablen im Format ${variable} werden ersetzt (siehe unten); mehrere Befehle werden durch ein Semikolon voneinander getrennt
+ operator: ein logischer oder vergleichender Operand:
+ - logische Operanden:
+ && boolean "und"
+ || boolean "oder"
+ - vergleichende Operanden:
+ == gleich
+ != ungleich
+ <= kleiner oder gleich
+ < kleiner
+ >= größer oder gleich
+ > größer
+ =~ stimmt mit regulärem POSIX Ausdruck überein
+ !~ stimmt NICHT mit regulärem POSIX Ausdruck überein
+
+Ein Ausdruck gilt als "wahr" sofern das Ergebnis weder NULL, leer und von "0" abweichend ist.
+Der Vergleich findet zwischen zwei Integer Werten statt, sofern die beiden Ausdrücke gültige Integer-Werte sind.
+Um einen Vergleich zwischen zwei Zeichenketten zu erzwingen, müssen die Ausdrücke in Anführungszeichen gesetzt werden, zum Beispiel:
50 > 100 ==> 0
"50" > "100" ==> 1
-Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
- 1. an evaluated sub-string (format: "eval:xxx")
- 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
- 3. a string with chars to hide (format: "hide:char,string")
- 4. a string with max chars (format: "cut:max,suffix,string")
- or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
- 6. an info (format: "info:name,arguments", arguments are optional)
- 7. current date/time (format: "date" or "date:format")
- 8. an environment variable (format: "env:XXX")
- 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
- 10. an option (format: "file.section.option")
- 11. a local variable in buffer
- 12. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
-Format for hdata can be one of following:
- hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
- hdata[list].var1.var2...: start with a hdata using a list, for example:
- ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
- ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
- hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
- ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
-For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
-
-Examples (simple strings):
+Einige Variablen werden im Ausdruck, mittels der Formatierung ${Variable}, ersetzt. Mögliche Variablen sind, nach Reihenfolge ihrer Priorität:
+ 1. eine evaluierte Teilzeichenkette (Format: "eval:xxx")
+ 2. eine Zeichenkette mit Escapesequenzen (Format: "esc:xxx" oder "\xxx")
+ 3. Zeichen welche in einer Zeichenkette nicht dargestellt werden sollen (Format: "hide:Zeichen,Zeichenkette")
+ 4. eine Zeichenkette mit einer maximalen Anzahl an Zeichen (Format: "cut:Max,Suffix,Zeichenkette")
+ oder maximale Anzahl an Zeichen die auf dem Bildschirm angezeigt werden sollen (Format: "cutscr:max,Suffix,Zeichenkette")
+ 5. eine Farbe (Format: "color:xxx", siehe "Anleitung für API Erweiterung", Funktion "color")\n
+ 6. eine Info (Format: "info:name,arguments", Argumente sind optional)
+ 7. aktuelles Datum/Uhrzeit (Format: "date" oder "date:format")
+ 8. eine Umgebungsvariable (Format: "env:XXX")
+ 9. ein Dreifachoperand (Format: "if:Bedingung?Wert_falls_wahr:Wert_falls_unwahr")
+ 10. eine Option (Format: "file.section.option")
+ 11. der Name einer lokalen Variablen eines Buffer
+ 12. ein hdata Name/Variable (der Wert wird automatisch als Zeichenkette konvertiert), standardmäßig wird für "window" und "buffer" das aktuelle Fenster/Buffer verwendet.
+Das Format für hdata kann wie folgt aufgebaut sein:
+ hdata.var1.var2...: startet mit hdata (der Pointer muss bekannt sein) und fragt eine Variable nach der anderen ab (weitere hdata können folgen)
+ hdata[list].var1.var2...: startet hdata mittels einer Liste, zum Beispiel:
+ ${buffer[gui_buffers].full_name}: der vollständige Name des ersten Buffers, in der verknüpften Liste aller Buffer
+ ${plugin[weechat_plugins].name}: Name der ersten Erweiterung, in der verknüpften Liste aller Erweiterungen
+ hdata[pointer].var1.var2...: startet hdata mittels einem Pointer, zum Beispiel:
+ ${buffer[0x1234abcd].full_name}: vollständiger Name eines Buffers und des dazugehörigen Pointers (kann in triggern benutzt werden)
+Die vorhandenen Namen für hdata und Variablen sind in der "Anleitung für API Erweiterung", Bereich "weechat_hdata_get". beschrieben
+
+Beispiele (einfache Zeichenketten):
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
@@ -315,20 +315,18 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
-Examples (conditions):
- /eval -n -c ${window.buffer.number} > 2 ==> 0
- /eval -n -c ${window.win_width} > 100 ==> 1
- /eval -n -c (8 > 12) || (5 > 2) ==> 1
- /eval -n -c (8 > 12) && (5 > 2) ==> 0
- /eval -n -c abcd =~ ^ABC ==> 1
- /eval -n -c abcd =~ (?-i)^ABC ==> 0
- /eval -n -c abcd =~ (?-i)^abc ==> 1
- /eval -n -c abcd !~ abc ==> 0
+Beispiele (Bedingungen):
+ /eval -n -c ${window.buffer.number} > 2 ==> 0
+ /eval -n -c ${window.win_width} > 100 ==> 1
+ /eval -n -c (8 > 12) || (5 > 2) ==> 1
+ /eval -n -c (8 > 12) && (5 > 2) ==> 0
+ /eval -n -c abcd =~ ^ABC ==> 1
+ /eval -n -c abcd =~ (?-i)^ABC ==> 0
+ /eval -n -c abcd =~ (?-i)^abc ==> 1
+ /eval -n -c abcd !~ abc ==> 0
----
[[command_weechat_filter]]
diff --git a/doc/en/autogen/user/weechat_commands.adoc b/doc/en/autogen/user/weechat_commands.adoc
index 1ceded3cd..ab745d4ff 100644
--- a/doc/en/autogen/user/weechat_commands.adoc
+++ b/doc/en/autogen/user/weechat_commands.adoc
@@ -287,7 +287,7 @@ Some variables are replaced in expression, using the format ${variable}, variabl
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
+ 5. a color (format: "color:xxx", see "Plugin API reference", function "color")
6. an info (format: "info:name,arguments", arguments are optional)
7. current date/time (format: "date" or "date:format")
8. an environment variable (format: "env:XXX")
@@ -315,8 +315,6 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
diff --git a/doc/fr/autogen/user/weechat_commands.adoc b/doc/fr/autogen/user/weechat_commands.adoc
index d51d353cf..9ea319c05 100644
--- a/doc/fr/autogen/user/weechat_commands.adoc
+++ b/doc/fr/autogen/user/weechat_commands.adoc
@@ -257,54 +257,54 @@ infolists : afficher des infos sur les infolists
/eval [-n|-s] <expression>
[-n] -c <expression1> <opérateur> <expression2>
- -n: display result without sending it to buffer (debug mode)
- -s: split expression before evaluating it (many commands can be separated by semicolons)
- -c: evaluate as condition: use operators and parentheses, return a boolean value ("0" or "1")
-expression: expression to evaluate, variables with format ${variable} are replaced (see below); many commands can be separated by semicolons
- operator: a logical or comparison operator:
- - logical operators:
- && boolean "and"
- || boolean "or"
- - comparison operators:
- == equal
- != not equal
- <= less or equal
- < less
- >= greater or equal
- > greater
- =~ is matching POSIX extended regex
- !~ is NOT matching POSIX extended regex
-
-An expression is considered as "true" if it is not NULL, not empty, and different from "0".
-The comparison is made using integers if the two expressions are valid integers.
-To force a string comparison, add double quotes around each expression, for example:
+ -n : afficher le résultat sans envoyer au tampon (mode debug)
+ -s : découper l'expression avant de l'évaluer (plusieurs commandes peuvent être séparées par des points-virgules)
+ -c : évaluer comme une condition : utiliser les opérateurs et les parenthèses, retourner une valeur booléenne ("0" ou "1")
+expression : expression à évaluer, les variables avec le format ${variable} sont remplacées (voir ci-dessous) ; plusieurs commandes peuvent être séparées par des points-virgules
+ opérateur : un opérateur logique ou de comparaison :
+ - opérateurs logiques :
+ && "et" booléen
+ || "ou" booléen
+ - opérateurs de comparaison :
+ == égal
+ != non égal
+ <= inférieur ou égal
+ < inférieur
+ >= supérieur ou égal
+ > supérieur
+ =~ correspond à l'expression régulière POSIX étendue
+ !~ ne correspond PAS à l'expression régulière POSIX étendue
+
+Une expression est considérée comme "vraie" si elle est non NULL, non vide, et différente de "0".
+La comparaison est faite en utilisant des entiers si les deux expressions sont des entiers valides.
+Pour forcer une comparaison de chaînes, ajoutez des guillemets autour de chaque expression, par exemple :
50 > 100 ==> 0
"50" > "100" ==> 1
-Some variables are replaced in expression, using the format ${variable}, variable can be, by order of priority:
- 1. an evaluated sub-string (format: "eval:xxx")
- 2. a string with escaped chars (format: "esc:xxx" or "\xxx")
- 3. a string with chars to hide (format: "hide:char,string")
- 4. a string with max chars (format: "cut:max,suffix,string")
- or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
- 6. an info (format: "info:name,arguments", arguments are optional)
- 7. current date/time (format: "date" or "date:format")
- 8. an environment variable (format: "env:XXX")
- 9. a ternary operator (format: "if:condition?value_if_true:value_if_false")
- 10. an option (format: "file.section.option")
- 11. a local variable in buffer
- 12. a hdata name/variable (the value is automatically converted to string), by default "window" and "buffer" point to current window/buffer.
-Format for hdata can be one of following:
- hdata.var1.var2...: start with a hdata (pointer must be known), and ask variables one after one (other hdata can be followed)
- hdata[list].var1.var2...: start with a hdata using a list, for example:
- ${buffer[gui_buffers].full_name}: full name of first buffer in linked list of buffers
- ${plugin[weechat_plugins].name}: name of first plugin in linked list of plugins
- hdata[pointer].var1.var2...: start with a hdata using a pointer, for example:
- ${buffer[0x1234abcd].full_name}: full name of the buffer with this pointer (can be used in triggers)
-For name of hdata and variables, please look at "Plugin API reference", function "weechat_hdata_get".
-
-Examples (simple strings):
+Des variables sont remplacées dans l'expression, en utilisant le format ${variable}, la variable pouvant être, par ordre de priorité :
+ 1. une sous-chaîne évaluée (format : "eval:xxx")
+ 2. une chaîne avec les caractères échappés (format : "esc:xxx" ou "\xxx")
+ 3. une chaîne avec des caractères à cacher (format : "hide:caractère,chaîne")
+ 4. une chaîne avec un maximum de caractères (format : "cut:max,suffixe,chaîne")
+ ou un maximum de caractères affichés à l'écran (format : "cutscr:max,suffixe,chaîne")
+ 5. une couleur (format : "color:xxx", voir la "Référence API extension", fonction "color")
+ 6. une info (format : "info:nom,paramètres", les paramètres sont optionnels)
+ 7. la date/heure courante (format : "date" ou "date:format")
+ 8. une variable d'environnement (format : "env:XXX")
+ 9. un opérateur ternaire (format : "if:condition?valeur_si_vrai:valeur_si_faux")
+ 10. une option (format : "fichier.section.option")
+ 11. une variable locale du tampon
+ 12. un hdata/variable (la valeur est automatiquement convertie en chaîne), par défaut "window" et "buffer" pointent vers la fenêtre et le tampon courants.
+Le format du hdata peut être le suivant :
+ hdata.var1.var2... : démarrer avec un hdata (le pointeur doit être connu), et demander les variables l'une après l'autre (d'autres hdata peuvent être suivis)
+ hdata[liste].var1.var2... : démarrer avec un hdata en utilisant une liste, par exemple :
+ ${buffer[gui_buffers].full_name} : nom complet du premier tampon dans la liste chaînée des tampons
+ ${plugin[weechat_plugins].name} : nom de la première extension dans la liste chaînée des extensions
+ hdata[pointeur].var1.var2... : démarrer avec un hdata en utilisant un pointeur, par exemple :
+ ${buffer[0x1234abcd].full_name} : nom complet du tampon avec ce pointeur (peut être utilisé dans les triggers)
+Pour le nom du hdata et des variables, voir la "Référence API extension", fonction "weechat_hdata_get".
+
+Exemples (chaînes simples) :
/eval -n ${info:version} ==> 0.4.3
/eval -n ${env:HOME} ==> /home/user
/eval -n ${weechat.look.scroll_amount} ==> 3
@@ -315,12 +315,10 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
-Examples (conditions):
+Exemples (conditions) :
/eval -n -c ${window.buffer.number} > 2 ==> 0
/eval -n -c ${window.win_width} > 100 ==> 1
/eval -n -c (8 > 12) || (5 > 2) ==> 1
diff --git a/doc/it/autogen/user/weechat_commands.adoc b/doc/it/autogen/user/weechat_commands.adoc
index 1c1915e83..1e50ea5f1 100644
--- a/doc/it/autogen/user/weechat_commands.adoc
+++ b/doc/it/autogen/user/weechat_commands.adoc
@@ -287,7 +287,7 @@ Some variables are replaced in expression, using the format ${variable}, variabl
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
+ 5. a color (format: "color:xxx", see "Plugin API reference", function "color")
6. an info (format: "info:name,arguments", arguments are optional)
7. current date/time (format: "date" or "date:format")
8. an environment variable (format: "env:XXX")
@@ -315,8 +315,6 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
diff --git a/doc/ja/autogen/user/weechat_commands.adoc b/doc/ja/autogen/user/weechat_commands.adoc
index 52a32e616..67cfa7f35 100644
--- a/doc/ja/autogen/user/weechat_commands.adoc
+++ b/doc/ja/autogen/user/weechat_commands.adoc
@@ -287,7 +287,7 @@ Some variables are replaced in expression, using the format ${variable}, variabl
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
+ 5. a color (format: "color:xxx", see "Plugin API reference", function "color")
6. an info (format: "info:name,arguments", arguments are optional)
7. current date/time (format: "date" or "date:format")
8. an environment variable (format: "env:XXX")
@@ -315,8 +315,6 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
diff --git a/doc/pl/autogen/user/weechat_commands.adoc b/doc/pl/autogen/user/weechat_commands.adoc
index 7e12c1d30..b85e42d6c 100644
--- a/doc/pl/autogen/user/weechat_commands.adoc
+++ b/doc/pl/autogen/user/weechat_commands.adoc
@@ -287,7 +287,7 @@ Some variables are replaced in expression, using the format ${variable}, variabl
3. a string with chars to hide (format: "hide:char,string")
4. a string with max chars (format: "cut:max,suffix,string")
or max chars displayed on screen (format: "cutscr:max,suffix,string")
- 5. a color (format: "color:xxx")
+ 5. a color (format: "color:xxx", see "Plugin API reference", function "color")
6. an info (format: "info:name,arguments", arguments are optional)
7. current date/time (format: "date" or "date:format")
8. an environment variable (format: "env:XXX")
@@ -315,8 +315,6 @@ Examples (simple strings):
/eval -n ${\t} ==> <tab>
/eval -n ${hide:-,${relay.network.password}} ==> --------
/eval -n ${cut:2,+,test} ==> te+
- /eval -n ${cut:2,+,こんにちは世界} ==> こん+
- /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+
/eval -n ${date:%H:%M:%S} ==> 07:46:40
/eval -n ${if:${info:term_width}>80?big:small} ==> big
diff --git a/po/cs.po b/po/cs.po
index 4311c42bd..c34468c87 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 21:59+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1512,8 +1512,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/de.po b/po/de.po
index bea275d1e..685971465 100644
--- a/po/de.po
+++ b/po/de.po
@@ -19,8 +19,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
-"PO-Revision-Date: 2017-04-21 21:56+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
+"PO-Revision-Date: 2017-04-21 21:58+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de\n"
@@ -1614,8 +1614,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
@@ -1711,8 +1709,6 @@ msgstr ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/es.po b/po/es.po
index 3f66f991d..efb14adb2 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 22:01+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1544,8 +1544,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/fr.po b/po/fr.po
index cf73cdb98..7423351be 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
-"PO-Revision-Date: 2017-04-21 07:35+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
+"PO-Revision-Date: 2017-04-21 21:58+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -1591,8 +1591,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
@@ -1690,8 +1688,6 @@ msgstr ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/hu.po b/po/hu.po
index 984570e9f..bb88657d7 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 22:03+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1434,8 +1434,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/it.po b/po/it.po
index 464fb300d..9a6bdd941 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 22:04+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1527,8 +1527,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/ja.po b/po/ja.po
index 94f8027b9..3baa24c43 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-04-08 14:49+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -1557,8 +1557,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/pl.po b/po/pl.po
index 5a2ede5ce..45b688597 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-04-08 14:49+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1591,8 +1591,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/pt.po b/po/pt.po
index bcfe6bc32..fbb619d41 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-04-08 14:50+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -1580,8 +1580,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 091f97eb3..6d802066a 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2016-09-03 08:24+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1589,8 +1589,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/ru.po b/po/ru.po
index a12a83edd..c74bd5cfc 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 22:06+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1456,8 +1456,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/tr.po b/po/tr.po
index 903e03f46..45e7f15c4 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2017-01-06 22:07+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1290,8 +1290,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/po/weechat.pot b/po/weechat.pot
index bdd784920..65f3f1e61 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2017-04-21 07:34+0200\n"
+"POT-Creation-Date: 2017-04-21 21:58+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1293,8 +1293,6 @@ msgid ""
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
-" /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
-" /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 5b0c372f0..5eab9522e 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7312,8 +7312,6 @@ command_init ()
" /eval -n ${\\t} ==> <tab>\n"
" /eval -n ${hide:-,${relay.network.password}} ==> --------\n"
" /eval -n ${cut:2,+,test} ==> te+\n"
- " /eval -n ${cut:2,+,こんにちは世界} ==> こん+\n"
- " /eval -n ${cutscr:2,+,こんにちは世界} ==> こ+\n"
" /eval -n ${date:%H:%M:%S} ==> 07:46:40\n"
" /eval -n ${if:${info:term_width}>80?big:small} ==> big\n"
"\n"