Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Add Reset() #9

Merged
merged 1 commit into from
Mar 21, 2021
Merged

Add Reset() #9

merged 1 commit into from
Mar 21, 2021

Conversation

6543
Copy link
Contributor

@6543 6543 commented Feb 5, 2021

Add Reset() to reset locale store

@6543
Copy link
Contributor Author

6543 commented Feb 5, 2021

@unknwon this make it possible to reset i18n on runtime & coverage got from 47.4% -> 51.9% 🎉

@6543
Copy link
Contributor Author

6543 commented Feb 9, 2021

@unknwon do you have any questions about it?

@6543
Copy link
Contributor Author

6543 commented Feb 13, 2021

@unknwon should I squash (second commit) the fix in ...?

@6543
Copy link
Contributor Author

6543 commented Feb 24, 2021

@unknwon should I squash (second commit) the fix in ...?

squashed ...

@6543
Copy link
Contributor Author

6543 commented Mar 20, 2021

@unknwon any change you have time for a review/response?

Copy link
Owner

@unknwon unknwon left a comment

Choose a reason for hiding this comment

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

Sorry about waiting and thanks for the PR :)

i18n.go Outdated Show resolved Hide resolved
@unknwon
Copy link
Owner

unknwon commented Mar 21, 2021

I can't apply suggestion for you, would you mind applying? Also no need to squash commits within the PR, will squash when merge.

@6543 6543 changed the title Add Flush() Add Reset() Mar 21, 2021
@6543
Copy link
Contributor Author

6543 commented Mar 21, 2021

@unknwon thanks :)

I did rename it to Reset as lunny also think it's more accurate
-> ref: go-gitea/gitea#15073 (review)

@6543
Copy link
Contributor Author

6543 commented Mar 21, 2021

hope this is fine now 😅

@unknwon unknwon merged commit 0ebbf2d into unknwon:master Mar 21, 2021
@unknwon
Copy link
Owner

unknwon commented Mar 21, 2021

Thanks again :)

@6543 6543 deleted the add-Flush branch March 21, 2021 14:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants