diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-02-03 13:44:13 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-02-03 13:44:13 +0000 |
commit | 98a4d472bed18e11d71631e7c0cc9abd29b9a5d2 (patch) | |
tree | 739562b4da885c32da484f074977a0fdee001752 /indra/newview/llmediactrl.cpp | |
parent | 8cbea388eaad8b40faa604f9d7fa2a64570548e2 (diff) |
EXT-4898: Changed English language code to "en" on Mac.
Now LLUI::getLanguage() returns a result that is consistent on Mac,
Windows, and Linux. Also, cleaned up some legacy language code.
Diffstat (limited to 'indra/newview/llmediactrl.cpp')
-rw-r--r-- | indra/newview/llmediactrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index d464862eed..3c34d26692 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -542,9 +542,9 @@ void LLMediaCtrl::navigateToLocalPage( const std::string& subdir, const std::str if (! gDirUtilp->fileExists(expanded_filename)) { - if (language != "en-us") + if (language != "en") { - expanded_filename = gDirUtilp->findSkinnedFilename("html", "en-us", filename); + expanded_filename = gDirUtilp->findSkinnedFilename("html", "en", filename); if (! gDirUtilp->fileExists(expanded_filename)) { llwarns << "File " << subdir << delim << filename_in << "not found" << llendl; |