Commit graph

13 commits

Author SHA1 Message Date
Iris Morelle
dc18d65e04 Fix item names in the scenario editor not being localized
data/core/editor/items.cfg defines the names for the items. The file is
included by data/core/editor/_main.cfg, which has a #textdomain binding
to wesnoth-editor at the top. The strings end up bound to that
textdomain by the game, but wmlxgettext doesn’t have any way to see this
so it binds them to the default textdomain instead, which is wesnoth,
not wesnoth-editor. The game ends up looking for the strings in
wesnoth-editor instead.

The easiest solution right now is to explicitly bind items.cfg to the
wesnoth textdomain so as to not require moving catalogue entries in the
po files around to wesnoth-editor. It really should've been
wesnoth-editor in the first place but it's too late to fix that now
without giving translators a migraine. It's a pity either way given how
useless the scenario editor is in practice.

[ci skip]
2019-01-26 14:10:45 -03:00
Celtic Minstrel
308ad7de09 Improve editor groups interface
- Load group icons from the binary path
  This was already half supported due to moving to GUI2.
- [editor_group] deprecated in favour of [terrain_group]
- Don't force a prefix on the icon path (still forces a suffix though)
- [race]editor_icon allows setting the icons for race groups
- Mark the core [item_group]s as core
2017-05-11 21:51:42 -04:00
Espreon
8d16e1630c leanto.png depicts a lean-to; not a lectern. 2013-12-31 21:42:01 -05:00
Bär Halberkamp
ef2bdfbc12 Ran wmlindent 2013-12-31 19:22:28 +01:00
fendrin
6d783d5bfb Named the leanto.png item "Lectern". 2013-12-31 14:47:25 +01:00
fendrin
af9ced64b1 Some prose corrections by Espreon. 2013-12-31 11:21:55 +01:00
fendrin
c9a13819d1 [item] definition for all mainline artwork in items and scenery. 2013-12-30 09:33:10 +01:00
Alexander van Gessel
38b224c1ff Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
This reverts commit 23b72d6956.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956 Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
This reverts commit 5fa5c03411, reversing
changes made to 06374c64ba.
2013-08-08 18:50:46 +02:00
Alexander van Gessel
0738a4e59c make reindent minus some wmlindent issues 2013-08-04 23:22:56 +02:00
Ignacio R. Morelle
b813c53134 Add missing newlines at EOF in WML files
Issue detected by wmllint.
2013-06-25 05:42:37 -04:00
fendrin
1f94b40846 Wired in the item group icons. 2013-06-09 12:54:47 +02:00
fendrin
db9a469310 Implemented the editor item tool. 2013-05-24 05:44:58 +02:00