Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard translation key specifiers #11

Open
MMK21Hub opened this issue Dec 10, 2022 · 0 comments
Open

Wildcard translation key specifiers #11

MMK21Hub opened this issue Dec 10, 2022 · 0 comments

Comments

@MMK21Hub
Copy link
Owner

It would be nice to be able to use wildcards to select translation keys to apply a transformer.

For example, MC-203095 affects quite a few translation strings:

  • commands.experience.add.points.success.single
  • commands.experience.add.points.success.multiple
  • commands.experience.add.levels.success.single
  • commands.experience.add.levels.success.multiple
  • commands.experience.set.points.success.single
  • commands.experience.set.points.success.multiple
  • commands.experience.set.levels.success.single
  • commands.experience.set.levels.success.multiple
  • commands.experience.query.points
  • commands.experience.query.levels

This could be expressed with something like this:

  • commands.experience.*.*.success.*
  • commands.experience.query.*

Much more concise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant