Validate all translations contain valid text events

This commit is contained in:
Patrick Griffis 2018-04-03 16:08:27 -04:00
parent 5ca767f7f8
commit 5cd70622aa
56 changed files with 146 additions and 77 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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(),
]
)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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..."

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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