summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-11-06 09:13:02 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-11-06 09:14:18 +0100
commit55b5549054194c656b721aeddde6367d4c4c545d (patch)
treea9727be3e4e95e10589e455f36ff0eaeee18662f
parentf18b96bb59eeebdd50b8c2af04265c2ea2b5c820 (diff)
downloadweechat-55b5549054194c656b721aeddde6367d4c4c545d.zip
trigger: display failing regex in trigger creation error
-rw-r--r--po/cs.po11
-rw-r--r--po/de.po17
-rw-r--r--po/es.po11
-rw-r--r--po/fr.po17
-rw-r--r--po/hu.po10
-rw-r--r--po/it.po11
-rw-r--r--po/ja.po17
-rw-r--r--po/pl.po17
-rw-r--r--po/pt.po17
-rw-r--r--po/pt_BR.po11
-rw-r--r--po/ru.po10
-rw-r--r--po/sr.po17
-rw-r--r--po/tr.po17
-rw-r--r--po/weechat.pot10
-rw-r--r--src/plugins/trigger/trigger-command.c16
15 files changed, 146 insertions, 63 deletions
diff --git a/po/cs.po b/po/cs.po
index c645427b4..72ca877c0 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12818,14 +12818,19 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: nekorektní znaková sada: \"%s\""
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: nedostatek paměti pro regulární výraz"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: \"%s\" není validní regulární výraz (%s)"
#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: nedostatek paměti pro regulární výraz"
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: neplatný návratový kód \"%s\""
diff --git a/po/de.po b/po/de.po
index 9cabbe1b2..c307d9cb5 100644
--- a/po/de.po
+++ b/po/de.po
@@ -25,7 +25,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -15563,14 +15563,21 @@ msgstr "Auflistung der Trigger:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: ungültiger hook-Typ: \"%s\""
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: ungültiges Format für regulären Ausdruck"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: ungültiger regulärer Ausdruck (Kompilat fehlgeschlagen)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: Nicht genügend Speicher für regulären Ausdruck vorhanden"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: ungültiger Rückgabewert: \"%s\""
diff --git a/po/es.po b/po/es.po
index 911cfcef8..2932dd29f 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13431,14 +13431,19 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%sError: no se pudo crear el atajo \"%s\""
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "color para el prefijo de error"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%sError en la expresión a evaluar"
#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: no hay suficiente memoria para la expresión regular"
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%sError: no se pudo deshacer el atajo \"%s\""
diff --git a/po/fr.po b/po/fr.po
index aa39918f9..1c5e0a2ca 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: 2022-11-06 09:02+0100\n"
-"PO-Revision-Date: 2022-11-06 09:06+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
+"PO-Revision-Date: 2022-11-06 09:12+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -15102,12 +15102,17 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s : type de hook invalide : \"%s\""
#, c-format
-msgid "%s%s: invalid format for regular expression"
-msgstr "%s%s : format invalide pour l'expression régulière"
+msgid "%s%s: invalid format for regular expression: \"%s\""
+msgstr "%s%s : format invalide pour l'expression régulière : \"%s\""
#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
-msgstr "%s%s : expression régulière invalide (la compilation a échoué)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
+msgstr ""
+"%s%s : expression régulière invalide (la compilation a échoué) : \"%s\""
+
+#, c-format
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s : pas assez de mémoire pour l'expression régulière : \"%s\""
#, c-format
msgid "%s%s: invalid return code: \"%s\""
diff --git a/po/hu.po b/po/hu.po
index 04cbed9bb..091a347ab 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12174,14 +12174,18 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s nem sikerült a(z) \"%s\" billentyűt hozzárendelni\n"
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "belépési nyíl színe"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s a(z) \"%s\" érvénytelen reguláris kifejezés (%s)\n"
#, fuzzy, c-format
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s nincs elég memória a reguláris kifejezéshez\n"
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s nem sikerült a(z) \"%s\" billentyűparancsot visszavonni\n"
diff --git a/po/it.po b/po/it.po
index 310f53872..d8deedcf8 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13259,14 +13259,19 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%sErrore: impossibile associare il tasto \"%s\""
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "colore del testo per il prefisso di errore"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%sErrore nell'espressione da analizzare"
#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: memoria non sufficiente per l'espressione regolare"
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%sErrore: impossibile rimuovere la combinazione del tasto \"%s\""
diff --git a/po/ja.po b/po/ja.po
index 323bb5d18..ddeb34258 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -14398,14 +14398,21 @@ msgstr "トリガのリスト:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: フックタイプが間違っています: \"%s\""
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: 正規表現用の書式が間違っています"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: 不正な正規表現 (コンパイル失敗)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: 正規表現用のメモリが足りません"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: リターンコードが間違っています: \"%s\""
diff --git a/po/pl.po b/po/pl.po
index fc99ba3d1..0aa8dad1a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -15091,14 +15091,21 @@ msgstr "Lista triggerów:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: nieprawidłowy typ hooka: \"%s\""
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: nieprawidłowy format dla wyrażenia regularnego"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: nieprawidłowe wyrażenie regularne (kompilacja nieudana)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: za mało pamięci dla wyrażenia regularnego"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: niepoprawny kod powrotu: \"%s\""
diff --git a/po/pt.po b/po/pt.po
index 0b0d52133..60e892636 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -14200,14 +14200,21 @@ msgstr "Lista de acionadores:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: tipo de hook inválido: \"%s\""
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: formato de expressão regular inválido"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: expressão regular inválida (falha ao compilar)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: memória insuficiente para a expressão regular"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: código de retorno inválido: \"%s\""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index afffb0917..aa0352025 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12706,14 +12706,19 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%sErro: não foi possível associar o atalho à tecla \"%s\""
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "cor do texto para o prefixo de erro"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%sErro: incapaz de salvar a sessão em arquivo"
#, fuzzy, c-format
+#| msgid "%s%s: not enough memory in function \"%s\""
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: memória insuficiente na função \"%s\""
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%sErro: não foi possível desassociar a tecla de atalho \"%s\""
diff --git a/po/ru.po b/po/ru.po
index 5271699a4..8f911b0f0 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12212,14 +12212,18 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s не могу установить клавишу \"%s\"\n"
#, fuzzy, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "цвет стрелки захода на канал (префикс)"
#, fuzzy, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s \"%s\" не является регулярным выражением (%s)\n"
#, fuzzy, c-format
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s недостаточно памяти для регулярного выражения\n"
+
+#, fuzzy, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s не могу отвязать клавишу \"%s\"\n"
diff --git a/po/sr.po b/po/sr.po
index 620bb67a2..3f92b35d9 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14966,14 +14966,21 @@ msgstr "Листа окидача:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: неважећи тип куке: „%s”"
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: неважећи формат регуларног израза"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: неважећи регуларни израз (компајлирање није успело)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: нема довољно слободне меморије за регуларни израз"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: неважећи повратни кôд: „%s”"
diff --git a/po/tr.po b/po/tr.po
index 1fdac094f..8972af835 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14844,14 +14844,21 @@ msgstr "Tetiklerin listesi:"
msgid "%s%s: invalid hook type: \"%s\""
msgstr "%s%s: Geçersiz kanca türü: \"%s\""
-#, c-format
-msgid "%s%s: invalid format for regular expression"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr "%s%s: Geçersiz düzenli ifade biçimi"
-#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+#, fuzzy, c-format
+#| msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
msgstr "%s%s: Geçersiz düzenli ifade (derleme başarısız)"
+#, fuzzy, c-format
+#| msgid "%s%s: not enough memory for regular expression"
+msgid "%s%s: not enough memory for regular expression: \"%s\""
+msgstr "%s%s: Düzenli ifade için yetersiz bellek"
+
#, c-format
msgid "%s%s: invalid return code: \"%s\""
msgstr "%s%s: Geçersiz dönüş kodu: \"%s\""
diff --git a/po/weechat.pot b/po/weechat.pot
index 50bff51ac..4be3d5083 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: 2022-11-06 09:02+0100\n"
+"POT-Creation-Date: 2022-11-06 09:09+0100\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"
@@ -11024,11 +11024,15 @@ msgid "%s%s: invalid hook type: \"%s\""
msgstr ""
#, c-format
-msgid "%s%s: invalid format for regular expression"
+msgid "%s%s: invalid format for regular expression: \"%s\""
msgstr ""
#, c-format
-msgid "%s%s: invalid regular expression (compilation failed)"
+msgid "%s%s: invalid regular expression (compilation failed): \"%s\""
+msgstr ""
+
+#, c-format
+msgid "%s%s: not enough memory for regular expression: \"%s\""
msgstr ""
#, c-format
diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c
index 8ce8db5af..5cb35d0cf 100644
--- a/src/plugins/trigger/trigger-command.c
+++ b/src/plugins/trigger/trigger-command.c
@@ -587,24 +587,28 @@ trigger_command_trigger (const void *pointer, void *data,
case -1: /* format error */
weechat_printf (NULL,
_("%s%s: invalid format for regular "
- "expression"),
+ "expression: \"%s\""),
weechat_prefix ("error"),
- TRIGGER_PLUGIN_NAME);
+ TRIGGER_PLUGIN_NAME,
+ sargv[4]);
goto end;
break;
case -2: /* regex compilation error */
weechat_printf (NULL,
_("%s%s: invalid regular expression "
- "(compilation failed)"),
+ "(compilation failed): \"%s\""),
weechat_prefix ("error"),
- TRIGGER_PLUGIN_NAME);
+ TRIGGER_PLUGIN_NAME,
+ sargv[4]);
goto end;
break;
case -3: /* memory error */
weechat_printf (NULL,
- _("%s%s: not enough memory"),
+ _("%s%s: not enough memory for regular "
+ "expression: \"%s\""),
weechat_prefix ("error"),
- TRIGGER_PLUGIN_NAME);
+ TRIGGER_PLUGIN_NAME,
+ sargv[4]);
goto end;
break;
}