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

Make admin order event_links translatable #3772

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Sep 24, 2020

Description

The admin/orders_helper event_links didn't had enough scope to be translatable for the particular order event. In some languages canceling and order is something different than clicking a "cancel" button in a form.

The solidus_i18n gem already has the translation scopes for these events, so I implemeted it that it will Just Work™

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

@kennyadsl
Copy link
Member

kennyadsl commented Sep 24, 2020

@tvdeyen I think the failing specs are related to the change but it probably just needs a capitalization.

@tvdeyen tvdeyen force-pushed the fix-event_links-translations branch from ba2963c to 089cd88 Compare September 24, 2020 11:56
@tvdeyen tvdeyen self-assigned this Sep 24, 2020
@tvdeyen
Copy link
Member Author

tvdeyen commented Sep 24, 2020

@kennyadsl yes, will fix them soon

The admin/orders_helper event_links didn't had enough scope to be translatable for the particular order event. In some languages canceling and order is something different than clicking a "cancel" button in a form.

The solidus_i18n gem already has the translation scopes for these events, so I implemeted it that it will Just Work™
@tvdeyen tvdeyen force-pushed the fix-event_links-translations branch from 089cd88 to 0ce33ec Compare September 25, 2020 16:47
@tvdeyen tvdeyen removed their assignment Sep 25, 2020
@tvdeyen
Copy link
Member Author

tvdeyen commented Sep 25, 2020

@kennyadsl should now be fixed

Copy link
Member

@aldesantis aldesantis left a comment

Choose a reason for hiding this comment

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

@tvdeyen thanks, looking great. Left a non-blocking comment but I'm going to approve.

@kennyadsl kennyadsl added changelog:solidus_backend Changes to the solidus_backend gem UI labels Sep 30, 2020
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Thanks Thomas!

@kennyadsl kennyadsl merged commit f084fb1 into solidusio:master Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants