DEV-41358: pass localization information to the Search web pages via a
new ?lang=<LANG> query parameter.meow-7.2.2
parent
bd4c1fa8d8
commit
3a2fcad0cb
|
|
@ -37,6 +37,7 @@
|
|||
#include "lllogininstance.h"
|
||||
#include "lluri.h"
|
||||
#include "llagent.h"
|
||||
#include "llui.h"
|
||||
|
||||
LLFloaterSearch::LLFloaterSearch(const LLSD& key) :
|
||||
LLFloater(key),
|
||||
|
|
@ -139,6 +140,9 @@ void LLFloaterSearch::search(const LLSD &key)
|
|||
}
|
||||
url += "&r=" + maturity;
|
||||
|
||||
// add the current localization information
|
||||
url += "&lang=" + LLUI::getLanguage();
|
||||
|
||||
// and load the URL in the web view
|
||||
mBrowser->navigateTo(url);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue