FIX: lookup should be done against locale of reference (#7632)
This commit is contained in:
parent
05206a61ab
commit
5e7e32510a
|
@ -41,7 +41,7 @@ const TopicDetails = RestModel.extend({
|
|||
if (typeof reason === "number") {
|
||||
const tmp = localeString + "_" + reason;
|
||||
// some sane protection for missing translations of edge cases
|
||||
if (I18n.lookup(tmp)) {
|
||||
if (I18n.lookup(tmp, { locale: "en" })) {
|
||||
localeString = tmp;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue