83018 Commits

Author SHA1 Message Date
Nils Kneuper
a7aa8badba updated Chinese (Traditional) translation 2024-03-08 23:33:43 +01:00
Nils Kneuper
2998be837b updated Japanese translation 2024-03-08 23:32:12 +01:00
Nils Kneuper
623faa507b updated French translation 2024-03-08 23:31:11 +01:00
Nils Kneuper
c44759e678 updated Bengali translation 2024-03-08 23:30:14 +01:00
Nils Kneuper
c815b16b9e updated Polish translation 2024-03-08 23:26:44 +01:00
pentarctagon
1074ba704e Make sure animations are skipped when skipping animations in replays
Fixes #8227
2024-03-08 12:47:45 -06:00
Michal Fusatý
811dcd45b9
Adding myself to credits (#8470)
Based on https://wiki.wesnoth.org/SlovakTranslation
2024-03-08 12:45:49 -06:00
Steve Cotton
db36e2ffa2 updated German translation 2024-03-08 08:35:46 +01:00
Iris Morelle
f229bef40a EI: Bind translatable strings to wesnoth-units
Barrow Wight's definition includes a couple of attack name strings
from the wesnoth-units textdomain bound to wesnoth-ei by default
instead, which creates two unnecessary extra strings for translators
to translate. This change fixes this by binding these two strings to
wesnoth-units so their existing translations can be used.

(Pyre Wight does not require this change since it already uses the
wesnoth-units textdomain for the single attack name it uses.)

(cherry picked from commit d6a8c982118c9c043819688fe5c372eb0fea7330)
2024-03-07 15:13:13 +01:00
Subhraman Sarkar
95c62173a3
Bengali logo for Wesnoth (#8513)
* wesnoth logo localized to bengali

* update copyright
2024-03-07 18:26:50 +05:30
gfgtdf
851c909cd3
Fix #8460 [effect] apply_to=variation (#8475)
* Fix #8460 [effect] apply_to=variation

Previously the code could apply the variation effects
last, so that codes like
```
[effect]
  apply_to=variation
  ..
[/effect]
[effect]
  apply_to=hitpoints
  heal_full=yes
[/effect]
```
Would not set the unit hitpoints to the new variations
hitpoints because the variation effect was applied after
the healing effect.

In 1.16 this worked because healing was applied a little
too often but that lead also to bugs like #8342

* f prev

* f prev

* f prev

* f prev

* f prev

* Create modification_effect_type_variation.cfg

* Update wml_test_schedule
2024-03-07 01:25:59 +01:00
Steve Cotton
f431e724f8 wmllint: drop the rule about [campaign]rank= being a multiple of 5
The idea of using multiples of 5 seems like a way to avoid having to change
multiple campaigns' ranks at once, because it leaves space to rearrange a
mainline campaign between two other campaigns.

But enforcing "it must be a multiple of 5, even if that means changing other
campaigns" loses the advantage of using multiples. For example, WoF currently
has rank=152, which triggers the warning, which has caused a PR to be opened
that changes WoF, SoF, LoW and SotA - because keeping them in order requires
four campaigns to change.

(cherry picked from commit 42822ac374cc74515bbb253ebaf0819da4010def)
2024-03-06 08:58:08 +01:00
pentarctagon
c9a343da9d use the currently selected map's path when opening a new file
currently the editor defaults to its maps directory even when you open a map file somewhere without it being in an "add-on", for example opening a map in a mainline campaign's maps folder.
2024-03-05 19:54:28 -06:00
Iris Morelle
f8c4bf2130 gui/outro: New clock-based timing logic for the text fading
This version uses SDL_GetTicks() as a monotonic source to avoid the
previous version's pitfalls, namely the fact that the game's framerate
may not necessarily be a constant, and in particular, the old code
assumed a completely different framerate than what we ended up with
after the texture-based rendering changes in 1.17.x, resulting in an
almost-unnoticeable text fade due to the update() function being
called WAY more often than before.

Note that the reliance on SDL_GetTicks() means the timings break
at some point after 49 days of game runtime, exactly once. This
should result in a visible "jitter" effect if the 32-bits ticks value
wraps around in the middle of a fade sequence, but other than that
it's not that big of a deal to warrant requiring SDL 2.0.18+ for the
64-bit version.

(cherry picked from commit db30ca53ae32eee37f805aa4aefb3e08de65de9c)
2024-03-05 10:56:50 +01:00
Jonathan-Kelly
625f48518f WoF S11: fix wmllint error by reorganizing side 2
Since wmllint gets confused if a side's contained [ai] block comes after any of its contained [unit] blocks. This refactor should make the side 2 code block more human readable too.
2024-03-05 08:56:05 +01:00
Jonathan-Kelly
dd73e62761 WoF: add wmllint 'skip-side' magic comments 2024-03-05 08:56:05 +01:00
Jonathan-Kelly
775741c0c5 WoF: fix wrongly capitalized variable name 2024-03-05 08:56:05 +01:00
Steve Cotton
f5fe6c69f9 update German translation 2024-03-04 16:20:50 +01:00
Steve Cotton
94b71ac95b updated German translation 2024-03-03 14:48:33 +01:00
Nils Kneuper
4236144f88 updated British English translation 2024-03-03 09:18:09 +01:00
Nils Kneuper
406850813c updated Japanese translation 2024-03-02 23:42:25 +01:00
Steve Cotton
1a7dfe7969 Mark a translated string as fuzzy
The markup in it isn't parsing, which is causing CI builds to fail.
2024-03-02 21:17:53 +01:00
Nils Kneuper
ce5882732c updated Japanese translation 2024-03-02 14:51:11 +01:00
Nils Kneuper
51038de6e1 updated French translation 2024-03-02 14:49:44 +01:00
Nils Kneuper
44778b4954 updated Spanish translation 2024-03-02 14:49:00 +01:00
Iris Morelle
17bd58dd79 gui/addon_manager: Show server identification after the address
This enables the client to show the [server_id] info (for 1.16+
campaignd instances that provide the relevant fields) in the UI so
the user can more easily know which instance they are connected to
in case they do not handle that information directly themselves (e.g.
when entering a port number of their own).

The server info shown in the bottom left is changed from "<encryption
status> <server address>" to add "— <server id> (<server version>)"
right after it, with the server version in parentheses being included
only if debug mode is enabled to avoid redundancy or confusing values
(such as "wesnoth.org — 1.18 (1.17.19+dev)").
2024-03-01 22:33:31 -05:00
Iris Morelle
597a64701c addon: Add getters for the server identification 2024-03-01 22:33:31 -05:00
Steve Cotton
f7038a0b27 Use missing_mandatory_wml_tag instead of extra translatable strings
The logic is that the strings included the names of WML tags, but
weren't clear that they were WML tags, and so the tag names are
being translated.

This reverts almost all of the string changes of PR #7600, which
were in commit f5be4cffb7b34fdd2ac875cf0f76fc8db7e23cef, as well
as a few similar strings which weren't in 1.16.x.

(cherry picked from commit fb758041cab9f0d6bc79755668e0ac002bd57975)
2024-03-02 00:04:28 +01:00
Steve Cotton
d701f626c9 Multiplayer: Add a po hint about "Matchmaking"
(cherry picked from commit 8660561ad980c6133a58e5e35d465af06e238c97)
2024-03-01 22:38:27 +01:00
Steve Cotton
e5cd0185cc DM S18: Add a po hint about grammatical tense of some text
(cherry picked from commit 7ac222916adc4eaa99f4ddff20a873a703998370)
2024-03-01 22:38:27 +01:00
pentarctagon
ef972bb0a0 The method is static, but these variables can't be.
static variables are only initialized the first time they are encountered, even if they are only defined in the body of the method. therefore their value here is set to the first language used when this method is called, but won't change later if the language changes because they've already been initialized.

Fixes #8393
2024-03-01 12:41:05 +01:00
pentarctagon
60debe854c more copyright updates 2024-02-29 09:48:20 -06:00
Celtic Minstrel
d77f9ecbcc [LuaDoc] Use an alias for a sync function and declare every possible call form with @overload instead of specifying optional parameters 2024-02-29 09:16:40 -05:00
Celtic Minstrel
b7f9ccc197 [LuaDoc] Declare terrain_map index-by-location operator
Closes #8479
2024-02-29 09:15:40 -05:00
Steve Cotton
e7b22f9ced Update German translation
wesnoth-lib and wesnoth-editor from Sobek
2024-02-29 14:50:22 +01:00
pentarctagon
6cb05eaacc add graph 2024-02-29 00:00:18 -06:00
gfgtdf
5711277a02 replays: also make 'play single move' stop on end turn
previously it would excute the end turn and the next move
which made it very hard to get into the state directly
after a turn was started, epsecially in sp that often uses
side turn events this is imo desirable
2024-02-29 00:18:46 +01:00
gfgtdf
7401beb3b4 Fix replay not automatically stopping at end
The deleted line was only reached when do_replay() found an end of a replay when at_end() returned false, which can only happen in the rare case that the last replay command was a chat command
2024-02-29 00:18:46 +01:00
gfgtdf
68f1a8c8db remove unneeded map_start_ = {}
in case that we are not reloading a game map_start_ is already invalid
2024-02-29 00:18:46 +01:00
gfgtdf
713e3b05e6 dont call after_human_turn() in linger() 2024-02-29 00:18:46 +01:00
gfgtdf
a1286479f4 move victory_when_enemies_defeated around 2024-02-29 00:18:46 +01:00
Charles Dang
f1e6a0e0b1 Bump vcpkg baseline
Gives us (among other things) these updates:

Boost:             1.82                            -> 1.84
OpenSSL/libcrypto: 3.1.0a-dev (runtime 3.1.0a-dev) -> 3.2.0a-dev (runtime 3.2.0a-dev)
libcurl:           8.1.2 (runtime 8.1.2-DEV)       -> 8.6.0 (runtime 8.6.0-DEV)
Cairo:             1.17.8 (runtime 1.17.8)         -> 1.18.0 (runtime 1.18.0)
Pango:             1.50.14 (runtime 1.50.14)       -> 1.50.14 (runtime 1.50.14)
SDL:               2.26.5 (runtime 2.26.5)         -> 2.30.0 (runtime 2.30.0)
SDL_image:         2.6.3 (runtime 2.6.3)           -> 2.8.2 (runtime 2.8.2)
SDL_mixer:         2.6.3 (runtime 2.6.3)           -> 2.8.0 (runtime 2.8.0)
2024-02-28 13:18:26 -05:00
Wedge009
1c78750176 Set gold laurel first in case of only one difficulty setting.
Also use dense formatting as per existing code.
2024-02-28 14:03:52 +11:00
Wedge009
c25321b713 Remove spurious if condition. 2024-02-28 14:03:52 +11:00
Wedge009
a84561390a Keep laurel decorations consistent with difficulty level (resolves #8442). 2024-02-28 14:03:52 +11:00
pentarctagon
422fef3f3e update text post logging fix 2024-02-27 10:42:23 -06:00
newfrenchy83
bf420cd7dd update list of boost headers used in compilation 2024-02-27 15:21:11 +01:00
Tahsin Jahin Khalid
24ee61b2d3
WML tools GUI app: updated copyright (#8327)
String Change to update to year 2024
2024-02-27 11:37:03 +06:00
Iris Morelle
834c0cc670 HttT S5b: Fix duplicate loyal trait for Delurin
NAMED_LOYAL_UNIT has the loyal trait built in, so this results in an
extra copy of it being granted to the unit.

(cherry picked from commit c64777433ae35af2895adaddd1677eccd6f4541d)
2024-02-27 15:01:52 +11:00
Celtic Minstrel
a2c9d2627e [Lua] Fix obviously broken functions in ai_helper.
These functions are not used anywhere, and they have other issues besides the one fixed in this commit – they're implied to return all moves, but they only return one move for each possibly destination hex. However, this will make them at least be minimally usable.
2024-02-26 13:24:38 -05:00