Commit graph

84096 commits

Author SHA1 Message Date
Severin Glöckner
564c96a7e9 terrain2wiki tool: python 3.12 compatibility 2024-06-08 20:56:21 +02:00
Nils Kneuper
066419efba updated Chinese (Simplified) translation 2024-06-08 15:42:38 +02:00
Nils Kneuper
052452bf3b updated Japanese translation 2024-06-08 15:41:37 +02:00
Nils Kneuper
39dcc41750 updated French translation 2024-06-08 15:40:42 +02:00
Nils Kneuper
28a772ae8f updated Czech translation 2024-06-08 15:39:46 +02:00
Nils Kneuper
334b748990 updated Bengali translation 2024-06-08 15:38:28 +02:00
Subhraman Sarkar
c12bb8ef69
replace deprecated CURLOPT_PROTOCOLS with CURLOPT_PROTOCOLS_STR (#8958)
* replace deprecated CURLOPT_PROTOCOLS with CURLOPT_PROTOCOLS_STR
* use conditional compilation for curl 7.85.0
2024-06-08 14:15:06 +05:30
newfrenchy83
1809af8cdf
Modify 'apply_to' in an ability filter to do an inclusion check for resistance abilities
Instead of needing to contain the exact string from the ability, 'apply_to' in the filter is now taken as a comma-separated list, where all elements need to be present in the ability.
For example if we filter for apply_to=fire,arcane given an ability [resistance]apply_to=arcane, fire, cold, it will match.
For an ability [resistance]apply_to=arcane, impact, cold, this will not match because 'fire' is missing.
2024-06-07 18:08:43 +02:00
newfrenchy83
2c13a67fa6 Fix sidebar always showing text for [damage_type]alternative_type=
When any of the images is missing, a text description is shown as a fallback.
The bug being fixed is that the search for the secondary PNGs used the basename
with neither the directory nor the ".png".

The existence of the files controls a single conditional block, but was using
three bools with two dedicated to single files and one shared between all the
alternate files. This changes it to a single bool shared between all files for
clarity.
2024-06-07 17:02:33 +02:00
Subhraman Sarkar
43f5644e36
Rich Text Label widget for Help Browser GUI2 port (#8655)
A rich text label widget that can show text marked up with help markup.
Also includes the GUI Test Window, accessible in the title screen after launching wesnoth using --clock option. It can be used as dialog template/example or as a place to test GUI2 code.
2024-06-06 16:33:37 +05:30
newfrenchy83
9dd2d5d94b
Use type_adv_tree in some filters to support addons adding advancements to existing unit types (#8895) 2024-06-05 11:49:33 +02:00
Dalas121
ebbe03dc6c
EI: use fancy script for "Part II" "Part III" storytext (#8941)
In add-on form, EI used images to display "Part II" and "Part III". For translation reasons this got replaced with ugly title_text when the add-on went mainline.

This PR once again makes the "Part II" "Part III" storytext more fancy, while maintaining translatability.
2024-06-04 20:03:40 -05:00
Dalas121
f442e09e05
EI S10: specify that Owaec can recruit (#8950)
https://www.reddit.com/r/wesnoth/comments/1d6a3e7/eastern_invasion_is_much_better_but_still_bad/?rdt=58522

Owaec has a leader icon, but it's not made explicit that he can recruit units. In most scenarios that doesn't matter, but in S10 he becomes isolated from Gweddry and must recruit to survive.

Note that there's already a '[show_objectives][/show_objectives]' when 'orcs_attacking' is set.
2024-06-04 20:01:36 -05:00
Gunter Labes
f2d22d6364
Fix indentation 2024-06-04 23:15:49 +02:00
newfrenchy83
84c62456a3 Fix sidebar's display of attacks with damage_type specials
When a [damage_type] affected an attack, the old code assumed that it would have an alternative_type.
If that assumption failed, it would add ("type_" + an empty string), causing "UNTLB type_" to be shown
in the sidebar.

UNTLB is itself a shorthand for "untranslatable", see language.cpp for an explanation.
2024-06-03 17:15:18 +02:00
Gunter Labes
f4e8635723 Implement table sorting without tablesorter.js
This allows getting rid of a bunch of dependencies for minimal own code.
2024-06-03 17:08:33 +02:00
Steve Cotton
d7542c5ec4 Fix the whitespace error 2024-06-02 15:15:22 +02:00
Dalas121
28f93b4b8d
EI: use "bonus objective" instead of "optional objective" (#8947)
"optional" may imply that the scenario will be completed once this objective is finished, which is not accurate for these scenarios.
2024-06-01 17:57:19 -05:00
Dalas121
e293e9874d
EI S06b: clarify bonus objectives
https://forums.wesnoth.org/viewtopic.php?p=690528#p690528

Old verbiage suggested that the scenario would be won as soon as you moved any unit next to Yannic, and didn't give any indication that he'd need to be protected.
2024-06-01 17:49:46 -05:00
Nils Kneuper
a2851f5ca6 updated British English translation 2024-06-01 14:38:36 +02:00
Nils Kneuper
fea253ef0b updated Bengali translation 2024-06-01 14:37:16 +02:00
Nils Kneuper
efa1da31d9 updated French translation 2024-06-01 14:36:27 +02:00
Nils Kneuper
198423debb updated Chinese (Simplified) translation 2024-06-01 14:35:21 +02:00
Severin Glöckner
049706efda Add [part]text_alignment= to schema 2024-05-31 19:07:13 -04:00
pentarctagon
1629258d9b fix for targeting macos 10.12
note that this will no longer be possible once macos-12 is removed from CI eventually
2024-05-31 11:33:07 -05:00
Wedge009
858df2d491 SoF S6: Apply @doofus-01's proposal to remove reference to finding Alanin when he is already present among the dwarves.
Resolves #8311.

[ci skip]
2024-05-30 22:37:49 -05:00
Wedge009
d3624f4df4 HttT tip: Change Delfador's quote date to the start of HttT, as requested by @Konrad22.
There's no particular reason why Delfador should say this during HttT, but perhaps it will make the connection to the campaign clearer.

Closes #8365.

[ci skip]
2024-05-30 22:37:32 -05:00
gfgtdf
5ef08cee71 remove deprecated controller=<number>
This was deprecated back in 1.13.1
2024-05-27 21:13:09 +02:00
Subhraman Sarkar
5d06a8f463 putting into test textdomain so schema CI check can suceed 2024-05-27 19:41:31 +05:30
Wedge009
e3aeab3f27 Game version dialogue: Don't mark links for translation.
[ci skip]
2024-05-26 21:27:34 -04:00
Charles Dang
78620c7d61 GUI2/Addon Manager: make addon id more prominent, debug-only
It wasn't visible enough for people for whom it was useful, and too visible for people for whom it was not.
2024-05-26 18:18:11 -04:00
pentarctagon
279c7daa33 1.19.0+dev 2024-05-26 15:16:01 -05:00
pentarctagon
d39e42b672 1.19.0 2024-05-26 15:13:59 -05:00
pentarctagon
397779f9dd pot-update and regenerate doc files 2024-05-26 15:10:25 -05:00
pentarctagon
b3247d3dfc changelog_entries 2024-05-26 15:06:55 -05:00
pentarctagon
2a243de31d ignore generated about.wiki 2024-05-26 15:01:24 -05:00
pentarctagon
94e216fb90 ignore generated macro-reference.html 2024-05-26 14:59:42 -05:00
Steve Cotton
7217f90039 Update changelog
Add entries for Git commits that are visible to players or UMC authors,
but which don't already have a file in the changelog_entries directory.
2024-05-26 14:52:39 -05:00
Jonathan-Kelly
e47a012623 Mudcrawlers better in swamp, worse in buildings
Resolves #8823
2024-05-26 12:17:25 -05:00
Jonathan-Kelly
c45d94e0f7
WoF S8: clarify objective notes (#8906) 2024-05-26 08:25:15 -04:00
newfrenchy83
9fc5887ae9 'value' attribute in [experimental_filter_ability(_active)] can have 'default' value 2024-05-26 13:48:45 +02:00
Nils Kneuper
6fe64d5cd7 updated Ukrainian translation 2024-05-26 11:44:28 +02:00
Nils Kneuper
013bad1093 updated French translation 2024-05-26 11:43:43 +02:00
white-haired-uncle
4b9c92a87f
set buttons inactive when irrelevant (#8920) 2024-05-26 03:31:28 -04:00
Subhraman Sarkar
bd36e29ffa
add changelog entries (#8922) 2024-05-26 11:29:37 +05:30
Subhraman Sarkar
da7e57422e
make sure bullets in about dialog use a font that has those character (#8921) 2024-05-26 11:29:07 +05:30
Steve Cotton
c2072f201d gui/language_selection: Rephrase text about becoming a translator
The link with details about individual compaigns is useful to players,
even if they aren't looking to become translators. So move it upwards.

The text about first-time players seemed confusing to me, as the choice
is already limited to languages that the player can read. Reworded it,
but after discussion in the PR, neither version was better than just
removing it.
2024-05-26 04:09:34 +02:00
Charles Dang
6c885c5db4 GUI2/Story Screen: only use area between images for Skip text 2024-05-25 02:45:42 -04:00
Charles Dang
7f814b1e7e GUI2/Game Load: don't flip the unknown unit image 2024-05-25 02:44:47 -04:00
Charles Dang
310919b464 Fixup b548e7348d 2024-05-25 02:44:26 -04:00