Using xgettext to pick up Lua strings
Bug #1520900 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Suggestion by MiroslavR:
> You can get pgettext to work with the official xgettext if you pass these arguments to it:
> --keyword=
We should try this for the textdomains that use Lua exclusively. It would also be interesting to ses if we can adapt this to parse pngettext as well.
Related branches
lp:~miroslavr256/widelands/official-lua-xgettext
- GunChleoc: Approve
-
Diff: 4582 lines (+680/-937)135 files modifiedtribes/buildings/militarysites/atlanteans/castle/helptexts.lua (+3/-3)
tribes/buildings/militarysites/atlanteans/guardhall/helptexts.lua (+3/-3)
tribes/buildings/militarysites/atlanteans/guardhouse/helptexts.lua (+3/-3)
tribes/buildings/militarysites/atlanteans/tower/helptexts.lua (+3/-3)
tribes/buildings/militarysites/atlanteans/tower_high/helptexts.lua (+3/-3)
tribes/buildings/militarysites/atlanteans/tower_small/helptexts.lua (+3/-3)
tribes/buildings/militarysites/barbarians/barrier/helptexts.lua (+3/-3)
tribes/buildings/militarysites/barbarians/citadel/helptexts.lua (+3/-3)
tribes/buildings/militarysites/barbarians/fortress/helptexts.lua (+3/-3)
tribes/buildings/militarysites/barbarians/sentry/helptexts.lua (+3/-3)
tribes/buildings/militarysites/barbarians/tower/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/barrier/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/blockhouse/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/castle/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/fortress/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/outpost/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/sentry/helptexts.lua (+3/-3)
tribes/buildings/militarysites/empire/tower/helptexts.lua (+3/-3)
tribes/buildings/partially_finished/constructionsite/helptexts.lua (+4/-4)
tribes/buildings/partially_finished/dismantlesite/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/armorsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/bakery/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/blackroot_farm/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/charcoal_kiln/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/coalmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/crystalmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/farm/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/fishbreeders_house/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/fishers_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/foresters_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/gold_spinning_mill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/goldmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/horsefarm/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/hunters_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/ironmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/mill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/quarry/helptexts.lua (+3/-3)
tribes/buildings/productionsites/atlanteans/sawmill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/scouts_house/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/shipyard/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/smelting_works/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/smokery/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/spiderfarm/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/toolsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/weaponsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/weaving_mill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/well/helptexts.lua (+4/-4)
tribes/buildings/productionsites/atlanteans/woodcutters_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/bakery/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/big_inn/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/brewery/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/cattlefarm/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/charcoal_kiln/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/coalmine/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/coalmine_deep/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/coalmine_deeper/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/farm/helptexts.lua (+3/-3)
tribes/buildings/productionsites/barbarians/fishers_hut/helptexts.lua (+1/-1)
tribes/buildings/productionsites/barbarians/gamekeepers_hut/helptexts.lua (+1/-1)
tribes/buildings/productionsites/barbarians/helmsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/inn/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/micro_brewery/helptexts.lua (+1/-1)
tribes/buildings/productionsites/barbarians/quarry/helptexts.lua (+2/-2)
tribes/buildings/productionsites/barbarians/scouts_hut/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/shipyard/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/smelting_works/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/tavern/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/weaving_mill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/barbarians/well/helptexts.lua (+1/-1)
tribes/buildings/productionsites/barbarians/wood_hardener/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/armorsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/bakery/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/brewery/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/charcoal_kiln/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/coalmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/coalmine_deep/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/donkeyfarm/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/farm/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/fishers_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/foresters_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/goldmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/goldmine_deep/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/hunters_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/inn/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/ironmine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/ironmine_deep/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/lumberjacks_house/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/marblemine/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/marblemine_deep/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/mill/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/piggery/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/quarry/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/sawmill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/scouts_house/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/sheepfarm/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/shipyard/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/smelting_works/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/stonemasons_house/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/tavern/helptexts.lua (+3/-3)
tribes/buildings/productionsites/empire/toolsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/vineyard/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/weaponsmithy/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/weaving_mill/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/well/helptexts.lua (+4/-4)
tribes/buildings/productionsites/empire/winery/helptexts.lua (+4/-4)
tribes/buildings/trainingsites/atlanteans/dungeon/helptexts.lua (+4/-4)
tribes/buildings/trainingsites/atlanteans/labyrinth/helptexts.lua (+4/-4)
tribes/buildings/trainingsites/empire/arena/helptexts.lua (+3/-3)
tribes/buildings/trainingsites/empire/colosseum/helptexts.lua (+3/-3)
tribes/buildings/trainingsites/empire/trainingcamp/helptexts.lua (+3/-3)
tribes/buildings/warehouses/atlanteans/headquarters/helptexts.lua (+3/-3)
tribes/buildings/warehouses/atlanteans/port/helptexts.lua (+4/-4)
tribes/buildings/warehouses/atlanteans/warehouse/helptexts.lua (+4/-4)
tribes/buildings/warehouses/barbarians/headquarters/helptexts.lua (+3/-3)
tribes/buildings/warehouses/barbarians/headquarters_interim/helptexts.lua (+3/-3)
tribes/buildings/warehouses/barbarians/port/helptexts.lua (+4/-4)
tribes/buildings/warehouses/barbarians/warehouse/helptexts.lua (+4/-4)
tribes/buildings/warehouses/empire/headquarters/helptexts.lua (+3/-3)
tribes/buildings/warehouses/empire/headquarters_shipwreck/helptexts.lua (+3/-3)
tribes/buildings/warehouses/empire/port/helptexts.lua (+4/-4)
tribes/buildings/warehouses/empire/warehouse/helptexts.lua (+4/-4)
tribes/immovables/resi_coal1/helptexts.lua (+1/-1)
tribes/immovables/resi_coal2/helptexts.lua (+1/-1)
tribes/immovables/resi_gold1/helptexts.lua (+1/-1)
tribes/immovables/resi_gold2/helptexts.lua (+1/-1)
tribes/immovables/resi_iron1/helptexts.lua (+1/-1)
tribes/immovables/resi_iron2/helptexts.lua (+1/-1)
tribes/immovables/resi_none/helptexts.lua (+1/-1)
tribes/immovables/resi_stones1/helptexts.lua (+3/-3)
tribes/immovables/resi_stones2/helptexts.lua (+3/-3)
tribes/immovables/resi_water1/helptexts.lua (+1/-1)
txts/developers.json (+2/-1)
utils/buildcat.py (+142/-19)
utils/confgettext.py (+103/-100)
utils/lua_xgettext.py (+0/-384)
Changed in widelands: | |
status: | New → Fix Committed |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in build19-rc1.