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

Allow passing scope argument to exists? #647

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

misdoro
Copy link
Contributor

@misdoro misdoro commented Jan 18, 2023

I18n.t and I18n.t! both accept a scope argument that enables translation of a key within a particular namespace.

Add the same argument to exists? method, so that both I18n.t and I18n.exists? can be used with the same call pattern.

@radar
Copy link
Collaborator

radar commented Feb 3, 2023

Thanks @misdoro!

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