diff options
-rw-r--r-- | po/af.po | 2 | ||||
-rw-r--r-- | po/am.po | 2 | ||||
-rw-r--r-- | po/ast.po | 2 | ||||
-rw-r--r-- | po/az.po | 2 | ||||
-rw-r--r-- | po/be.po | 2 | ||||
-rw-r--r-- | po/bg.po | 2 | ||||
-rw-r--r-- | po/ca.po | 2 | ||||
-rw-r--r-- | po/cs.po | 2 | ||||
-rw-r--r-- | po/da.po | 4 | ||||
-rw-r--r-- | po/de.po | 4 | ||||
-rw-r--r-- | po/el.po | 2 | ||||
-rw-r--r-- | po/en_GB.po | 4 | ||||
-rw-r--r-- | po/es.po | 4 | ||||
-rw-r--r-- | po/et.po | 2 | ||||
-rw-r--r-- | po/eu.po | 2 | ||||
-rw-r--r-- | po/fi.po | 2 | ||||
-rw-r--r-- | po/fr.po | 4 | ||||
-rw-r--r-- | po/gl.po | 2 | ||||
-rw-r--r-- | po/gu.po | 2 | ||||
-rw-r--r-- | po/hi.po | 2 | ||||
-rw-r--r-- | po/hu.po | 4 | ||||
-rw-r--r-- | po/id.po | 4 | ||||
-rw-r--r-- | po/it.po | 4 | ||||
-rw-r--r-- | po/ja_JP.po | 2 | ||||
-rw-r--r-- | po/kn.po | 2 | ||||
-rw-r--r-- | po/ko.po | 4 | ||||
-rw-r--r-- | po/lt.po | 6 | ||||
-rw-r--r-- | po/lv.po | 2 | ||||
-rw-r--r-- | po/meson.build | 8 | ||||
-rw-r--r-- | po/mk.po | 4 | ||||
-rw-r--r-- | po/ml.po | 2 | ||||
-rw-r--r-- | po/ms.po | 2 | ||||
-rw-r--r-- | po/nb.po | 4 | ||||
-rw-r--r-- | po/nl.po | 2 | ||||
-rw-r--r-- | po/no.po | 2 | ||||
-rw-r--r-- | po/pa.po | 2 | ||||
-rw-r--r-- | po/pl.po | 4 | ||||
-rw-r--r-- | po/pt.po | 4 | ||||
-rw-r--r-- | po/pt_BR.po | 4 | ||||
-rw-r--r-- | po/ru.po | 2 | ||||
-rw-r--r-- | po/rw.po | 2 | ||||
-rw-r--r-- | po/sk.po | 2 | ||||
-rw-r--r-- | po/sl.po | 4 | ||||
-rw-r--r-- | po/sq.po | 4 | ||||
-rw-r--r-- | po/sr.po | 2 | ||||
-rw-r--r-- | po/sr@latin.po | 2 | ||||
-rw-r--r-- | po/sv.po | 4 | ||||
-rw-r--r-- | po/th.po | 2 | ||||
-rw-r--r-- | po/tr.po | 8 | ||||
-rw-r--r-- | po/uk.po | 2 | ||||
-rwxr-xr-x | po/validate-textevent-translations | 61 | ||||
-rw-r--r-- | po/vi.po | 2 | ||||
-rw-r--r-- | po/wa.po | 2 | ||||
-rw-r--r-- | po/zh_CN.po | 4 | ||||
-rw-r--r-- | po/zh_TW.po | 2 | ||||
-rw-r--r-- | src/common/textevents.in | 2 |
56 files changed, 146 insertions, 77 deletions
diff --git a/po/af.po b/po/af.po index d2fbafc9..4674e0ab 100644 --- a/po/af.po +++ b/po/af.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/am.po b/po/am.po index fe58bbee..0873e68e 100644 --- a/po/am.po +++ b/po/am.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/ast.po b/po/ast.po index 6f3b52c6..9a8e97e7 100644 --- a/po/ast.po +++ b/po/ast.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/az.po b/po/az.po index ffab3e2a..31ec8099 100644 --- a/po/az.po +++ b/po/az.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/be.po b/po/be.po index d722d308..e0e3d666 100644 --- a/po/be.po +++ b/po/be.po @@ -1143,7 +1143,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/bg.po b/po/bg.po index a21a1142..8decffbe 100644 --- a/po/bg.po +++ b/po/bg.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/ca.po b/po/ca.po index 70b0e796..fd5bd754 100644 --- a/po/ca.po +++ b/po/ca.po @@ -1150,7 +1150,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/cs.po b/po/cs.po index e2bd51be..26e7ff17 100644 --- a/po/cs.po +++ b/po/cs.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/da.po b/po/da.po index bd28ee44..2aed751e 100644 --- a/po/da.po +++ b/po/da.po @@ -1155,8 +1155,8 @@ msgstr "%C16,17 Type Til/fra Status Størrelse Pla Fil" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tModtog en forkert udformet DCC-anmodning fra %C18$1%O.%010%C23*%O$tIndhold af pakke: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tModtog en forkert udformet DCC-anmodning fra %C18$1%O.$a010%C23*%O$tIndhold af pakke: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/de.po b/po/de.po index 7f597ddb..cb292c72 100644 --- a/po/de.po +++ b/po/de.po @@ -1164,8 +1164,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tFehlformatierte DCC Anforderung von %C18$1%O.%010%C23*%O$tInhalt des Pakets: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tFehlformatierte DCC Anforderung von %C18$1%O.$a010%C23*%O$tInhalt des Pakets: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/el.po b/po/el.po index 2e46efa5..1e602e48 100644 --- a/po/el.po +++ b/po/el.po @@ -1151,7 +1151,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/en_GB.po b/po/en_GB.po index b422c1d0..65455e74 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -1150,8 +1150,8 @@ msgstr "%C16,17 Type To/From Status Size Pos File" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tReceived a malformed DCC request from %C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tReceived a malformed DCC request from %C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/es.po b/po/es.po index 7743a923..61a3e0ac 100644 --- a/po/es.po +++ b/po/es.po @@ -1154,8 +1154,8 @@ msgstr "%C16,17 Tipo Hacia/Desde Estado Tamaño Pos Archivo" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tRecibida una petición DCC malformada de %C18$1%O.%010%C23*%O$tContenido del paquete: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tRecibida una petición DCC malformada de %C18$1%O.$a010%C23*%O$tContenido del paquete: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/et.po b/po/et.po index 9fa11db9..e54bf179 100644 --- a/po/et.po +++ b/po/et.po @@ -1147,7 +1147,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/eu.po b/po/eu.po index 2bbd5da6..4aa180cb 100644 --- a/po/eu.po +++ b/po/eu.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/fi.po b/po/fi.po index 129b8e32..132d32fd 100644 --- a/po/fi.po +++ b/po/fi.po @@ -1145,7 +1145,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/fr.po b/po/fr.po index 7cfa8b51..4699bb73 100644 --- a/po/fr.po +++ b/po/fr.po @@ -1152,8 +1152,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tRéception d'une requête DCC mal formée de %C18$1%O.%010%C23*%O$tContenu de la trame : %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tRéception d'une requête DCC mal formée de %C18$1%O.$a010%C23*%O$tContenu de la trame : %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/gl.po b/po/gl.po index 289c7671..07672adc 100644 --- a/po/gl.po +++ b/po/gl.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/gu.po b/po/gu.po index 803a9a08..b35ebe40 100644 --- a/po/gu.po +++ b/po/gu.po @@ -1143,7 +1143,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/hi.po b/po/hi.po index 904979ce..09624bf9 100644 --- a/po/hi.po +++ b/po/hi.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/hu.po b/po/hu.po index 57f72b9b..3addde6e 100644 --- a/po/hu.po +++ b/po/hu.po @@ -1149,8 +1149,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tÉrvénytelen formátumú DCC kérés érkezett %C18$1%O felől.%010%C23*%O$tA csomag tartalma: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tÉrvénytelen formátumú DCC kérés érkezett %C18$1%O felől.$a010%C23*%O$tA csomag tartalma: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/id.po b/po/id.po index 4ad33239..ae041596 100644 --- a/po/id.po +++ b/po/id.po @@ -1147,8 +1147,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tMenerima permintaan DCC cacat dari %C18$1%O.%010%C23*%O$tPaket konten: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tMenerima permintaan DCC cacat dari %C18$1%O.$a010%C23*%O$tPaket konten: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/it.po b/po/it.po index 38ef7768..0b03f7e9 100644 --- a/po/it.po +++ b/po/it.po @@ -1148,8 +1148,8 @@ msgstr "%C16,17 Tipo A/Da Stato Dim Pos File" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tRicevuta una richiesta DCC mal formata da %C18$1%O.%010%C23*%O$tContenuto del pacchetto: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tRicevuta una richiesta DCC mal formata da %C18$1%O.$a010%C23*%O$tContenuto del pacchetto: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/ja_JP.po b/po/ja_JP.po index ddfc5420..7f2e3eda 100644 --- a/po/ja_JP.po +++ b/po/ja_JP.po @@ -1149,7 +1149,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/kn.po b/po/kn.po index e4de0e2d..a085d376 100644 --- a/po/kn.po +++ b/po/kn.po @@ -1145,7 +1145,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/ko.po b/po/ko.po index 93a83e44..6e1b93bc 100644 --- a/po/ko.po +++ b/po/ko.po @@ -1146,8 +1146,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$t%C18$1%O님에게 잘못된 DCC 요청을 받았습니다.%010%C23*%O$t패킷 내용: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$t%C18$1%O님에게 잘못된 DCC 요청을 받았습니다.$a010%C23*%O$t패킷 내용: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/lt.po b/po/lt.po index 140b80a5..9fa013e7 100644 --- a/po/lt.po +++ b/po/lt.po @@ -1150,8 +1150,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tGauta netaisyklinga DCC užklausa nuo %C18$1%O.%010%C23*%O$tPaketo turinys: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tGauta netaisyklinga DCC užklausa nuo %C18$1%O.$a010%C23*%O$tPaketo turinys: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" @@ -1229,7 +1229,7 @@ msgstr "%C24*%O$t%C18$1%O ištrinta iš pranešimų sąrašo." #: src/common/textevents.h:223 msgid "%C20*%O$tDisconnected (%C20$1%O)" -msgstr "%C20*%O$Atsijungta (%C20$1%O)" +msgstr "%C20*%O$tAtsijungta (%C20$1%O)" #: src/common/textevents.h:226 msgid "%C24*%O$tFound your IP: %C30[%C24$1%C30]%O" diff --git a/po/lv.po b/po/lv.po index 0d3d5517..38968c8c 100644 --- a/po/lv.po +++ b/po/lv.po @@ -1145,7 +1145,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/meson.build b/po/meson.build index 6631148a..9b5cd4aa 100644 --- a/po/meson.build +++ b/po/meson.build @@ -1 +1,9 @@ i18n.gettext('hexchat', preset: 'glib') + +validate_translations = find_program('validate-textevent-translations') +test('Validate translations', validate_translations, + args: [ + files('LINGUAS'), + meson.current_source_dir(), + ] +) \ No newline at end of file diff --git a/po/mk.po b/po/mk.po index bde3e561..04f4d56e 100644 --- a/po/mk.po +++ b/po/mk.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 @@ -1315,7 +1315,7 @@ msgstr "" #: src/common/textevents.h:304 msgid "$tNotify list is empty." -msgstr "$Листата за известување е празна." +msgstr "$tЛистата за известување е празна." #: src/common/textevents.h:307 #, c-format diff --git a/po/ml.po b/po/ml.po index ec96d0e1..daccb6bd 100644 --- a/po/ml.po +++ b/po/ml.po @@ -1148,7 +1148,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/ms.po b/po/ms.po index c7a01e59..b1e0d509 100644 --- a/po/ms.po +++ b/po/ms.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/nb.po b/po/nb.po index 877d7d2c..24c9f6af 100644 --- a/po/nb.po +++ b/po/nb.po @@ -1152,8 +1152,8 @@ msgstr "%C16,17 Type Til/fra Status Størrelse Pos Fil" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tMottok en ugyldig DCC-forespørsel fra %C18$1%O.%010%C23*%O$tPakkeinnholdet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tMottok en ugyldig DCC-forespørsel fra %C18$1%O.$a010%C23*%O$tPakkeinnholdet: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/nl.po b/po/nl.po index ffb0ee52..88c884d6 100644 --- a/po/nl.po +++ b/po/nl.po @@ -1149,7 +1149,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/no.po b/po/no.po index eb61f3ac..6a95ce5f 100644 --- a/po/no.po +++ b/po/no.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/pa.po b/po/pa.po index cdabef26..dbd3f226 100644 --- a/po/pa.po +++ b/po/pa.po @@ -1145,7 +1145,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/pl.po b/po/pl.po index 3b45413d..9dd70713 100644 --- a/po/pl.po +++ b/po/pl.po @@ -1156,8 +1156,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tOtrzymano uszkodzone żądanie czatu bezpośredniego od %C18$1%O.%010%C23*%O$tZawartość pakietu: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tOtrzymano uszkodzone żądanie czatu bezpośredniego od %C18$1%O.$a010%C23*%O$tZawartość pakietu: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/pt.po b/po/pt.po index e2cfe76f..30b5bf14 100644 --- a/po/pt.po +++ b/po/pt.po @@ -1147,8 +1147,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tRecebido pedido mal-formado DCC de %C18$1%O.%010%C23*%O$tConteúdo do pacote: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tRecebido pedido mal-formado DCC de %C18$1%O.$a010%C23*%O$tConteúdo do pacote: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/pt_BR.po b/po/pt_BR.po index f9ab5775..c0db5434 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -1151,8 +1151,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tVocê recebeu um pedido de DCC mal formado vindo de %C18$1%O.%010%C23*%O$tConteúdo dos pacotes: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tVocê recebeu um pedido de DCC mal formado vindo de %C18$1%O.$a010%C23*%O$tConteúdo dos pacotes: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/ru.po b/po/ru.po index 40f5e4b6..f35e679b 100644 --- a/po/ru.po +++ b/po/ru.po @@ -1157,7 +1157,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/rw.po b/po/rw.po index 88948a20..102c8be1 100644 --- a/po/rw.po +++ b/po/rw.po @@ -1152,7 +1152,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/sk.po b/po/sk.po index 633eb8b8..d8913aed 100644 --- a/po/sk.po +++ b/po/sk.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/sl.po b/po/sl.po index df6afb93..4299baa1 100644 --- a/po/sl.po +++ b/po/sl.po @@ -1148,7 +1148,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 @@ -1319,7 +1319,7 @@ msgstr "" #: src/common/textevents.h:304 msgid "$tNotify list is empty." -msgstr "Seznam za obveščanje je prazen." +msgstr "$tSeznam za obveščanje je prazen." #: src/common/textevents.h:307 #, c-format diff --git a/po/sq.po b/po/sq.po index 006860ba..4c8461e2 100644 --- a/po/sq.po +++ b/po/sq.po @@ -1147,8 +1147,8 @@ msgstr "%C16,17 Lloj Për/Nga Gjendje Madhësi Poz Kartelë" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tU mor një kërkesë DCC e keqformuar nga %C18$1%O.%010%C23*%O$tLënda e paketës: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tU mor një kërkesë DCC e keqformuar nga %C18$1%O.$a010%C23*%O$tLënda e paketës: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/sr.po b/po/sr.po index 932c684d..1389ddb4 100644 --- a/po/sr.po +++ b/po/sr.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/sr@latin.po b/po/sr@latin.po index 623c5600..c951d06e 100644 --- a/po/sr@latin.po +++ b/po/sr@latin.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/sv.po b/po/sv.po index f80e72ac..32817e27 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1154,8 +1154,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$tTog emot en felaktigt formulerad DCC begäran från %C18$1%O.%010%C23*%O$tPaketets innehåll: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$tTog emot en felaktigt formulerad DCC begäran från %C18$1%O.$a010%C23*%O$tPaketets innehåll: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/th.po b/po/th.po index a26464bf..68f08da1 100644 --- a/po/th.po +++ b/po/th.po @@ -1145,7 +1145,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/tr.po b/po/tr.po index c47f88fc..e3a856d5 100644 --- a/po/tr.po +++ b/po/tr.po @@ -1016,7 +1016,7 @@ msgstr "%C22*%O$t%C26$1%O, %C18$2%O'dan kanal yarı operatör durumunu kaldırı #: src/common/textevents.h:49 msgid "%C22*%O$t%C26$1%O removes channel operator status from %C18$2%O" -msgstr "% C22 *% O $ t% C26 $ 1% kanal operatörünün durumunu% C18'den kaldırır% 2 $ O" +msgstr "%C22*%O$t%C26$1%O kanal operatörünün durumunu 'den kaldırır %C18$2%O" #: src/common/textevents.h:52 msgid "%C22*%O$t%C26$1%O removes voice from %C18$2%O" @@ -1163,8 +1163,8 @@ msgstr "%C16,17 Tip To/From Durum Boyut Kon Dosya" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$t%C18$1%O.%010%C23*%O dan bozuk bir DCC isteği alındı$tPaket içeriği: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$t%C18$1%O.$a010%C23*%O dan bozuk bir DCC isteği alındı$tPaket içeriği: %C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" @@ -1386,7 +1386,7 @@ msgstr "%C24*%O$t%C26$1%C %C30[%C24$2%C30]%O kiplerini ayarladı" #: src/common/textevents.h:355 msgid "%O-%C29$1/Wallops%O-$t$2" -msgstr "% O-% C29 $ 1 / Wallops% O- $ t $ 2" +msgstr "%O-%C29$1/Wallops%O-$t$2" #: src/common/textevents.h:358 msgid "%C24*%O$tLooking up IP number for %C18$1%O..." diff --git a/po/uk.po b/po/uk.po index 80a9df32..1406114d 100644 --- a/po/uk.po +++ b/po/uk.po @@ -1146,7 +1146,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/validate-textevent-translations b/po/validate-textevent-translations new file mode 100755 index 00000000..c9c6e6a3 --- /dev/null +++ b/po/validate-textevent-translations @@ -0,0 +1,61 @@ +#!/usr/bin/env python3 + +import os +import re +import sys + +ret = 0 + + +def validate_translation(input, translation): + if not translation: + return True + + if re.findall(r'(?:(?<!%)%[^%OCRUHBIH]|\$[^at1234])', translation): + print('Translation includes invalid formatting:', translation) + + in_vars = re.findall(r'(\$(?:\d|t))', input) + if not all(var in translation for var in in_vars): + print('Translation does not contain all variables:', translation) + return False + + in_ascii = re.findall(r'\$a(\d{3})', translation) + if any(int(i) > 256 for i in in_ascii): + print('Translation contains invalid ascii value:') + return False + + # We could try to validate colors but that is pretty flexible + return True + + +def validate_language(path): + global ret + + print('Validating', path) + + with open(path, 'r') as f: + in_event = False + event_input = '' + + for line in f: + if 'textevents.h' in line: + in_event = True + elif in_event is False: + continue + elif line.startswith('msgid'): + event_input = line[7:-2] + elif line.startswith('msgstr'): + if not validate_translation(event_input, line[8:-2]): + ret = 1 + in_event = False + elif line == '\n': + print('Failed to find translation for', event_input) + in_event = False + + +with open(sys.argv[1], 'r') as linguas: + for lang in linguas: + path = os.path.join(sys.argv[2], lang.strip() + '.po') + validate_language(path) + +sys.exit(ret) diff --git a/po/vi.po b/po/vi.po index 409536c2..00598fcf 100644 --- a/po/vi.po +++ b/po/vi.po @@ -1143,7 +1143,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/wa.po b/po/wa.po index cdfe5578..0d05fffb 100644 --- a/po/wa.po +++ b/po/wa.po @@ -1144,7 +1144,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/po/zh_CN.po b/po/zh_CN.po index 8c9d5121..0442538f 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -1157,8 +1157,8 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" -msgstr "%C20*%O$t 收到来自 %C18$1%O 的有错的 DCC 请求。%010%C23*%O$t 数据包内容:%C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" +msgstr "%C20*%O$t 收到来自 %C18$1%O 的有错的 DCC 请求。$a010%C23*%O$t 数据包内容:%C23$2%O" #: src/common/textevents.h:172 msgid "%C24*%O$tOffering '%C24$1%O' to %C18$2%O" diff --git a/po/zh_TW.po b/po/zh_TW.po index 5da5513f..a5302d49 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -1152,7 +1152,7 @@ msgstr "" #: src/common/textevents.h:169 msgid "" "%C20*%O$tReceived a malformed DCC request from " -"%C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O" +"%C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O" msgstr "" #: src/common/textevents.h:172 diff --git a/src/common/textevents.in b/src/common/textevents.in index e4405ca3..9790c18d 100644 --- a/src/common/textevents.in +++ b/src/common/textevents.in @@ -325,7 +325,7 @@ pevt_generic_none_help DCC Malformed XP_TE_MALFORMED pevt_malformed_help -%C20*%O$tReceived a malformed DCC request from %C18$1%O.%010%C23*%O$tContents of packet: %C23$2%O +%C20*%O$tReceived a malformed DCC request from %C18$1%O.$a010%C23*%O$tContents of packet: %C23$2%O 2 DCC Offer |