Commit graph

80 commits

Author SHA1 Message Date
Steve Cotton
e272e4824f Editor help: make the named areas topic visible, make "to load ..." translatable
This corrects a pair of editing errors, thanks to Celerini for reporting them.
2021-02-08 23:40:28 +01:00
Michal Žejdl
83ef66ce32 change User to Custom to unify the help with the game 2021-02-04 13:11:49 -06:00
loonycyborg
3f8a995ee0 Revert "Fix pot-update breakage by doubling quotes"
This reverts commit 3d77d36bb0.
2021-01-16 22:37:12 +03:00
loonycyborg
3d77d36bb0 Fix pot-update breakage by doubling quotes 2021-01-16 16:33:43 +03:00
Steve Cotton
2d917fe9fa Re-enable the editor help, add docs about keyboard modifiers and the scenario editor
A couple of warnings about the scenario mode being buggy are added to the
user-visible text, find these by looking for <bold> tags within the text.

This takes all the changes to the editor documentation that were made to master
up to and including a4711ebad9. There have been no changes at all to the editor
documentation in the 1.14 branch, while there have been several updates to the
master branch that would be good to backport if the help is displayed in the
1.14 branch - this commit simply pulls the entire file into the 1.14 branch
along with enabling the editor documentation (a small change to
data/core/help.cfg, as done in commit ed611f9438).

The sound source tool isn't mentioned at all in this documentation. There is a
button for it in the 1.14 UI, but that button's only function is to say that
it's not implemented, so documentation seems unnecessary.
2021-01-06 10:26:15 +01:00
Severin Glöckner
d9ffef02a0 wesnoth-editor: remove duplicated strings
[ci skip]
2020-01-03 01:19:28 +01:00
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
436d99e261 Fix erroneous/useless [event] in [titlescreen_music], [lobby_music], [editor_music]
The playlist macros set the music list twice, once before the
story screen and again in prestart, but the order of tracks is different.

This means that the track order at the titlescreen and in the lobby is now the same
as the track order in a scenario using the default playlist, which previously was not the case.

Similarly, the track order in the editor is now the same as the track order
in a scenario using the full playlist.

Whether that actually matters? I have no idea. I doubt it.

In any case, as of this commit, there are no schema validation errors
at the title screen, when entering the MP Create screen, or in the map editor.
2018-05-19 16:29:41 -04:00
Celtic Minstrel
d43b496e69 Fix #2894 2018-05-04 21:37:14 -04:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
Gregory A Lundberg
761f323f43 Fix editor help incomplete sentence.
Replace the sentence to make it clear the Starting Tool marks both the team leader, and named special, locations.

Closes #2085.

[ci skip]
2017-10-29 11:43:05 -05: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
Celtic Minstrel
ddce21f9d0 The fill tool is not evil! 2017-03-06 20:32:06 -05:00
Hironori Fujimoto
168e514144 help(editor): fix duplication of text attribute 2017-03-04 16:58:20 +11:00
Charles Dang
dfabf72030 Revert "Remove multiplayer/ inclusion from editor"
This reverts commit 872444a28c.
2015-10-10 03:47:01 +11:00
Charles Dang
872444a28c Remove multiplayer/ inclusion from editor 2015-10-09 15:22:14 +11:00
Ignacio R. Morelle
9ca00bdac6 wmlindent pass 2015-04-07 21:07:30 -03:00
Charles Dang
9fb7a063fc Fixed a typo 2015-03-30 12:18:12 +11:00
Charles Dang
18932077ba Don't draw box around editor logo, and wrap text around it 2015-03-17 05:39:50 +11:00
Charles Dang
571999462f Corrected an incorrect brush name 2015-03-06 23:40:55 +11:00
Charles Dang
f4cf1c6ea6 'Map/Scenario Editor' -> 'Map and Scenario Editor' 2015-03-03 19:08:23 +11:00
Charles Dang
f8a2514763 Bunch of work on improving the editor help 2015-03-03 02:27:38 +11:00
Charles Dang
9e8645a068 Fixup b6b6bc12a6, additional cleanup 2015-03-01 13:50:05 +11:00
Charles Dang
b6b6bc12a6 Cleaned up editor help file a bit 2015-02-28 18:36:55 +11:00
Ignacio R. Morelle
e571ee9b7f Fix incorrectly-escaped WML quotes causing wmlxgettext to emit invalid pots 2015-01-23 16:21:27 -03:00
Charles Dang
fd63f49fe4 Some cleanup and formatting to the editor Overview topic. More TODO 2015-01-19 17:05:45 +11:00
Charles Dang
7a4b4fda82 Added extra newline before editor toplevel topic list for consistency 2015-01-19 16:07:53 +11:00
Charles Dang
e0bc25a701 Ran wmlindent on core 2015-01-18 03:25:49 +11:00
fendrin
ddfb600ffb Included two more icon images into the editor help section. 2014-10-19 09:47:13 +02:00
fendrin
302d53fca8 A rough framework for an editor help section.
Still contains a lot non-sense and stubs.
2014-10-16 03:11:00 +02:00
Ignacio R. Morelle
62ae2ff5e3 Some spelling/grammar fixes for the editor help text
Still not wmllint-clean, mostly because of help markup issues since
there is no wmllint-visible parent [help] tag to skip spellchecking.

(See also bug #22780.)
2014-10-11 01:59:18 -03:00
Ignacio R. Morelle
455e13ffcc wmlindent pass on data/core/ 2014-07-02 21:41:24 -04:00
fendrin
8e12b18891 First topic of an editor help section. 2014-03-12 19:22:10 +01: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
c8e7659fba Just a change in a comment. 2013-12-31 12:53:57 +01:00
fendrin
a564eda0c1 Remove everything related to [editor_tool_hint].
This tag is obsolete for ages and most likely not used by any UMC
designer.
2013-12-31 12:29:44 +01:00
fendrin
af9ced64b1 Some prose corrections by Espreon. 2013-12-31 11:21:55 +01:00
fendrin
78b87f1b96 Empty time schedule for the editor. 2013-12-30 12:35:57 +01:00
fendrin
c9a13819d1 [item] definition for all mainline artwork in items and scenery. 2013-12-30 09:33:10 +01:00
fendrin
2709197594 Refactored the time of day schedule related images and macros.
This moves the after the fall schedule into core to grant that the
debian package wesnoth-editor does not depend on wesnoth-utbs.

Also, the images now life in their own subdirectories.

Wmllint has been updated to take care about the changed paths.
2013-12-22 07:32:12 +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
50682aa251 Adds the indoors schedule. 2013-05-28 22:18:46 +02:00
fendrin
c345286087 Added more ToD schedules. 2013-05-28 21:41:01 +02:00
fendrin
3b86a00756 Made use of lipkab's new full playlist. 2013-05-26 22:26:20 +02:00