hyperstack-org / hyperstack-org/hyperstack

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

未关闭
#410 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
538
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。