hyperstack-org / hyperstack-org/hyperstack

Hyperstack::I18n#t should also check non-namespaced translation

Ouverte
#410 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
JavaScript
Étoiles
538
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Right now `Hyperstack::I18n#t` is smart in that it uses the name-spacing to look up the translation. This works great for those, but if we're trying to look up a translation outside of that namespace it will return a missing translation. You can work around this by using `I18n.t`, which isn't that much more typing, but it would be nice to have the the included helper methods be a little smarter.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.