Skip to content

Commit

Permalink
Committing dist to only load English as fallback localization. #196.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Mar 28, 2024
1 parent e0fe99f commit a6373e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/iD.js
Original file line number Diff line number Diff line change
Expand Up @@ -32254,7 +32254,7 @@
let loadStringsPromises = [];
indexes.forEach((index, i3) => {
const fullCoverageIndex = _localeCodes.findIndex(function(locale2) {
return index[locale2] && index[locale2].pct === 1;
return locale2 === "en" && index[locale2] && index[locale2].pct === 1;
});
_localeCodes.slice(0, fullCoverageIndex + 1).forEach(function(code) {
let scopeId = Object.keys(localeDirs)[i3];
Expand Down
Loading

0 comments on commit a6373e7

Please sign in to comment.