On Nils' advice, from now on I'm going to report PO problems for trunk, not
1.6 branch (who intended to fix problems in 1.6 fixed them already).

No new checks (except extending markup check to new Pango markup), but I've
reworked things a bit under the hood, so stand guard for false alarms.

It's also easy to perform the checks locally (e.g. if you want to check 1.6
branch). To set up:

  $ cd $SOMEWHERE
  $ svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-support/pology
  $ export PATH=$SOMEWHERE/pology/scripts:$PATH

and to run:

  $ posieve --skip-obsolete check-tp-wesnoth $WESNOTH/trunk/po/*/LANG.po

You can also add -s showmsg parameter, to have the complete problematic
message output, with highlighting, rather than just the error message.

-- 
Chusslove Illich (Часлав Илић)
po/wesnoth-anl/cs.po:634(#77)[msgstr]: missing interpolations: $player_ 
$side_number
po/wesnoth-anl/et.po:365(#47)[msgstr]: missing interpolations: $sm_player_name
po/wesnoth-anl/et.po:375(#48)[msgstr]: missing interpolations: $sw_player_name
po/wesnoth-anl/it.po:348(#47)[msgstr]: missing interpolations: $sm_player_name
po/wesnoth-anl/ru.po:373(#47)[msgstr]: missing interpolations: $sm_player_name
po/wesnoth-dm/de.po:152(#23)[msgstr:0]: missing leading space
po/wesnoth-dm/de.po:157(#24)[msgstr:0]: missing leading space
po/wesnoth-dm/de.po:162(#25)[msgstr:0]: missing leading space
po/wesnoth-httt/et.po:7925(#1050)[msgstr:84:"/em>"]: (Pango markup) mismatched 
tag
po/wesnoth-l/cs.po:431(#58)[msgstr]: missing interpolations: $unit.name
po/wesnoth-lib/ar.po:2577(#492)[msgstr]: missing interpolations: $terrain
po/wesnoth-lib/fr.po:1217(#186)[msgstr:9]: missing trailing space
po/wesnoth-lib/fr.po:1222(#187)[msgstr:20]: missing trailing space
po/wesnoth-lib/fr.po:1823(#319)[msgstr:44]: missing trailing space
po/wesnoth-lib/ru.po:1217(#186)[msgstr:7]: missing trailing space
po/wesnoth-lib/ru.po:1222(#187)[msgstr:13]: missing trailing space
po/wesnoth-lib/ru.po:1818(#319)[msgstr:27]: missing trailing space
po/wesnoth-lib/ru.po:1826(#321)[msgstr:13]: missing trailing space
po/wesnoth-lib/ru.po:1866(#331)[msgstr:27]: missing trailing space
po/wesnoth-lib/sk.po:1203(#186)[msgstr:6]: missing trailing space
po/wesnoth-lib/sk.po:1414(#224)[msgstr:6]: missing trailing space
po/wesnoth-lib/sk.po:1430(#228)[msgstr:5]: missing trailing space
po/wesnoth-lib/sk.po:1798(#318)[msgstr:9]: missing trailing space
po/wesnoth-lib/zh_CN.po:1991(#363)[msgstr]: missing interpolations: $id
po/wesnoth-low/sk.po:870(#117)[msgstr:0]: missing leading space
po/wesnoth-low/sk.po:2085(#291)[msgstr:0]: extra leading space
po/wesnoth-multiplayer/fr.po:1104(#97)[msgstr:0]: missing leading space
po/wesnoth-multiplayer/fr.po:1263(#117)[msgstr:0]: missing leading space
po/wesnoth-multiplayer/fr.po:1309(#122)[msgstr:0]: missing leading space
po/wesnoth-multiplayer/fr.po:1349(#129)[msgstr:0]: missing leading space
po/wesnoth-multiplayer/ru.po:1329(#129)[msgstr:0]: missing leading space
po/wesnoth-nr/cs.po:4567(#603)[msgstr]: missing interpolations: 
$betrayed_friend.name
po/wesnoth-nr/cs.po:7376(#952)[msgstr]: missing interpolations: 
$betrayed_friend.name
po/wesnoth-nr/de.po:5673(#727)[msgstr:0]: extra leading space
po/wesnoth-nr/fr.po:2706(#329)[msgstr:0]: missing leading space
po/wesnoth-nr/fr.po:3149(#393)[msgstr:0]: missing leading space
po/wesnoth-nr/fr.po:5011(#645)[msgstr:0]: missing leading space
po/wesnoth-nr/fr.po:5773(#742)[msgstr:0]: missing leading space
po/wesnoth-nr/fr.po:10133(#1279)[msgstr:0]: missing leading space
po/wesnoth-nr/fr.po:10962(#1395)[msgstr:0]: missing leading space
po/wesnoth-nr/ru.po:9877(#1392)[msgstr:0]: missing leading space
po/wesnoth-nr/ru.po:9892(#1395)[msgstr:0]: missing leading space
po/wesnoth-sof/it.po:3321(#435)[msgstr]: missing interpolations: $turnsleft
po/wesnoth-sof/ja.po:569(#72)[msgstr]: missing interpolations: $incominggold
po/wesnoth-sof/ja.po:574(#73)[msgstr]: missing interpolations: $incominggold
po/wesnoth-sof/ja.po:3229(#435)[msgstr]: missing interpolations: $turnsleft
po/wesnoth-sof/sk.po:728(#95)[msgstr:0]: missing leading space
po/wesnoth-sotbe/cs.po:2759(#370)[msgstr]: missing interpolations: $unit.name
po/wesnoth-sotbe/de.po:3143(#572)[msgstr:0]: missing leading space
po/wesnoth-sotbe/ru.po:746(#86)[msgstr:0]: missing leading space
po/wesnoth-sotbe/ru.po:2005(#263)[msgstr:0]: missing leading space
po/wesnoth-sotbe/ru.po:2762(#375)[msgstr:0]: missing leading space
po/wesnoth-sotbe/sk.po:402(#35)[msgstr:0]: missing leading space
po/wesnoth-sotbe/sk.po:782(#86)[msgstr:0]: missing leading space
po/wesnoth-sotbe/sk.po:2126(#263)[msgstr:0]: missing leading space
po/wesnoth-tb/el.po:839(#126)[msgstr]: missing interpolations: 
$second_password_2
po/wesnoth-thot/fr.po:2687(#345)[msgstr:0]: missing leading space
po/wesnoth-thot/sk.po:2673(#345)[msgstr:0]: missing leading space
po/wesnoth-trow/de.po:927(#141)[msgstr:0]: extra leading space
po/wesnoth-trow/de.po:5403(#990)[msgstr:0]: extra leading space
po/wesnoth-tutorial/ca.po:1284(#157)[msgstr]: missing interpolations: 
$recruit.language_name
po/wesnoth-tutorial/en_GB.po:396(#52)[msgstr:6:"^"]: stray context separator
po/wesnoth-tutorial/es.po:1667(#209)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/es.po:1677(#210)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/es.po:1705(#213)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/fr.po:1257(#157)[msgstr:0]: extra leading space
po/wesnoth-tutorial/gl.po:1203(#153)[msgstr]: missing interpolations: 
$recruit.language_name
po/wesnoth-tutorial/gl.po:1230(#157)[msgstr]: missing interpolations: 
$recruit.language_name
po/wesnoth-tutorial/gl.po:1650(#209)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/he.po:917(#130)[msgstr]: missing interpolations: 
$recall_name1
po/wesnoth-tutorial/ja.po:1263(#153)[msgstr]: missing interpolations: 
$recruit.language_name
po/wesnoth-tutorial/ja.po:1288(#157)[msgstr]: missing interpolations: 
$recruit.language_name
po/wesnoth-tutorial/racv.po:1095(#130)[msgstr]: missing interpolations: 
$recall_name1
po/wesnoth-tutorial/racv.po:1211(#146)[msgstr]: missing interpolations: 
$recall_name2
po/wesnoth-tutorial/sk.po:687(#86)[msgstr:0]: missing leading space
po/wesnoth-tutorial/sk.po:696(#87)[msgstr:0]: missing leading space
po/wesnoth-tutorial/zh_CN.po:705(#92)[msgstr:55:"^"]: stray context separator
po/wesnoth-tutorial/zh_CN.po:967(#128)[msgstr]: missing interpolations: 
$recall_name1
po/wesnoth-tutorial/zh_CN.po:982(#130)[msgstr]: missing interpolations: 
$recall_name1
po/wesnoth-tutorial/zh_CN.po:1531(#209)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/zh_CN.po:1540(#210)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/zh_CN.po:1565(#213)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/zh_TW.po:380(#51)[msgstr]: missing interpolations: 
$hp_difference
po/wesnoth-tutorial/zh_TW.po:387(#52)[msgstr]: missing interpolations: 
$hp_difference
po/wesnoth-tutorial/zh_TW.po:1533(#209)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/zh_TW.po:1542(#210)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-tutorial/zh_TW.po:1565(#213)[msgstr]: missing interpolations: 
$deadguy.name
po/wesnoth-units/ca.po:2732(#260)[msgstr:12:"^"]: stray context separator
po/wesnoth-units/el.po:2878(#260)[msgstr:12:"^"]: stray context separator
po/wesnoth-units/fr.po:2704(#260)[msgstr:0]: missing leading space
po/wesnoth-units/racv.po:2718(#260)[msgstr:12:"^"]: stray context separator
po/wesnoth-units/ru.po:2646(#260)[msgstr:0]: missing leading space
po/wesnoth-utbs/ca.po:15098(#1721)[msgstr:12:"^"]: stray context separator
po/wesnoth-utbs/ca.po:15132(#1725)[msgstr:12:"^"]: stray context separator
po/wesnoth-utbs/ca.po:15270(#1743)[msgstr:12:"^"]: stray context separator
po/wesnoth-utbs/ca.po:15297(#1746)[msgstr:12:"^"]: stray context separator
po/wesnoth-utbs/cs.po:8475(#1043)[msgstr]: missing interpolations: $speaker.name
po/wesnoth-utbs/cs.po:8501(#1047)[msgstr]: missing interpolations: 
$intl_ally_name
po/wesnoth-utbs/da.po:8071(#990)[msgstr]: unknown interpolations: 
$intl_ally_namevil $ally_name
po/wesnoth-utbs/da.po:13839(#1625)[msgstr]: unknown interpolations: 
$intl_ally_names
po/wesnoth-utbs/de.po:7369(#1343)[msgstr:0]: extra leading space
po/wesnoth-utbs/fr.po:8334(#991)[msgstr:0]: missing leading space
po/wesnoth-utbs/fr.po:15365(#1721)[msgstr:0]: missing leading space
po/wesnoth-utbs/fr.po:15397(#1725)[msgstr:0]: missing leading space
po/wesnoth-utbs/fr.po:15522(#1741)[msgstr:0]: missing leading space
po/wesnoth-utbs/fr.po:15532(#1743)[msgstr:0]: missing leading space
po/wesnoth-utbs/fr.po:15558(#1746)[msgstr:0]: missing leading space
po/wesnoth-utbs/hu.po:2813(#360)[msgstr]: missing interpolations: $elven_camps
po/wesnoth-utbs/ru.po:10617(#1385)[msgstr:0]: extra leading space
po/wesnoth-utbs/sk.po:8137(#991)[msgstr:0]: missing leading space
po/wesnoth-utbs/sk.po:15728(#1803)[msgstr:0]: missing leading space
po/wesnoth-utbs/sk.po:15734(#1804)[msgstr:0]: missing leading space
po/wesnoth-utbs/sv.po:2887(#360)[msgstr]: missing interpolations: $elven_camps
po/wesnoth/bg.po:1035(#136)[msgstr:660:"от "]: 'от' is not an attribute of tag 
'italic'
po/wesnoth/bg.po:1227(#146)[msgstr:297:"на "]: 'на' is not an attribute of tag 
'italic'
po/wesnoth/ca.po:8361(#1095)[msgstr]: missing interpolations: $domain
po/wesnoth/[email protected]:1737(#189)[msgstr:130:"'"]: '' is not an attribute 
of tag 'ref'
po/wesnoth/[email protected]:8343(#1095)[msgstr]: missing interpolations: 
$domain
po/wesnoth/cs.po:1278(#150)[msgstr:37:"dst'"]: no equal sign after attribute
po/wesnoth/cs.po:1565(#175)[msgstr]: missing links: 'ability_heals +8'
po/wesnoth/cs.po:9730(#1312)[msgstr]: missing interpolations: $tag1
po/wesnoth/da.po:8013(#917)[msgstr:22:"der "]: 'der' is not an attribute of tag 
'header'
po/wesnoth/da.po:8017(#918)[msgstr:22:"der "]: 'der' is not an attribute of tag 
'header'
po/wesnoth/da.po:8128(#945)[msgstr:22:"af "]: 'af' is not an attribute of tag 
'header'
po/wesnoth/el.po:6142(#738)[msgstr_1]: missing interpolations: $enemies
po/wesnoth/el.po:8156(#1190)[msgstr]: missing interpolations: $login
po/wesnoth/el.po:8544(#1278)[msgstr]: missing interpolations: $name
po/wesnoth/eo.po:1200(#146)[msgstr]: unknown links: 'terrain'
po/wesnoth/et.po:1159(#143)[msgstr:23:"arv "]: 'arv' is not an attribute of tag 
'header'
po/wesnoth/et.po:7090(#741)[msgstr]: missing interpolations: $enemyphrase 
$friendphrase
po/wesnoth/et.po:8350(#1024)[msgstr_0]: unknown interpolations: $gold
po/wesnoth/et.po:8350(#1024)[msgstr_1]: missing interpolations: $cost
po/wesnoth/eu.po:4817(#597)[msgstr]: unknown interpolations: $nameko
po/wesnoth/fi.po:1277(#150)[msgstr]: missing links: '..abilities_section'
po/wesnoth/fi.po:1560(#175)[msgstr]: missing links: 'ability_heals +8'
po/wesnoth/fi.po:9754(#1312)[msgstr]: missing interpolations: $tag1
po/wesnoth/fr.po:716(#110)[msgstr]: missing links: '..abilities_section'
po/wesnoth/fr.po:7266(#737)[msgstr_0:0]: extra leading space
po/wesnoth/fr.po:7266(#737)[msgstr_1:0]: extra leading space
po/wesnoth/fr.po:7272(#738)[msgstr_0:0]: extra leading space
po/wesnoth/fr.po:7272(#738)[msgstr_1:0]: extra leading space
po/wesnoth/fr.po:8039(#905)[msgstr:18]: missing trailing space
po/wesnoth/fr.po:8043(#906)[msgstr:16]: missing trailing space
po/wesnoth/fr.po:8119(#924)[msgstr:20]: missing trailing space
po/wesnoth/fr.po:8139(#929)[msgstr:27]: missing trailing space
po/wesnoth/fr.po:8215(#948)[msgstr:30]: missing trailing space
po/wesnoth/fr.po:8227(#951)[msgstr:53]: missing trailing space
po/wesnoth/fr.po:8608(#1037)[msgstr:0]: missing leading space
po/wesnoth/fr.po:8879(#1098)[msgstr:27]: missing trailing space
po/wesnoth/he.po:846(#120)[msgstr]: missing links: '..traits_section'
po/wesnoth/he.po:1001(#136)[msgstr:574:"שטח"]: end of tag content within 
attribute
po/wesnoth/he.po:1661(#185)[msgstr]: missing links: '..abilities_section' 
'..traits_section'
po/wesnoth/he.po:2363(#254)[msgstr]: missing links: 'terrain_illuminated_cave'
po/wesnoth/he.po:2388(#256)[msgstr]: missing links: 'terrain_illuminated_cave'
po/wesnoth/he.po:6308(#738)[msgstr_1]: missing interpolations: $enemies
po/wesnoth/he.po:6320(#740)[msgstr_1]: missing interpolations: $enemies
po/wesnoth/he.po:6326(#741)[msgstr]: missing interpolations: $enemyphrase 
$friendphrase
po/wesnoth/he.po:6429(#764)[msgstr]: unknown interpolations: $error
po/wesnoth/id.po:8953(#1103)[msgstr]: missing interpolations: $side
po/wesnoth/ja.po:6956(#737)[msgstr_0]: missing interpolations: $friends
po/wesnoth/ja.po:6961(#738)[msgstr_0]: missing interpolations: $enemies
po/wesnoth/lv.po:678(#109)[msgstr:263:"mantinieks\""]: 'mantinieks' is not an 
attribute of tag 'italic'
po/wesnoth/lv.po:7754(#1157)[msgstr]: missing interpolations: $era
po/wesnoth/nb_NO.po:1002(#136)[msgstr]: unknown links: 'terrain'
po/wesnoth/nb_NO.po:1178(#146)[msgstr]: unknown links: 'terrain'
po/wesnoth/pt_BR.po:6593(#737)[msgstr_1]: missing interpolations: $friends
po/wesnoth/racv.po:1208(#145)[msgstr:31:"encert'"]: 'encert' is not an 
attribute of tag 'header'
po/wesnoth/racv.po:1219(#146)[msgstr:272:"Unitat'"]: 'Unitat' is not an 
attribute of tag 'italic'
po/wesnoth/racv.po:7418(#761)[msgstr]: missing interpolations: $error
po/wesnoth/racv.po:8240(#945)[msgstr:24:"esta "]: 'esta' is not an attribute of 
tag 'header'
po/wesnoth/ru.po:4861(#473)[msgstr:0]: missing leading space
po/wesnoth/ru.po:4876(#475)[msgstr:0]: missing leading space
po/wesnoth/ru.po:7793(#881)[msgstr:25]: missing trailing space
po/wesnoth/ru.po:7797(#882)[msgstr:7]: missing trailing space
po/wesnoth/ru.po:7801(#883)[msgstr:15]: missing trailing space
po/wesnoth/ru.po:8004(#927)[msgstr:5]: missing trailing space
po/wesnoth/ru.po:8464(#1032)[msgstr:6]: missing trailing space
po/wesnoth/ru.po:8870(#1126)[msgstr:0]: missing leading space
po/wesnoth/ru.po:8956(#1145)[msgstr:10]: missing trailing space
po/wesnoth/ru.po:9157(#1194)[msgstr:7]: missing trailing space
po/wesnoth/ru.po:9196(#1203)[msgstr:11]: missing trailing space
po/wesnoth/ru.po:9216(#1208)[msgstr:0]: missing leading space
po/wesnoth/ru.po:9307(#1229)[msgstr:22]: missing trailing space
po/wesnoth/ru.po:9339(#1237)[msgstr:13]: missing trailing space
po/wesnoth/ru.po:9407(#1253)[msgstr:31]: missing trailing space
po/wesnoth/ru.po:9488(#1270)[msgstr:44]: missing trailing space
po/wesnoth/ru.po:9917(#1367)[msgstr:2]: missing trailing space
po/wesnoth/sk.po:7760(#882)[msgstr:6]: missing trailing space
po/wesnoth/sk.po:7764(#883)[msgstr:10]: missing trailing space
po/wesnoth/sk.po:7768(#884)[msgstr:8]: missing trailing space
po/wesnoth/sk.po:7772(#885)[msgstr:11]: missing trailing space
po/wesnoth/sk.po:9173(#1208)[msgstr:0]: missing leading space
po/wesnoth/sk.po:9891(#1371)[msgstr:0]: missing leading space
po/wesnoth/zh_CN.po:6700(#739)[msgstr_0]: unknown interpolations: $1
po/wesnoth/zh_CN.po:6804(#761)[msgstr]: missing interpolations: $error
po/wesnoth/zh_CN.po:8913(#1257)[msgstr]: missing interpolations: $scenario
po/wesnoth/zh_CN.po:8938(#1263)[msgstr:53:"^"]: stray context separator
po/wesnoth/zh_TW.po:695(#110)[msgstr]: missing links: '..abilities_section'
po/wesnoth/zh_TW.po:783(#118)[msgstr]: missing links: '..units'
po/wesnoth/zh_TW.po:820(#120)[msgstr]: missing links: '..traits_section'
po/wesnoth/zh_TW.po:1184(#150)[msgstr]: missing links: '..abilities_section'
po/wesnoth/zh_TW.po:1444(#175)[msgstr]: missing links: 'ability_heals +8' 
'ability_heals +4'
po/wesnoth/zh_TW.po:1569(#185)[msgstr]: missing links: '..abilities_section' 
'..traits_section'
po/wesnoth/zh_TW.po:1995(#232)[msgstr]: missing links: 'terrain_flat'
po/wesnoth/zh_TW.po:2236(#254)[msgstr]: missing links: 
'terrain_illuminated_cave'
po/wesnoth/zh_TW.po:2260(#256)[msgstr]: missing links: 
'terrain_illuminated_cave'
po/wesnoth/zh_TW.po:2396(#268)[msgstr]: missing links: 'terrain_unwalkable'
po/wesnoth/zh_TW.po:6585(#739)[msgstr_0]: unknown interpolations: $1
po/wesnoth/zh_TW.po:6688(#761)[msgstr]: missing interpolations: $error
po/wesnoth/zh_TW.po:6718(#768)[msgstr]: missing interpolations: $addon_title
po/wesnoth/zh_TW.po:8798(#1257)[msgstr]: missing interpolations: $scenario
po/wesnoth/zh_TW.po:9068(#1317)[msgstr]: missing interpolations: $value
Total BfW problems in translation: 212

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Wesnoth-i18n mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-i18n

Reply via email to