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: Prevent Array Duplication in Repeated Translations #80

Conversation

fadkeabhi
Copy link
Contributor

Description

This PR fixes a bug where arrays in JSON files were being duplicated during repeated translations.

Changes Made

  • Added logic to preserve array structure during translations
  • Prevented duplicate array elements from being created in subsequent translations
  • Maintained original array size while still allowing translation updates

Related to issue #79

@ParvinEyvazov ParvinEyvazov merged commit 12d0a68 into mololab:master Oct 26, 2024
@ParvinEyvazov
Copy link
Member

Thank you @fadkeabhi for your awesome work!

I will publish it in a new version after testing properly soon. Let me know if it is too urgent for you.

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.

2 participants