Closed Jade-Harleyy closed 4 months ago
Reviewing:
I cherry picked this and now it feels awful when Baro updates and this feature is not there
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.
I addressed the localization issues myself and moved this to a PR in our private repo. Thank you for your contribution once again! :)
This PR:
Barotrauma.IO.Directory
class to allow for copying and moving directories.New Localization Tags:
RenamePackage
- RenameCopyWorkshopToLocal
- Copy to localDeleteMods
- Delete Local ModsDeleteModsConfirm
- Are you sure you want to delete [amount] mod[plural]?\nThis cannot be undone!