Paul Chote
67254e0b39
Rename Fluent *GetString methods to GetMessage.
2024-11-03 16:52:47 +02:00
Paul Chote
d6285affec
Remove FluentBundle.Arguments helper method.
2024-10-04 15:11:27 +03:00
Paul Chote
b29b685058
Rename Fluent-related code to be more precise.
2024-10-04 15:11:27 +03:00
Ivaylo Draganov
771b9ddfda
Remove key handling from ContainerWidget
...
It has no business handling key input. This was used only for opening the ingame chat and replacing it with a `LogicKeyListener` was trivial.
2024-10-04 14:32:21 +03:00
Matthias Mailänder
4e5556dccc
Expose player names to localization.
2024-08-05 12:55:59 +03:00
Matthias Mailänder
b8756c4737
Move CachedTransform to OpenRA.Primitives.
2024-08-03 11:56:43 +03:00
RoosterDragon
285443f10f
Fix CA1310, CA1311
2023-08-07 21:38:09 +02:00
Matthias Mailänder
68eec52cef
Add TranslationProvider
2023-04-22 19:23:41 +02:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Ivaylo Draganov
a0f17b15ec
Refactor translation files
...
- Add prefixes to all message keys to provide context
- Use messages with attributes for some UI elements (dropdowns, dialogs, checkboxes, menus)
- Rename some class fields for consistency with translation keys
2022-12-19 22:04:54 +13:00
Matthias Mailänder
760a1245c5
Mark non-moddable translation strings as constant.
2022-12-07 18:40:26 +02:00
Gustas
33a1bb8e6b
Don't disable chat in replays
2022-11-06 22:28:52 +01:00
Matthias Mailänder
0b67b5bfae
Extract translation strings.
2022-09-02 14:41:24 +03:00
Gustas
ce254f8b46
Add per player mutes
2022-08-20 14:52:49 +02:00
Matthias Mailänder
cc58fe1a0f
Extract translation strings.
2022-08-14 16:11:51 +02:00
RoosterDragon
8dec998d8f
Fix tab completion to work for all available commands.
...
Commands are registered in WorldLoaded event handlers, and IngameChatLogic takes all registered commands and provides tab completion. However IngameChatLogic is also created during WorldLoaded via LoadWidgetAtGameStart. No initialization order is enforced between commands and LoadWidgetAtGameStart, so they can appear in any order.
If a command gets registered before LoadWidgetAtGameStart runs, then it will get tab completion. If it gets registered after then no tab completion is available, even though the command can still be used and appears when using '/help'.
To fix this, we allow the tab completion to check for available commands lazily, meaning it will check for available commands every time the tab key is pressed. This means it will always have the full list of commands available regardless of the initialization order.
2022-07-26 16:42:18 +02:00
tomas
5f4ed5f16b
Update TextNotificationsManager to use Ui.Send
2022-07-15 19:19:09 +03:00
Gustas
a03e794140
Add an option to disable chat in replays
2022-07-08 19:40:04 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Ivaylo Draganov
01d47566cc
Add a transients panel with corresponding chrome logic and a notification template
2021-10-29 20:55:41 +02:00
Ivaylo Draganov
9e92340ea7
Rework chat line templates and logic
...
- Extract chat line templates and logic so they can be reused across widgets
- Make text notification styling entirely template driven (by removing chat color configuration and making color optional for `TextNotification`)
- Add a new TextNotificationsDisplay widget (based on and replacing ChatDisplayWidget)
- Add timestamp support to text notifications
2021-10-29 20:55:41 +02:00
Paul Chote
166583b1ec
Fix disabled chat focus issues.
2021-10-16 13:34:39 -05:00
penev92
8ba6d13b2f
Removed unused using directives
2021-10-15 13:12:33 +02:00
Paul Chote
8588af1001
Disable chat for the first 5s (configurable) after joining a server.
2021-09-23 12:52:20 +02:00
Ivaylo Draganov
6af354ff99
Split chat lines into pools
...
- Add a common class for passing around chat lines
- Add wrapper methods for adding chat lines
- Combine repeated chat lines in the display widget
2021-07-04 14:02:58 +01:00
Abdurrahmaan Iqbal
a8900d9860
Rebind chat hotkeys to prevent Tab changing chat mode
...
Enter/Shift+Enter now toggle team/all chat respectively and Shift+Tab switches chat mode instead of Tab
2021-07-03 14:49:03 +01:00
Abdurrahmaan Iqbal
6967c1fff3
Pass KeyInput to OnKey functions
2021-07-03 14:49:03 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
8cf6aa267c
Allow single observers to use spectator team chat in mp
2019-08-19 16:45:15 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
353db73381
Fix a collection of minor style violations.
...
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
abcdefg30
e6feba8884
Remove the TeamChat order type
2019-04-22 19:55:04 +01:00
abcdefg30
83b92ebacb
Disable team chat when only one team member is alive
2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d
Send the designated team number as extra data in the order
2019-04-22 19:55:04 +01:00
abcdefg30
5e363f18c9
Disable the team chat button after the game ended
2019-04-22 19:55:04 +01:00
abcdefg30
7b8df0ed54
Disable spectator chat when there is only one spectator
...
and re-enable it when players die
2019-04-22 19:55:04 +01:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
rob-v
a2c6b19205
No player name in replay for chat commands
2019-01-22 22:57:11 +00:00
Andre Mohren
48248266a8
ClickSound and ClickDisabledSound and ChatLine are optional ui sounds.
2018-09-29 20:05:53 +02:00
Paul Chote
fc31fac1f0
Work around duplicated notification sound when the ingame menu is open.
2018-01-28 14:51:41 +01:00
Paul Chote
73f5f1fa75
Remove AddChatLine registration on IngameChatLogic dispose.
2018-01-28 14:51:41 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
ef43d8a86f
Add missing StringComparison to IngameChatLogic.
2017-10-14 13:10:27 +02:00
Paul Chote
75d4062698
Limit chat messages to 2500 characters.
2017-10-14 13:10:27 +02:00