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: translation issue #507

Merged
merged 1 commit into from
Jun 12, 2024
Merged

fix: translation issue #507

merged 1 commit into from
Jun 12, 2024

Conversation

hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Jun 12, 2024

πŸ“‘ Description

There is an issue when calling facades.Lang().SetLocale in middle, facades.Lang().CurrentLocale() still returns the default locale in controller.

βœ… Checks

  • Added test cases for my code

Copy link

codecov bot commented Jun 12, 2024

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 70.04%. Comparing base (0e492c6) to head (d805a32).

Additional details and impacted files
@@           Coverage Diff            @@
##           v1.14.x     #507   +/-   ##
========================================
  Coverage    70.03%   70.04%           
========================================
  Files          176      176           
  Lines        10877    10876    -1     
========================================
  Hits          7618     7618           
+ Misses        2691     2690    -1     
  Partials       568      568           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

kkumar-gcc
kkumar-gcc previously approved these changes Jun 12, 2024
Copy link
Member

@kkumar-gcc kkumar-gcc left a comment

Choose a reason for hiding this comment

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

LGTM

@hwbrzzl hwbrzzl changed the base branch from master to v1.14.x June 12, 2024 09:52
@hwbrzzl hwbrzzl dismissed kkumar-gcc’s stale review June 12, 2024 09:52

The base branch was changed.

@hwbrzzl hwbrzzl force-pushed the bowen/fix-translation branch from 02862a1 to d805a32 Compare June 12, 2024 09:59
@hwbrzzl hwbrzzl merged commit ab2d51e into v1.14.x Jun 12, 2024
8 checks passed
@hwbrzzl hwbrzzl deleted the bowen/fix-translation branch June 12, 2024 12:13
hwbrzzl added a commit that referenced this pull request Jun 14, 2024
* fix translation (#507)

* fix: a session middleware issue (#508)

* fix: lang path (#510)

* fix: lang path issue

* remove

* add golang 1.22

* release: v1.14.1
kkumar-gcc added a commit that referenced this pull request Dec 19, 2024
kkumar-gcc added a commit that referenced this pull request Dec 19, 2024
kkumar-gcc added a commit that referenced this pull request Dec 20, 2024
kkumar-gcc added a commit that referenced this pull request Dec 20, 2024
kkumar-gcc added a commit that referenced this pull request Dec 21, 2024
kkumar-gcc added a commit that referenced this pull request Dec 21, 2024
* add abort method

* chore: update mocks

* add abort method

* chore: update mocks

* fix lint

* .

* chore: update mocks

* rename abort response

* chore: update mocks

* chore: update mocks

---------

Co-authored-by: kkumar-gcc <[email protected]>
hwbrzzl added a commit that referenced this pull request Dec 23, 2024
hwbrzzl added a commit that referenced this pull request Dec 23, 2024
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