Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
68a7c4cb
Commit
68a7c4cb
authored
13 years ago
by
Oz Linden
Browse files
Options
Downloads
Plain Diff
merge changes for vwr-25654
parents
a98c22e9
20a48876
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/contributions.txt
+2
-0
2 additions, 0 deletions
doc/contributions.txt
indra/newview/lltranslate.cpp
+5
-1
5 additions, 1 deletion
indra/newview/lltranslate.cpp
with
7 additions
and
1 deletion
doc/contributions.txt
+
2
−
0
View file @
68a7c4cb
...
@@ -76,6 +76,7 @@ Aleric Inglewood
...
@@ -76,6 +76,7 @@ Aleric Inglewood
VWR-13996
VWR-13996
VWR-14426
VWR-14426
VWR-24247
VWR-24247
VWR-25654
VWR-24251
VWR-24251
VWR-24252
VWR-24252
VWR-24254
VWR-24254
...
@@ -209,6 +210,7 @@ Boroondas Gupte
...
@@ -209,6 +210,7 @@ Boroondas Gupte
STORM-1182
STORM-1182
VWR-233
VWR-233
VWR-20583
VWR-20583
VWR-25654
VWR-20891
VWR-20891
VWR-23455
VWR-23455
VWR-24487
VWR-24487
...
...
This diff is collapsed.
Click to expand it.
indra/newview/lltranslate.cpp
+
5
−
1
View file @
68a7c4cb
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
#include
"lltranslate.h"
#include
"lltranslate.h"
#include
<curl/curl.h>
#include
"llbufferstream.h"
#include
"llbufferstream.h"
#include
"llui.h"
#include
"llui.h"
#include
"llversioninfo.h"
#include
"llversioninfo.h"
...
@@ -76,7 +78,9 @@ void LLTranslate::translateMessage(LLHTTPClient::ResponderPtr &result, const std
...
@@ -76,7 +78,9 @@ void LLTranslate::translateMessage(LLHTTPClient::ResponderPtr &result, const std
//static
//static
void
LLTranslate
::
getTranslateUrl
(
std
::
string
&
translate_url
,
const
std
::
string
&
from_lang
,
const
std
::
string
&
to_lang
,
const
std
::
string
&
mesg
)
void
LLTranslate
::
getTranslateUrl
(
std
::
string
&
translate_url
,
const
std
::
string
&
from_lang
,
const
std
::
string
&
to_lang
,
const
std
::
string
&
mesg
)
{
{
std
::
string
escaped_mesg
=
curl_escape
(
mesg
.
c_str
(),
mesg
.
size
());
char
*
curl_str
=
curl_escape
(
mesg
.
c_str
(),
mesg
.
size
());
std
::
string
const
escaped_mesg
(
curl_str
);
curl_free
(
curl_str
);
translate_url
=
m_GoogleURL
translate_url
=
m_GoogleURL
+
escaped_mesg
+
m_GoogleLangSpec
+
escaped_mesg
+
m_GoogleLangSpec
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment