diff options
author | Charles Krinke | 2009-01-31 18:27:44 +0000 |
---|---|---|
committer | Charles Krinke | 2009-01-31 18:27:44 +0000 |
commit | 4a120e9dd5152c5707a5cff905553ccc79b964ce (patch) | |
tree | 69b53dbfb1f468133cbf0f34fa640690a6b04dd4 | |
parent | Initial support for dynamic HG hyperlinks. With this commit, remote sims can ... (diff) | |
download | opensim-SC-4a120e9dd5152c5707a5cff905553ccc79b964ce.zip opensim-SC-4a120e9dd5152c5707a5cff905553ccc79b964ce.tar.gz opensim-SC-4a120e9dd5152c5707a5cff905553ccc79b964ce.tar.bz2 opensim-SC-4a120e9dd5152c5707a5cff905553ccc79b964ce.tar.xz |
Flesh out llGetAgentLanguage to return "en-us" until
we have an I18N committee for internationalization.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 36b524a..1e16a5c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -4929,9 +4929,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
4929 | public LSL_String llGetAgentLanguage(string id) | 4929 | public LSL_String llGetAgentLanguage(string id) |
4930 | { | 4930 | { |
4931 | // This should only return a value if the avatar is in the same region | 4931 | // This should only return a value if the avatar is in the same region |
4932 | //ckrinke 1-30-09 : This needs to parse the XMLRPC language field supplied | ||
4933 | //by the client at login. Currently returning only en-us until our I18N | ||
4934 | //effort gains momentum | ||
4932 | m_host.AddScriptLPS(1); | 4935 | m_host.AddScriptLPS(1); |
4933 | NotImplemented("llGetAgentLanguage"); | 4936 | return "en-us"; |
4934 | return ""; | ||
4935 | } | 4937 | } |
4936 | 4938 | ||
4937 | public void llAdjustSoundVolume(double volume) | 4939 | public void llAdjustSoundVolume(double volume) |