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

Allow using @Translatable on objects #171

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

AntonOellerer
Copy link
Contributor

Up until now, the @Translatable annotation
only worked on Strings and Enums.
To be able to also specify more complex objects as
translatable, the annotation is extended by an
optional toStringMethod which is used to retrieve
a string value to translate for those objects.

Merge after #170

Up until now, the `@Translatable` annotation
only worked on Strings and Enums.
To be able to also specify more complex objects as
translatable, the annotation is extended by an
optional `toStringMethod` which is used to retrieve
a string value to translate for those objects.
@alexpartsch alexpartsch merged commit db9ab9a into master Oct 17, 2022
@alexpartsch alexpartsch deleted the fix/translatable_on_objects branch October 17, 2022 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants