Grasscutter
Grasscutter copied to clipboard
New translate features
Description
All arguments to translate
will now be converted to strings. If a TextStrings
is passed (i.e. from the textmap lookups), it will pick the correct localised string from within.
Cleans up commands that were using Integer::toString
and Float::toString
for translate
arguments.
Adds talent name and desc feedback to the talent command.
Will probably make some other tweaks to the language backend. Might even get around to handbook search.
Issues fixed by this PR
Type of changes
- [ ] Bug fix
- [ ] New feature
- [x] Enhancement
- [ ] Documentation
Checklist:
- [x] My code follows the style guidelines of this project
- [x] My pull request is unique and no other pull requests have been opened for these changes
- [x] I have read the Contributing note and Code of conduct
- [x] I am responsible for any copyright issues with my code if it occurs in the future.