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

Add useFallbackTranslationsForEmptyResources parameter to use fallback if translation lookup returns an empty string #663

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

VladShturma
Copy link
Contributor

@VladShturma VladShturma commented Apr 19, 2024

There were already two pull requests about this feature, but they seem not active anymore.
So I decided to create my own one.

I made parameter to control this behaviour. And it is false by default, so the behaviour be consistent with previous versions. Because as was mentioned here it might be a valid case to have "" as a translation

Copy link
Collaborator

@bw-flagship bw-flagship left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this great pr! Only two things:

  • Please increase the version in pubspec
  • Remove formatting changes in readme

@VladShturma
Copy link
Contributor Author

@bw-flagship done

@VladShturma VladShturma requested a review from bw-flagship April 21, 2024 14:54
@bw-flagship bw-flagship merged commit 39d091e into aissat:develop Apr 22, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants