hyperstack-org / hyperstack-org/hyperstack

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

Aperta
#410 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.