Skip to content

Don't persist translations #1135

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

Merged
merged 5 commits into from
Oct 19, 2023
Merged

Don't persist translations #1135

merged 5 commits into from
Oct 19, 2023

Conversation

zeitschlag
Copy link
Contributor

@zeitschlag zeitschlag commented Oct 16, 2023

aka. Don't use CoreData for translations.

We don't need to persist translations. They're temporary nevertheless.


This is basically my starting point for the CoreData-removal. Instead of ripping out something big, I decided to replace one property. I didn't feel confident to remove this property on a branch that doesn't build, that's why I chose develop. Being able to build and run to see if I may have broken the functionality helped me a lot.

@zeitschlag zeitschlag marked this pull request as ready for review October 16, 2023 16:21
@zeitschlag zeitschlag requested a review from kimar October 16, 2023 16:40
@zeitschlag
Copy link
Contributor Author

I want to add two more things:

  • send device language identifier as lang to translate-request
  • Hide the translation option, if the source-language of a status is equal to the device language.

Thank you @grishka!

Copy link
Contributor

@kimar kimar left a comment

Choose a reason for hiding this comment

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

Great work @zeitschlag 👏 LGTM

@zeitschlag
Copy link
Contributor Author

@kimar Thank you very much! Even though you already approved this pr, may I ask you for another short review of the last two commits?

@zeitschlag zeitschlag requested a review from kimar October 17, 2023 10:57
Copy link
Contributor

@kimar kimar left a comment

Choose a reason for hiding this comment

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

PR LGTM but I had a general translation issue. Maybe you can make sure this is something that doesn't affect you.

@kimar
Copy link
Contributor

kimar commented Oct 19, 2023

@zeitschlag Works for me now 👍

@zeitschlag zeitschlag merged commit a3733ea into develop Oct 19, 2023
@zeitschlag zeitschlag deleted the nuke_coredata_translations branch October 19, 2023 10:18
@zeitschlag zeitschlag added this to the 2023.14 milestone Oct 19, 2023
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