]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Make `RandomMetadata` properly support localization (#36343)
authorTayrtahn <tayrtahn@gmail.com>
Sun, 6 Apr 2025 18:12:39 +0000 (14:12 -0400)
committerGitHub <noreply@github.com>
Sun, 6 Apr 2025 18:12:39 +0000 (11:12 -0700)
commit8d8c1e4daed4c4d462de089da616b27e7605e7c1
tree233549c870dabae7d23b0961f5b7e62fdb999e17
parente88371b23b3fa17cadb06c149332aef064b5db90
Make `RandomMetadata` properly support localization (#36343)

* Make _outputSegments readonly

* Remove mystery character

* Use Fluent instead of string concatenation

* Adjust format

* Convert existing content

* Don't need these anymore

* Docs
17 files changed:
Content.Server/RandomMetadata/RandomMetadataComponent.cs
Content.Server/RandomMetadata/RandomMetadataSystem.cs
Resources/Locale/en-US/datasets/names/joining.ftl [deleted file]
Resources/Locale/en-US/datasets/names/nukie_first.ftl [deleted file]
Resources/Locale/en-US/random-metadata/random-metadata-formats.ftl [new file with mode: 0644]
Resources/Prototypes/Datasets/Names/joining.yml [deleted file]
Resources/Prototypes/Datasets/Names/nukies.yml [deleted file]
Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml
Resources/Prototypes/Entities/Mobs/NPCs/revenant.yml
Resources/Prototypes/Entities/Mobs/Player/ShuttleRoles/settings.yml
Resources/Prototypes/Entities/Mobs/Player/human.yml
Resources/Prototypes/Entities/Mobs/Player/humanoid.yml
Resources/Prototypes/Entities/Objects/Misc/books.yml
Resources/Prototypes/Entities/Objects/Tools/decoys.yml
Resources/Prototypes/GameRules/events.yml
Resources/Prototypes/GameRules/roundstart.yml
Resources/Prototypes/GameRules/subgamemodes.yml