Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-136

[I18N] Viewer: add "language" parameter to Buy LindeX Floater's XMLRPC call

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Sprint 4, Viewer 2.2.0
    • Labels:
      None

      Description

      Same as landtool internationalization(EXT-7947), for Buy Lindex also need to be internationalized. XML_RPC call need to include language parameter.

      http://hg.lindenlab.com/dessie/viewer-trunk/src/tip/indra/newview/llcurrencyuimanager.cpp

      LLXMLRPCValue keywordArgs = LLXMLRPCValue::createStruct();
      keywordArgs.appendString("agentId", gAgent.getID().asString());
      keywordArgs.appendString(
      	"secureSessionId",
      	gAgent.getSecureSessionID().asString());
      keywordArgs.appendInt("billableArea", mPreflightAskBillableArea);
      keywordArgs.appendInt("currencyBuy", mPreflightAskCurrencyBuy);
      	
      LLXMLRPCValue params = LLXMLRPCValue::createArray();
      params.append(keywordArgs);
      
      

      We need to add one more for "language". The value should be the 2 letter language code (e.g. "en", "fr", "ja") etc.
      This has to be done everytime an XMLRPC call is made to secondlife.com (look for instances of "params.append(keywordArgs);" which occurs before the XMLRPC call.

        Attachments

          Activity

            People

            • Assignee:
              tofu.linden Tofu Linden
              Reporter:
              dore.linden dore linden (Inactive)
              Extended Group Visibility:
              jira-users
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: