mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 17:14:04 +02:00
Fix issues with Wikidata field
This commit is contained in:
@@ -87,6 +87,10 @@ export default {
|
||||
languagesToQuery: function() {
|
||||
return localizer.localeCodes().map(function(code) {
|
||||
return code.toLowerCase();
|
||||
}).filter(function(code) {
|
||||
// HACK: en-us isn't a wikidata language. We should really be filtering by
|
||||
// the languages known to be supported by wikidata.
|
||||
return code !== 'en-us';
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user