-
-
Notifications
You must be signed in to change notification settings - Fork 487
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 translation calls to config/locales directory #5480
Remove translation calls to config/locales directory #5480
Conversation
spec/requests/volunteers_spec.rb
Outdated
@@ -374,7 +374,7 @@ | |||
|
|||
expect(volunteer.invitation_created_at.present?).to eq(true) | |||
expect(Devise.mailer.deliveries.count).to eq(1) | |||
expect(Devise.mailer.deliveries.first.subject).to eq(I18n.t("devise.mailer.invitation_instructions.subject")) | |||
expect(Devise.mailer.deliveries.first.subject).to eq("CASA Console invitation instructions") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe revert this and spec/requests/supervisors_spec.rb
, spec/requests/casa_admins_spec.rb
because devise calls the translation in its default view file which is located in its library files so it's inaccessible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:)
What github issue is this PR for, if any?
Resolves #5470
What changed, and why?
Removed translation strings from locales folder.
Removed translation calls from app and test cases.
Updated localization calls to use I18n style.