mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 12:41:36 +02:00
we can still use the full language for output (uselang)
This commit is contained in:
@@ -23,7 +23,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
var lang = language || this.languagesToQuery()[0];
|
||||
var lang = this.languagesToQuery()[0];
|
||||
|
||||
var url = apibase + utilQsString({
|
||||
action: 'wbsearchentities',
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
search: query,
|
||||
type: 'item',
|
||||
// the language to search
|
||||
language: lang,
|
||||
language: language || lang,
|
||||
// the language for the label and description in the result
|
||||
uselang: lang,
|
||||
limit: 10,
|
||||
|
||||
Reference in New Issue
Block a user