diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-12-01 13:07:41 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-12-01 13:07:41 +0000 |
commit | 3a2fcad0cb06c493f63771f6ca62dea2f4de2374 (patch) | |
tree | 218029fb134f4232dccd98c19b34576654370202 /indra/newview/llfloatersearch.cpp | |
parent | bd4c1fa8d8ade4a97d5afa8aa98419038c2286f9 (diff) |
DEV-41358: pass localization information to the Search web pages via a
new ?lang=<LANG> query parameter.
Diffstat (limited to 'indra/newview/llfloatersearch.cpp')
-rw-r--r-- | indra/newview/llfloatersearch.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersearch.cpp b/indra/newview/llfloatersearch.cpp index e2df2ffdf7..c8ff36b4f4 100644 --- a/indra/newview/llfloatersearch.cpp +++ b/indra/newview/llfloatersearch.cpp @@ -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); } |