Jonathan G Rennison
864d2352c2
Fix: Integer overflow in LinkGraphOverlay::ShowTooltip for long links
...
In particular when fully zoomed in
This could result in tooltips not being shown at all, or being shown
when not appropriate
2023-07-16 10:10:04 +02:00
translators
756c469b8f
Update: Translations from eints
...
english (au): 20 changes by krysclarke
swedish: 2 changes by SkogisREAL
japanese: 2 changes by fmang
welsh: 1 change by Ansbaradigeidfran
english (us): 2 changes by 2TallTyler
galician: 2 changes by pvillaverde
vietnamese: 2 changes by KhoiCanDev
korean: 8 changes by telk5093
hungarian: 1 change by PstasDev
indonesian: 1 change by ecolortest
italian: 2 changes by Rivarossi
german: 2 changes by Wuzzy2
russian: 9 changes by Ln-Wolf
finnish: 2 changes by hpiirai
catalan: 2 changes by J0anJosep
turkish: 2 changes by densxd
danish: 2 changes by bscargo
dutch: 2 changes by Afoklala
french: 2 changes by ZarTek-Creole
portuguese: 28 changes by azulcosta
esperanto: 2 changes by legoscia
portuguese (brazilian): 2 changes by ericandradex
polish: 2 changes by pAter-exe
2023-07-15 18:39:54 +00:00
Rubidium
bfbdaf8723
Update: force remove outdated strings as they can still trigger #11137 for other languages
2023-07-15 06:33:12 +02:00
Rubidium
a184e7f793
Fix #11137 : assertion failure due to interpreting string as number
2023-07-15 06:33:12 +02:00
Tyler Trahan
e4be7f4a45
Change: Clean up window title and button capitalization and wording ( #11134 )
...
* Change: Use consistent window title format for industry/cargo chains
* Change: Don't capitalize dropdown entry for cargo flow legend
* Change: Use consistent window titles for AI and GS settings
* Change: Use consistent window title for company value graph
* Change: Use consistent window title for industry funding
* Change: Use consistent button title to display industry chain
* Change: Use consistent button capitalization for local authority button on town window
* Fix: Don't capitalize random words in vehicle list management dropdown
* Fix: Use title case for Frame Rate window caption
* Fix: Use title case for Detailed Performance Rating window caption
2023-07-14 10:25:01 -04:00
glx22
46b504a700
Fix: ini_key issues reported by the script
2023-07-14 14:32:46 +02:00
glx22
9cdf86a411
Add: workflow and script for checking ini_key issues in WindowDesc entries
2023-07-14 14:32:46 +02:00
Björn Wärmedal
7de37e07b6
Change: make Exclusive Transport Rights more exclusive ( #11076 )
...
Now, exclusive transport rights can only be bought if no company
currently owns them. A successful bribe will void any exclusive
transport rights that any *other* company currently has in the town.
2023-07-14 14:00:28 +02:00
merni-ns
fc9afb2d32
Fix #11115 : Focus the abandon game/exit game windows ( #11125 )
2023-07-14 13:57:45 +02:00
PeterN
c3d1264a4b
Change: Don't save industry history if cargo slot isn't used. ( #11133 )
...
This avoids saving history of 16 slots per industry when in many cases (NewGRF dependent) only a couple are used.
2023-07-14 11:12:22 +01:00
Jonathan G Rennison
3ac663e619
Fix: Build road/tram stop windows did not set WindowDesc::ini_key ( #11126 )
...
Saved default window sizes were not persisted in the configuration file
2023-07-12 22:07:31 +02:00
translators
7996752fb1
Update: Translations from eints
...
indonesian: 71 changes by ecolortest
2023-07-12 18:43:54 +00:00
rubidium42
9f6fec01cd
Codechange: rename cargo aging days to periods, as they are not really days ( #11112 )
2023-07-12 13:20:02 -04:00
Patric Stout
ab19882e94
Codechange: hint in all branches of ClampTo to resolve compile-time ( #11130 )
2023-07-12 13:54:44 +00:00
Patric Stout
97138acc8a
Codechange: make date-related variables constexpr ( #11129 )
...
This hints the compiler even more to result math-related questions
compile-time.
2023-07-12 13:15:24 +00:00
Patric Stout
7ef6e99083
Fix: [CI] actually use the GitHub Apps token to trigger "Publish Docs" ( #11128 )
2023-07-11 13:14:50 +00:00
translators
d3181375a4
Update: Translations from eints
...
danish: 2 changes by bscargo
french: 2 changes by Lishouuu
2023-07-09 18:39:28 +00:00
translators
a54c28f2c3
Update: Translations from eints
...
polish: 3 changes by pAter-exe
2023-07-08 18:39:43 +00:00
Loïc Guilloux
119ac66c5c
Fix: [Bootstrap] don't crash when failing to connect to content server ( #11122 )
2023-07-08 14:54:39 +00:00
Patric Stout
dadcade81c
Fix: [CI] preview for one PR could cancel the preview of another ( #11121 )
2023-07-08 12:10:15 +00:00
Patric Stout
323dd619bb
Change: [CI] rework preview flow and use Cloudflare Pages to publish ( #11116 )
2023-07-08 12:30:27 +02:00
Patric Stout
153323a4c0
Fix: [Emscripten] actually link against nlohmann_json ( #11120 )
...
We fake a plain (non-scoped) library, but we don't actually set
the library to anything valid. In result, it is never actually
linked.
2023-07-07 21:21:43 +00:00
Loïc Guilloux
c236ff356d
Codechange: [Emscripten] enable WASM_BIGINT ( #11118 )
2023-07-07 20:32:33 +00:00
translators
bd91d249ea
Update: Translations from eints
...
dutch: 3 changes by Afoklala
2023-07-07 18:41:15 +00:00
translators
b2ccc19f2d
Update: Translations from eints
...
vietnamese: 2 changes by KhoiCanDev
2023-07-06 18:40:33 +00:00
Rubidium
18a31cca7c
Codechange: do not make a string valid in place, to then copy it
2023-07-06 19:59:50 +02:00
Rubidium
b958a343fe
Codechange: the templated StrMakeValidInPlace is not in place
2023-07-06 19:59:41 +02:00
Rubidium
968de827d6
Fix #11108 , e2f583a
: missing argument for SCC_CARGO_SHORT formatting
2023-07-06 19:46:54 +02:00
Loïc Guilloux
5f2246eabf
Fix 021c45c
: [CMake] detection and use of nlohmann-json for emscripten ( #11113 )
2023-07-06 11:49:06 +02:00
translators
9f28da4e33
Update: Translations from eints
...
tamil: 3 changes by merni-ns
2023-07-05 18:42:59 +00:00
Patric Stout
83b6512032
Fix d5a72193
: [CI] downloading single artifact doesn't add folder to it ( #11107 )
2023-07-04 20:53:46 +00:00
translators
48f25427bc
Update: Translations from eints
...
english (us): 15 changes by 2TallTyler
korean: 2 changes by telk5093
german: 41 changes by Wuzzy2
portuguese (brazilian): 2 changes by pasantoro
2023-07-04 18:43:15 +00:00
Patric Stout
bc83974b38
Fix: [Emscripten] switch to URL for content-service that supports WebSocket ( #11106 )
...
In the old days, content.openttd.org and bananas-server.openttd.org
ended up on the same route. But with a recent migration, they do not.
content.openttd.org only serves the custom TCP protocol, and
bananas-server.openttd.org only serves the HTTP(S).
Websockets use HTTPS, and as such, should be routed via the latter.
2023-07-04 12:39:55 +00:00
Koen Bussemaker
381fa36450
Change: Autorail / autoroad tools can start dragging from invalid tiles
2023-07-04 14:08:32 +02:00
merni-ns
a8a4737c5b
Fix #11096 : Increase priority of error and confirmation windows ( #11104 )
2023-07-03 23:24:44 +02:00
merni-ns
96da5581ce
Doc: Link to coding style in the repository itself and add Discord link in addition to IRC
2023-07-03 23:17:04 +02:00
merni-ns
f1a6f91235
Doc: Remove redundant <pre>
2023-07-03 23:17:04 +02:00
translators
bcaa60612e
Update: Translations from eints
...
portuguese: 3 changes by azulcosta
2023-07-03 18:40:35 +00:00
Rubidium
af9b9327af
Codechange: do not keep local variable for temporary string parameters
2023-07-03 18:08:03 +02:00
Rubidium
e04d43f396
Remove: now unused stredup
2023-07-03 18:08:03 +02:00
Rubidium
2ec4ea2b99
Codechange: use the string temporaries for game script strings
2023-07-03 18:08:03 +02:00
Rubidium
3e488465f8
Codechange: allow string temporaries in a StringParameter
2023-07-03 18:08:03 +02:00
Rubidium
78f5d58dc6
Codechange: use std::string without const as return
...
Otherwise some compilers, e.g. MSVC, do not pick up that these are temporaries
and as such it will pass the temporaries to `const std::string &` instead of
the wanted `std::string &&`
2023-07-03 18:08:03 +02:00
Rubidium
b2edf82b69
Cleanup: remove unneeded CopyOutDParam version with StringID
2023-07-03 06:56:08 +02:00
Rubidium
4654b2b0aa
Codechange: separate integer and string usage in StringParameters
2023-07-03 06:56:08 +02:00
Rubidium
8b7c34d7d4
Codechange: use string parameter backps for the text effects
2023-07-03 00:00:12 +02:00
Rubidium
7ed90a859f
Codechange: function to check whether string parameters have changed since the backup
2023-07-03 00:00:12 +02:00
Rubidium
05ef3f0998
Cleanup: remove old backup/restore of string parameters
2023-07-02 22:31:01 +02:00
Rubidium
6313b8a4cb
Codechange: move errors over to the new StringParameterBackup type
2023-07-02 22:31:01 +02:00
Rubidium
0943402bab
Codechange: move news over to the new StringParameterBackup type
2023-07-02 22:31:01 +02:00