irc: add space before capability only if the string is not empty

v2.8-utf8proc
Sébastien Helleu 2018-05-20 22:44:09 +02:00
parent fe66886398
commit 7b15ffdb71
14 changed files with 46 additions and 45 deletions

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9030,11 +9030,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: schopnost klienta: sasl není podporován"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: schopnost klienta, server podporuje: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: schopnost klienta, povoleno: %s"
#, c-format

View File

@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-05-19 15:10+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@ -10792,11 +10792,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: Clientfähigkeit: SASL wird nicht unterstützt"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: Clientfähigkeit, Server unterstützt: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: Clientfähigkeit (CAP), aktuell aktiviert: %s"
#, c-format

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9354,11 +9354,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: capabilidad del cliente: sasl no soportado"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: capabilidad del cliente, el servidor soporta: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: capabilidad del cliente, habilitado: %s"
#, c-format

View File

@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"PO-Revision-Date: 2018-05-20 22:29+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-05-20 22:43+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@ -10543,12 +10543,12 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s : client capability : SASL non supporté"
#, c-format
msgid "%s%s: client capability, server supports:%s"
msgstr "%s%s : client capability, le serveur supporte :%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s : client capability, le serveur supporte : %s"
#, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgstr "%s%s : client capability, actuellement activé :%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s : client capability, actuellement activé : %s"
#, c-format
msgid "%s%s: client capability, enabled: %s"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8434,11 +8434,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, c-format

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -9548,11 +9548,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: capacità del client: sasl non supportato"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: capacità del client, il server supporta: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: capacità del client, abilitata: %s"
#, c-format

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-04-21 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@ -10117,11 +10117,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: クライアントの機能: SASL はサポートされていません"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: クライアントの機能、サーバは以下をサポート: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: クライアントの機能、現在有効化されているもの: %s"
#, c-format

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <>\n"
@ -10321,11 +10321,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: możliwości klienta: SASL nie wspierany"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: możliwości klienta, serwer wspiera: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: możliwości klienta, aktualnie włączone: %s"
#, c-format

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@ -10005,11 +10005,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s%s: capacidade do cliente: SASL não suportado"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s%s: capacidade do cliente, o servidor suporta: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s%s: capacidade do cliente, ativado atualmente: %s"
#, c-format

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8871,11 +8871,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s: script removido: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s: script removido: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s: script removido: %s"
#, c-format

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -8471,11 +8471,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "Не могу записать лог-файл \"%s\"\n"
#, c-format

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -7660,11 +7660,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr "%s: betik kaldırıldı: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr "%s: betik kaldırıldı: %s"
#, fuzzy, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr "%s: betik kaldırıldı: %s"
#, c-format

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2018-05-20 22:24+0200\n"
"POT-Creation-Date: 2018-05-20 22:43+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"
@ -7523,11 +7523,11 @@ msgid "%s%s: client capability: SASL not supported"
msgstr ""
#, c-format
msgid "%s%s: client capability, server supports:%s"
msgid "%s%s: client capability, server supports: %s"
msgstr ""
#, c-format
msgid "%s%s: client capability, currently enabled:%s"
msgid "%s%s: client capability, currently enabled: %s"
msgstr ""
#, c-format

View File

@ -350,7 +350,8 @@ irc_protocol_cap_print_cb (void *data,
str_caps = (char **)data;
weechat_string_dyn_concat (str_caps, " ");
if (*str_caps[0])
weechat_string_dyn_concat (str_caps, " ");
weechat_string_dyn_concat (str_caps, key);
if (value)
{
@ -540,7 +541,7 @@ IRC_PROTOCOL_CALLBACK(cap)
str_caps);
weechat_printf_date_tags (
server->buffer, date, NULL,
_("%s%s: client capability, server supports:%s"),
_("%s%s: client capability, server supports: %s"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME,
*str_caps);
@ -616,7 +617,7 @@ IRC_PROTOCOL_CALLBACK(cap)
str_caps);
weechat_printf_date_tags (
server->buffer, date, NULL,
_("%s%s: client capability, currently enabled:%s"),
_("%s%s: client capability, currently enabled: %s"),
weechat_prefix ("network"),
IRC_PLUGIN_NAME,
*str_caps);