Skip to content

Commit 6b23104

Browse files
committed
fix bug with allAvailableLocale
1 parent 296a058 commit 6b23104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define(["./common", "require"], function (common, requirejs) {
2727
var root = requirejs(getMasterMid(name));
2828

2929
eachProp(root, function (loc) {
30-
if (root.loc && localesList.indexOf(loc) < 0) {
30+
if (root[loc] && localesList.indexOf(loc) < 0) {
3131
localesList.push(loc);
3232
}
3333
});

0 commit comments

Comments
 (0)