From 4a120e9dd5152c5707a5cff905553ccc79b964ce Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sat, 31 Jan 2009 18:27:44 +0000 Subject: Flesh out llGetAgentLanguage to return "en-us" until we have an I18N committee for internationalization. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim') 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 public LSL_String llGetAgentLanguage(string id) { // This should only return a value if the avatar is in the same region + //ckrinke 1-30-09 : This needs to parse the XMLRPC language field supplied + //by the client at login. Currently returning only en-us until our I18N + //effort gains momentum m_host.AddScriptLPS(1); - NotImplemented("llGetAgentLanguage"); - return ""; + return "en-us"; } public void llAdjustSoundVolume(double volume) -- cgit v1.1