FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.73k stars 403 forks source link

Modlist Improvements #13933

Closed Jade-Harleyy closed 4 months ago

Jade-Harleyy commented 5 months ago

This PR:

New Localization Tags:

mygamingaccount commented 4 months ago

Reviewing:

mygamingaccount commented 4 months ago

I cherry picked this and now it feels awful when Baro updates and this feature is not there

Regalis11 commented 4 months ago

Are you sure you want to delete [amount] mod[plural]?\nThis cannot be undone!

This will not work in all languages, plurals don't work the same way as they do in English (adding an s to the end) in every language. For example, in Finnish the singular here would be "modin" and the plural would be "modia", and in many languages the rest of the sentence needs to change too when the word is in plural.

TextManager.Get("RenamePackage") + $" {mod.Name}"

This also doesn't work properly. The name of the mod may need to come before the "RenamePackage" word in some languages, and not all languages put a space between the words.

Regalis11 commented 4 months ago

I addressed the localization issues myself and moved this to a PR in our private repo. Thank you for your contribution once again! :)