From b8acaf8a14e2c5f70eda3bcc841d9d1f3e149af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 2 Jan 2021 15:18:26 +0100 Subject: irc: fix ambiguity on translation of word "server" This fixes the following warning: /usr/bin/xgettext: warning: msgid 'server' is used without plural and with plural. ./src/plugins/irc/irc-bar-item.c:136: Here is the occurrence without plural. ./src/plugins/irc/irc.c:154: Here is the occurrence with plural. Workaround: If the msgid is a sentence, change the wording of the sentence; otherwise, use contexts for disambiguation. --- po/cs.po | 29 ++++++++++++++++++++--------- po/de.po | 28 ++++++++++++++++++++-------- po/es.po | 28 ++++++++++++++++++++-------- po/fr.po | 29 ++++++++++++++++++++--------- po/hu.po | 21 ++++++++++++++------- po/it.po | 26 ++++++++++++++++++-------- po/ja.po | 23 ++++++++++++++++------- po/pl.po | 29 ++++++++++++++++++++--------- po/pt.po | 26 ++++++++++++++++++-------- po/pt_BR.po | 22 +++++++++++++++------- po/ru.po | 23 +++++++++++++++-------- po/tr.po | 20 ++++++++++++++------ po/weechat.pot | 21 ++++++++++++++------- src/plugins/irc/irc.c | 10 ++++++---- 14 files changed, 230 insertions(+), 105 deletions(-) diff --git a/po/cs.po b/po/cs.po index f54705c4e..9bf847459 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -6169,11 +6169,9 @@ msgstr "%s: skript \"%s\" odebrán" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: skript \"%s\" nenačten" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "server" -msgstr[1] "servery" -msgstr[2] "serverů" +msgstr "server" msgid "Lag" msgstr "Lag" @@ -6190,11 +6188,17 @@ msgstr "" "připojené přes SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: odpojuji se od %d %s (SSL připojení není podporováno pro aktualizaci)" +msgstr[1] "" +"%s%s: odpojuji se od %d %s (SSL připojení není podporováno pro aktualizaci)" +msgstr[2] "" "%s%s: odpojuji se od %d %s (SSL připojení není podporováno pro aktualizaci)" #, fuzzy, c-format @@ -10812,6 +10816,13 @@ msgstr "" "%s%s: odpojuji se od serveru, protože aktualizace nefunguje pro servery " "připojené přes SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s: odpojuji se od %d %s (SSL připojení není podporováno pro aktualizaci)" + msgid "client" msgid_plural "clients" msgstr[0] "klient" diff --git a/po/de.po b/po/de.po index 11b6e2faa..6c33368b3 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2021-01-01 11:19+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -7652,10 +7652,9 @@ msgstr "%s: Skript \"%s\" wurde beendet" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: Das Skript \"%s\" wurde nicht installiert" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "Server" -msgstr[1] "Server" +msgstr "Server" msgid "Lag" msgstr "Lag" @@ -7672,11 +7671,16 @@ msgstr "" "Verbindung nicht möglich" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: Verbindung mit %d %s getrennt (Upgrade über eine SSL Verbindung nicht " +"möglich)" +msgstr[1] "" "%s%s: Verbindung mit %d %s getrennt (Upgrade über eine SSL Verbindung nicht " "möglich)" @@ -12755,6 +12759,14 @@ msgstr "" "%s%s: Verbindung zum Client %s%s%s wird getrennt. Ein Upgrade ist mit einer " "aktiven SSL-Verbindung nicht möglich" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s: Verbindung mit %d %s getrennt (Upgrade über eine SSL Verbindung nicht " +"möglich)" + msgid "client" msgid_plural "clients" msgstr[0] "Client" diff --git a/po/es.po b/po/es.po index 25b81957f..9f0ac1bd6 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -6383,10 +6383,9 @@ msgstr "%s: script \"%s\" descargado" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: el script \"%s\" no está cargado" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "servidor" -msgstr[1] "servidores" +msgstr "servidor" msgid "Lag" msgstr "Retraso" @@ -6403,11 +6402,16 @@ msgstr "" "con servidores conectados a través de SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: desconectado de %d %s (conexiones SSL no soportadas durante la " +"actualización)" +msgstr[1] "" "%s%s: desconectado de %d %s (conexiones SSL no soportadas durante la " "actualización)" @@ -11143,6 +11147,14 @@ msgstr "" "%s%s: desconectando del cliente %s%s%s porque la actualización no puede " "funcionar con clientes conectados a través de SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s: desconectado de %d %s (conexiones SSL no soportadas durante la " +"actualización)" + msgid "client" msgid_plural "clients" msgstr[0] "cliente" diff --git a/po/fr.po b/po/fr.po index 1fadf4c37..b58e9e395 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: 2020-12-31 18:53+0100\n" -"PO-Revision-Date: 2020-12-31 18:54+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" +"PO-Revision-Date: 2021-01-02 15:17+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -7493,9 +7493,7 @@ msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s : script \"%s\" non chargé" msgid "server" -msgid_plural "servers" -msgstr[0] "serveur" -msgstr[1] "serveurs" +msgstr "serveur" msgid "Lag" msgstr "Lag" @@ -7512,12 +7510,18 @@ msgstr "" "avec les serveurs connectés via SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" -"%s%s : déconnecté de %d %s (connexion SSL non supportée avec la mise à jour)" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s : déconnecté de %d serveur (connexion SSL non supportée avec la mise à " +"jour)" +msgstr[1] "" +"%s%s : déconnecté de %d serveurs (connexion SSL non supportée avec la mise à " +"jour)" #, c-format msgid "" @@ -12477,6 +12481,13 @@ msgstr "" "%s%s : déconnexion du client %s%s%s car la mise à jour ne peut pas " "fonctionner avec les clients connectés via SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s : déconnecté de %d %s (connexion SSL non supportée avec la mise à jour)" + msgid "client" msgid_plural "clients" msgstr[0] "client" diff --git a/po/hu.po b/po/hu.po index c5de4d7d6..9b9d2d29a 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -5702,9 +5702,7 @@ msgstr "%s a \"%s\" szerver nem található\n" #, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "szerver" -msgstr[1] "szerver" +msgstr "szerver" msgid "Lag" msgstr "" @@ -5719,11 +5717,14 @@ msgid "" msgstr "" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +msgstr[1] "" #, c-format msgid "" @@ -10170,6 +10171,12 @@ msgid "" "clients connected via SSL" msgstr "" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" + msgid "client" msgid_plural "clients" msgstr[0] "" diff --git a/po/it.po b/po/it.po index 3d1edc9df..a07286d99 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -6552,10 +6552,9 @@ msgstr "%s: script \"%s\" scaricato" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: script \"%s\" non caricato" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "server" -msgstr[1] "server" +msgstr "server" msgid "Lag" msgstr "Ritardo" @@ -6572,11 +6571,15 @@ msgstr "" "connessi via SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: disconnesso da %d %s (connessione SSL non supportata con l'upgrade)" +msgstr[1] "" "%s%s: disconnesso da %d %s (connessione SSL non supportata con l'upgrade)" #, fuzzy, c-format @@ -11337,6 +11340,13 @@ msgstr "" "%s%s; disconnessione dal client %s%s%s poiché l'upgrade non funziona per i " "client connessi via SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s: disconnesso da %d %s (connessione SSL non supportata con l'upgrade)" + msgid "client" msgid_plural "clients" msgstr[0] "client" diff --git a/po/ja.po b/po/ja.po index 326d22c73..788e2844a 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -7305,11 +7305,9 @@ msgstr "%s: skrypt \"%s\" wyładowano" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: skrypt \"%s\" nie załadowany" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "serwer" -msgstr[1] "serwery" -msgstr[2] "serwery" +msgstr "serwer" msgid "Lag" msgstr "Lag" @@ -7326,11 +7324,17 @@ msgstr "" "serwerów połączonych po SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: rozłączono z %d %s (połączenie SSL nie wspierane z uaktualnianiem)" +msgstr[1] "" +"%s%s: rozłączono z %d %s (połączenie SSL nie wspierane z uaktualnianiem)" +msgstr[2] "" "%s%s: rozłączono z %d %s (połączenie SSL nie wspierane z uaktualnianiem)" #, c-format @@ -12206,6 +12210,13 @@ msgstr "" "%s%s: rozłączam się z klientem %s%s%s, ponieważ uaktualnienie nie zadziała " "dla klientów połączonych po SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" +"%s%s: rozłączono z %d %s (połączenie SSL nie wspierane z uaktualnianiem)" + msgid "client" msgid_plural "clients" msgstr[0] "klient" diff --git a/po/pt.po b/po/pt.po index d1813c55a..d804de7a6 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -6925,10 +6925,9 @@ msgstr "%s: script \"%s\" descarregado" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: script \"%s\" não carregado" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "servidor" -msgstr[1] "servidores" +msgstr "servidor" msgid "Lag" msgstr "Lag" @@ -6945,11 +6944,16 @@ msgstr "" "servidores conectados via SSL" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" -#, c-format +#, fuzzy, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "%s%s: desconectado de %d %s (conexão SSL não suportada na atualização)" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +"%s%s: desconectado de %d %s (conexão SSL não suportada na atualização)" +msgstr[1] "" +"%s%s: desconectado de %d %s (conexão SSL não suportada na atualização)" #, c-format msgid "" @@ -11770,6 +11774,12 @@ msgstr "" "%s%s: a desconectar do cliente %s%s%s porque a atualização não funciona com " "clientes conectados via SSL" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "%s%s: desconectado de %d %s (conexão SSL não suportada na atualização)" + msgid "client" msgid_plural "clients" msgstr[0] "cliente" diff --git a/po/pt_BR.po b/po/pt_BR.po index aced1c7f2..74a4401e6 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -6349,10 +6349,9 @@ msgstr "%s: script \"%s\" descarregado" msgid "%s%s: script \"%s\" not loaded" msgstr "%s%s: script \"%s\" não carregado" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "servidor" -msgstr[1] "servidores" +msgstr "servidor" msgid "Lag" msgstr "" @@ -6367,11 +6366,14 @@ msgid "" msgstr "" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +msgstr[1] "" #, fuzzy, c-format msgid "" @@ -10627,6 +10629,12 @@ msgid "" "clients connected via SSL" msgstr "" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" + msgid "client" msgid_plural "clients" msgstr[0] "" diff --git a/po/ru.po b/po/ru.po index 7eaf73861..15ab25b91 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2020-04-28 16:40+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -5737,10 +5737,7 @@ msgstr "%s сервер \"%s\" не найден\n" #, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "сервер" -msgstr[1] "сервер" -msgstr[2] "сервер" +msgstr "сервер" msgid "Lag" msgstr "" @@ -5755,11 +5752,15 @@ msgid "" msgstr "" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #, c-format msgid "" @@ -10204,6 +10205,12 @@ msgid "" "clients connected via SSL" msgstr "" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" + msgid "client" msgid_plural "clients" msgstr[0] "" diff --git a/po/tr.po b/po/tr.po index db80144c4..5ad5e71c9 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2019-11-03 08:38+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -5261,9 +5261,9 @@ msgstr "" msgid "%s%s: script \"%s\" not loaded" msgstr "" +#, fuzzy msgid "server" -msgid_plural "servers" -msgstr[0] "sunucu(lar)" +msgstr "sunucu(lar)" msgid "Lag" msgstr "" @@ -5278,11 +5278,13 @@ msgid "" msgstr "" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" #, c-format msgid "" @@ -9273,6 +9275,12 @@ msgid "" "clients connected via SSL" msgstr "" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" + msgid "client" msgid_plural "clients" msgstr[0] "istemciler" diff --git a/po/weechat.pot b/po/weechat.pot index d522195c3..f60b48e53 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: 2020-12-31 18:53+0100\n" +"POT-Creation-Date: 2021-01-02 15:16+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -5201,9 +5201,7 @@ msgid "%s%s: script \"%s\" not loaded" msgstr "" msgid "server" -msgid_plural "servers" -msgstr[0] "" -msgstr[1] "" +msgstr "" msgid "Lag" msgstr "" @@ -5218,11 +5216,14 @@ msgid "" msgstr "" #. TRANSLATORS: "%s" after "%d" is "server" or "servers" -#. TRANSLATORS: "%s" after "%d" is "client" or "clients" #, c-format msgid "" -"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" -msgstr "" +"%s%s: disconnected from %d server (SSL connection not supported with upgrade)" +msgid_plural "" +"%s%s: disconnected from %d servers (SSL connection not supported with " +"upgrade)" +msgstr[0] "" +msgstr[1] "" #, c-format msgid "" @@ -9132,6 +9133,12 @@ msgid "" "clients connected via SSL" msgstr "" +#. TRANSLATORS: "%s" after "%d" is "client" or "clients" +#, c-format +msgid "" +"%s%s: disconnected from %d %s (SSL connection not supported with upgrade)" +msgstr "" + msgid "client" msgid_plural "clients" msgstr[0] "" diff --git a/src/plugins/irc/irc.c b/src/plugins/irc/irc.c index ad1bc7357..b92baa8b8 100644 --- a/src/plugins/irc/irc.c +++ b/src/plugins/irc/irc.c @@ -146,12 +146,14 @@ irc_signal_upgrade_cb (const void *pointer, void *data, weechat_printf ( NULL, /* TRANSLATORS: "%s" after "%d" is "server" or "servers" */ - _("%s%s: disconnected from %d %s (SSL connection not supported " - "with upgrade)"), + NG_("%s%s: disconnected from %d server " + "(SSL connection not supported with upgrade)", + "%s%s: disconnected from %d servers " + "(SSL connection not supported with upgrade)", + ssl_disconnected), weechat_prefix ("error"), IRC_PLUGIN_NAME, - ssl_disconnected, - NG_("server", "servers", ssl_disconnected)); + ssl_disconnected); } return WEECHAT_RC_OK; -- cgit v1.2.3