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

Remove redundant call to initLocale()? #286

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Remove redundant call to initLocale()? #286

merged 1 commit into from
Aug 24, 2024

Conversation

diegodlh
Copy link
Owner

Hi, @Dominic-DallOsto!

I found initLocale() was called twice in our code: once in src/hooks.ts and another in src/cita/zoteroOverlay.tsx.

I thought this might be redundant and tried to remove the call from src/cita/zoteroOverlay.tsx and translation seems to be working OK.

Because you have been more involved in this change than me, I thought I'd better ask you before merging this change into our zotero7 branch.

If you think it's OK to merge, please do! We can always roll back anyways, if needed :)

Thanks!

Copy link
Collaborator

@Dominic-DallOsto Dominic-DallOsto left a comment

Choose a reason for hiding this comment

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

Looks good!

@Dominic-DallOsto Dominic-DallOsto merged commit 89e0ac5 into zotero7 Aug 24, 2024
1 check passed
@Dominic-DallOsto Dominic-DallOsto deleted the cleanup branch August 24, 2024 10:37
Copy link

🚀 This ticket has been resolved in v1.0.0-beta.0. See Release 1.0.0-beta.0 for release notes.

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