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

Add T or t shortcut #8

Open
markets opened this issue May 22, 2024 · 0 comments
Open

Add T or t shortcut #8

markets opened this issue May 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@markets
Copy link
Owner

markets commented May 22, 2024

Introduce a global method T (or t) as a shortcut for convenience:

>> T(:hello)
=> "Hello"

Let's say T (or t) should be the same as MiniI18n.t. Probably, introduce also L (or l) to quickly call MiniI18n.l.

In terms of implementation, probably the way to go is to just inject those methods in the Kernel module.

@markets markets added the enhancement New feature or request label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant