Skip to content

Add T or t shortcut #8

@markets

Description

@markets

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions