hyperstack-org / hyperstack-org/hyperstack

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

Đang mở
#410 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.