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

Fix updating a translation to its original value #4603

Merged
merged 2 commits into from
Sep 8, 2021

Conversation

javierm
Copy link
Member

@javierm javierm commented Aug 8, 2021

References

Objectives

  • Fix a bug which caused translations to be ignored if they were changed back to their original value

@javierm javierm self-assigned this Aug 8, 2021
@javierm javierm added this to Reviewing in Consul Democracy via automation Aug 8, 2021
@javierm javierm force-pushed the fix_updating_original_translation branch from 5db22da to 9db9ff8 Compare August 17, 2021 12:32
@javierm javierm force-pushed the fix_updating_original_translation branch from 9db9ff8 to 4831658 Compare September 1, 2021 21:11
@Senen Senen self-assigned this Sep 7, 2021
@javierm javierm force-pushed the fix_updating_original_translation branch from 4831658 to f0d0f1f Compare September 8, 2021 10:37
This way we can test it properly, which will be helpful when fixing
bugs.
Users were unable to reset a translation to its original value after
updating it because we weren't storing anything in the database in that
case.

I've considered deleting the existing translation when this happens. I'm
not sure about which approach is the better one, so I'm using the less
destructive one.
Consul Democracy automation moved this from Reviewing to Testing Sep 8, 2021
@javierm javierm merged commit 0a7c50f into master Sep 8, 2021
Consul Democracy automation moved this from Testing to Release 1.4.0 Sep 8, 2021
@javierm javierm deleted the fix_updating_original_translation branch September 8, 2021 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translation override can't be changed if done the second time
2 participants