Paul Chote
8b11b499ed
Rename Translations yaml keys to FluentMessages.
2024-11-03 16:52:47 +02:00
Paul Chote
ecaa414508
Simplify method name in CheckFluentReferences.
2024-11-03 16:52:47 +02:00
Paul Chote
c09d7cbdea
Remove magic ftl file naming.
2024-11-03 16:52:47 +02:00
Paul Chote
5a0c8439fc
Add map support for inline base64 fluent messages.
...
This enables the RC to parse and share custom messages
as part of the map's custom rules without any additional
API changes.
2024-11-03 16:52:47 +02:00
Paul Chote
43219e16da
Reorganize FluentBundle ctors to allow inline text.
2024-11-03 16:52:47 +02:00
Paul Chote
e4539e9cb5
Use nameof() when reflecting over Map field names.
2024-11-03 16:52:47 +02:00
Paul Chote
67254e0b39
Rename Fluent *GetString methods to GetMessage.
2024-11-03 16:52:47 +02:00
Paul Chote
09063d23da
Determine pixel-to-texel ratio for each sprite individually.
...
This fixes rendering artifacts when sprites are scaled > 1.
2024-11-03 16:38:32 +02:00
DrSheppard
42989c74aa
delete libfuse redundand installation
2024-11-01 12:22:04 +00:00
DrSheppard
637faac90e
use appimagetool with non-glibc linux support
2024-11-01 12:22:04 +00:00
Gustas
065040e5b8
Replace modcontent
2024-10-25 11:42:33 +01:00
Gustas
b62c883951
Localise lobby notification
2024-10-23 19:08:12 +03:00
test1232156
63e8835fa0
Miscellaneous lua translation fixups
...
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com >
2024-10-23 19:08:12 +03:00
test1232156
70f62dba4b
Fix spelling errors and add naming consistency in en.ftl files
...
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com >
2024-10-23 19:08:12 +03:00
test1232156
564da2fb8d
Fix prerequisites spelling error
...
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com >
2024-10-23 19:08:12 +03:00
Paul Chote
c6af758ee5
Fix Makefile "version" rule.
2024-10-20 16:56:04 +03:00
Paul Chote
b57be1cc08
Rework mod content installation.
2024-10-20 15:04:25 +03:00
Paul Chote
c84d088dfa
Fix lint test.
2024-10-20 15:04:25 +03:00
test1232156
631cf4ba74
Fix spelling errors and add naming consistency to campaign
...
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com >
2024-10-18 18:48:37 +03:00
test1232156
02e1c7444b
Mission briefing rewording and fact checking
...
Co-Authored-By: Gustas <37534529+punkpun@users.noreply.github.com >
2024-10-18 18:48:37 +03:00
Gustas
60a752cdef
Rename TS defense to support
2024-10-17 17:18:14 +01:00
Gustas
48a2e5c7a1
Rename TD defense to support
2024-10-17 17:18:14 +01:00
Gustas
52a605787b
Fix defense spelling
2024-10-17 17:18:14 +01:00
Gustas
f43d2fb98e
Fix lua failing to translate strings with arguments
2024-10-17 17:16:19 +01:00
Gustas
fb55764887
Fix database blocking the load button
2024-10-17 17:12:18 +01:00
Gustas
346d267e26
Fix common mission objective panel not filling the background uniformly
2024-10-17 17:12:18 +01:00
Gustas
8cd08e6a58
Make briefing less glitchy by not changing panel type before new briefing has been loaded
2024-10-17 17:12:18 +01:00
Gustas
53218414f8
Extract translations from modcontent chrome
2024-10-17 17:10:57 +01:00
RoosterDragon
ef1390bbdf
Improve the context when logging missing translation fields.
2024-10-17 15:10:59 +03:00
RoosterDragon
6bd64677ec
Use short context names in hotkey yaml, generate translation key at runtime.
2024-10-17 15:10:59 +03:00
RoosterDragon
559a76be8d
Lowercase all hotkey-description- translation keys.
2024-10-17 15:10:59 +03:00
RoosterDragon
6f6fb5b393
Expose hotkeys to localisation.
...
Allows the Settings > Hotkeys screen to be localised, including hotkey decriptions, groups and contexts.
The hotkey names are exposed to localisation via KeycodeExts. Hotkey modifiers are similarly exposed via ModifersExts.
The Settings > Input screen has a Zoom Modifier dropdown, which shows the localised modifier name.
The --check-yaml utility command is taught to recognise all hotkey translation, so it can validate their usage.
2024-10-17 15:10:59 +03:00
Paul Chote
10856ccfd0
Fix weather overlay viewport size for spectators.
2024-10-17 14:27:31 +03:00
Paul Chote
8f14dd6113
Fix crash when a sequences defines both Alpha and Reverses.
2024-10-15 10:53:05 +03:00
Ivaylo Draganov
791595e3ae
Extract player profile loading chrome logic to a dedicated class
2024-10-15 10:14:32 +03:00
Ivaylo Draganov
ca3ab78cf8
Rename file to match class name and extract other classes out of it for readability
2024-10-15 10:14:32 +03:00
Gustas
67855f2adf
Don't crash if 2 DockHosts overlap
2024-10-13 14:35:59 +01:00
Gustas
f06d7d29ef
Add support for not displaying target lines
2024-10-13 14:35:59 +01:00
Gustas
b72d4ab7c6
Fix clients acquiring hosts on order creations
2024-10-13 14:35:59 +01:00
Gustas
d22bdbe944
Only allow docking to allied refineries if directly ordered
2024-10-13 14:35:59 +01:00
Gustas
d24533d561
Simplify IDockHost interface
2024-10-13 14:35:59 +01:00
Gustas
1334575ba9
Add RequireForceMoveCondition to DockClientManager
2024-10-13 14:35:59 +01:00
Gustas
9c6cb501a4
We should notify host even when it's not in world
2024-10-13 14:35:59 +01:00
Gustas
5048a50403
Fix refineries not uncloaking on dock
2024-10-13 14:35:59 +01:00
darkademic
d450ef43c6
Download failure error.
2024-10-12 14:34:04 +03:00
Gregor Kališnik
6dd076b27f
Improve NAT logging ( #21611 )
2024-10-07 21:00:07 +02:00
Ivaylo Draganov
79ae71a517
Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
...
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00
RoosterDragon
bb17cfa179
Expose mod.yaml content to localisation.
...
Mod metadata, load screens and mod content is all now sourced from ftl files, allowing these items to be translated.
Translations are now initialized as part of ModData creation, as currently they are made available too late for the usage we need here.
The "modcontent" mod learns a new parameter for "Content.TranslationFile" - this allows a mod to provide the path of a translation file to the mod which it can load. This allows mods such as ra, cnc, d2k, ts to own the translations for their ModContent, yet still make them accessible to the modcontent mod.
CheckFluentReference learns to validate all these new fields to ensure translations have been set.
2024-10-07 12:38:40 +03:00
RoosterDragon
d1583e8587
Fix LabelWidget positioning of text when WordWrap is true.
...
If WordWrap is enabled, the wrapping must be applied before any TextAlign is applied, or the final position will be incorrect.
Introduce a IncreaseHeightToFitCurrentText to make such WordWrap labels easier to use, and apply to CreditsLogic.
2024-10-07 12:38:40 +03:00
RoosterDragon
86b9227577
In RemoveCellsFromPlayerShroud, don't call RemoveSource unless required.
...
Since AddCellsToPlayerShroud only adds for players with a valid relationship, we can skip a dictionary lookup in RemoveSource by only attempting the remove if the relationship check passes as well.
2024-10-07 12:14:45 +03:00