Severin Glöckner
f3022f69e4
wmllint: WoV is no add-on anymore
...
[ci skip]
2019-09-23 21:36:15 +02:00
Severin Glöckner
d87461dff9
wmllint: teach about new argument of disallow_end_turn
...
[ci skip]
2019-09-23 20:03:24 +02:00
Celtic Minstrel
15f431785a
Add [special_note] tag in [unit_type] as a neater way of specifying special notes for the unit's description
2019-09-12 08:51:05 -04:00
Elvish_Hunter
853ae430ce
wmllint: the correct package name for spellchecking is python3-enchant
2019-09-06 11:01:33 +02:00
Celtic Minstrel
8ce01da249
wmllint: Treat .mask files as maps
2019-09-02 12:48:01 -04:00
Celtic Minstrel
9be9dd931d
wmllint: Fix some warnings detected by pylint
2019-09-02 12:47:58 -04:00
Steve Cotton
d6cac0c4e7
wmllint: Handle nested events and other things with filters in the death check ( closes #4085 )
...
The main reason for moving this to a separate function was to make the
per-event variables local to that function.
(cherry picked from commit 7e69da7f68
)
2019-06-13 19:26:50 +02:00
Steve Cotton
269b89f2e3
wmllint: Make a separate function for checking for units speaking in their die events
...
This just moves the existing code, and adds a todo for handling in a later commit.
(cherry picked from commit a3cf683348
)
2019-06-13 19:26:50 +02:00
Severin Glöckner
055e793da6
wmllint: fix error in orcish leader rules
...
introduced in aa71482
[ci_skip]
2019-06-13 18:27:34 +02:00
Severin Glöckner
aa714827be
wmlinit rules for renaming orcish leader images
...
[ci skip]
2019-05-01 21:46:30 +02:00
Edward Chernenko
d5d23fb523
wmllint: fix "local variable 'unit_id' referenced before assignment"
...
In global_sanity_check(), variables "unit_id" and "base_unit" can be
used before assignment. This happens, for example, in this WML file:
https://github.com/Dugy/Legend_of_the_Invincibles/blob/master/utils/amla.cfg#L65
... where there is a [/unit_type] tag without the matching [unit_type].
(these variables are normally initialized when [unit_type] is found)
2019-01-22 11:56:37 +11:00
Elvish_Hunter
2addd69a34
wmllint: fixed a bug that caused misfires in translation mark warnings
...
wmllint was checking for line instead of lines[i]
2018-10-14 12:11:19 +03:00
Elvish_Hunter
fd26be92e0
wmllint: fixed non-empty tagstack errors due to [modify_ai] paths
2018-10-14 12:11:19 +03:00
Elvish_Hunter
fe26f513b8
wmllint: add translation mark only after the first equal sign
...
Fixes #3489
2018-10-14 12:11:19 +03:00
Elvish_Hunter
338d190563
wmllint: added [lua] to the allowed children of [if]
...
(cherry-picked from commit b1ec52cab8
)
2018-10-07 03:24:10 +00:00
Elvish_Hunter
236ca25832
wmllint: don't even try to convert _info.cfg
...
(cherry-picked from commit 6e696661fd
)
2018-10-07 03:24:10 +00:00
Elvish_Hunter
46f9d93c4c
wmllint: do not warn about unknown IDs in [tunnel], except inside of [filter]
...
(cherry-picked from commit 2d045f2a6a
)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
2b0bbd8280
wmllint: do not warn about unknown IDs in [remove_event]
...
(cherry-picked from commit 2dda3280c1
)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
87999f68b4
wmllint: do not warn about unknown IDs in [aspect]
...
(cherry-picked from commit 9b5c0dda5c
)
2018-10-07 03:24:09 +00:00
Elvish_Hunter
ef51a288d8
wmllint: avoid inserting image=wesnoth-icon.png if there's already an image
...
(cherry-picked from commit 3b8a684551
)
2018-10-07 03:24:05 +00:00
Elvish_Hunter
8fe84b9815
wmllint: fixed 'unknown id' errors in [fire_event] referred to event IDs
...
(cherry-picked from commit c08963a2e7
)
2018-10-07 03:24:05 +00:00
Elvish_Hunter
4b81eb5081
wmllint: fixed a regex that didn't match augmentation tags
...
(cherry-picked from commit cc178ad474
)
2018-10-07 03:24:04 +00:00
Elvish_Hunter
8b32f89a1f
wmllint: added side_name to the list of translatable keys
...
(cherry-picked from commit 8bea419899
)
2018-10-07 03:24:04 +00:00
Elvish_Hunter
f25f1316cc
wmllint: added a missing conversion rule for the Qatif-al-nar unit
...
(cherry-picked from commit 3caf128378
)
2018-10-07 03:24:04 +00:00
Martin Hrubý (hrubymar10)
674fda85b7
Migrate links to https if available - Fwd c18537edc0
...
(cherry-picked from commit bc4d22dc72
)
2018-10-07 03:23:36 +00:00
Iris Morelle
6d4d48e540
wmllint: Exit with non-zero status after failing to read any directories
...
[ci skip]
(cherry-picked from commit ceca46c553
)
2018-10-07 03:23:01 +00:00
Iris Morelle
54a3546f1e
wmllint: Skip inexistent paths passed in the command line
...
Fixes issue #3286 .
[ci skip]
(cherry-picked from commit fbc9ac5a52
)
2018-10-07 03:23:01 +00:00
Severin Glöckner
7afb8a8a41
wmllint: add campaign abilites & specials
...
So far only stun was in the list
[ci skip]
(cherry-picked from commit ed46bc1d2b
)
2018-10-07 03:21:10 +00:00
Charles Dang
471c9e876a
Addressed a large chunk of the whitespace issues from #2613
...
[ci skip]
2018-03-09 11:37:00 +11:00
pentarctagon
dc21c42683
Renames the Dunefolk(formerly Khalifate) units based on forum discussions.
...
See this thread, along with a few linked within:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47704
The purpose of this is both to:
a) Make the unit names more descriptive, so new players especially will have an easier time learning them and knowing what they do.
b) Make them eligible for translation, like the units of other factions are.
This commit only renames the files, along with the faction/AoH faction and wmllint.
2018-02-04 11:46:50 +11:00
pentarctagon
5b31b87f6a
MP: Renames the Khalifate to Dunefolk.
...
Part of an effort to make the faction better fit into Wesnoth. See:
https://forums.wesnoth.org/viewtopic.php?f=12&t=47643
https://forums.wesnoth.org/viewtopic.php?f=12&t=47703
2018-01-19 17:28:40 -05:00
Elvish_Hunter
aa4024fda9
wmllint: remove UTF-8 BOM characters from cfg files
2017-10-02 21:30:00 +02:00
Charles Dang
5a62b43dc8
wmllint: added SotA to mainline campaigns list
2017-03-18 20:08:39 +11:00
Celtic Minstrel
a53ba5a1c2
wmllint: fix minor issue in terrain alias replacements
...
Also ran wmllint on data/core
2017-02-11 20:18:57 -05:00
Celtic Minstrel
1e9454b6f9
Rename type_tree to type_adv_tree in SUF
...
This matches the usage in the [hide_help] tag.
2017-02-11 20:18:57 -05:00
Celtic Minstrel
6ebfa8b377
wmllint: Fix type_tree being considered translatable
2016-11-05 12:01:52 -04:00
Elvish_Hunter
33e03a5b8b
wmllint: added base_names and help_text to the list of translatable keys
2016-10-26 20:20:05 +02:00
Elvish_Hunter
59d815dcf1
wmllint: handle SPECIAL_NOTES_DEFENSE_CAP
...
Also silenced a wmllint warning that this commit throws on the Chocobone unit.
2016-09-14 21:35:41 +02:00
Charles Dang
41145a783c
wmllint rules for 20b90a29fa
2016-06-30 18:29:50 +11:00
Elvish_Hunter
d7b2fad190
wmllint: fix unknown IDs in [generator] tag
2016-06-12 12:12:07 +02:00
Elvish_Hunter
85f1869e56
wmllint: fix unknown IDs in OptionWML tags
2016-06-12 12:12:07 +02:00
Elvish_Hunter
ee12780360
wmllint: handle new name generator syntax
2016-06-12 12:12:07 +02:00
Elvish_Hunter
2b3d54d5f4
wmllint: handle HelpWML markup correctly while spellchecking
...
This fixes bug #22780 , as well as several false positives when checking the /data/core/editor/help.cfg file.
2016-06-10 12:01:15 +02:00
sigurdfdragon
a199eec22e
wmllint: add missing instructions for "#wmllint: skip-side".
...
Thanks to Elvish_Hunter for telling me what it supposed to do.
2016-06-07 16:35:01 -04:00
aquileia
809e61db88
Python scripts: Unify encoding magic comments
2016-05-03 22:12:19 +02:00
Elvish_Hunter
2c5763216b
wmllint: added female_text to the translatable keys
...
Also removed a few wmllint directives that I placed to handle female_text.
2016-03-24 20:43:17 +01:00
Elvish_Hunter
dcee0e1805
wmllint: added male_message and female_message to translatable keys
2016-03-24 20:26:44 +01:00
Elvish_Hunter
15777e35e0
wmllint: added rule to handle removal of small portraits
2016-03-24 20:26:44 +01:00
Ignacio R. Morelle
1aaa341e35
wmllint: Ignore id in [trait] for unit id checks
2015-11-06 00:09:34 -03:00
Ignacio R. Morelle
851eddfd5e
Restore executable bit on WML tools
2015-10-30 02:43:02 -03:00