File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,9 @@ Template.mfTransLang.helpers({
288
288
if ( routeName ) str . routeUrl = routePathFromName ( routeName ) ;
289
289
}
290
290
return str || { } ;
291
+ } ,
292
+ encodeURIComponent : function ( text ) {
293
+ return encodeURIComponent ( text ) ;
291
294
}
292
295
} ) ;
293
296
Original file line number Diff line number Diff line change @@ -100,7 +100,9 @@ <h2>{{mf 'mf_site_translations' 'Site Translations'}}</h2>
100
100
</ span > < br />
101
101
< textarea id ="mfTransOrig " readonly > {{mfTransOrig}}</ textarea >
102
102
< textarea id ="mfTransDest "> {{mfTransTrans}}</ textarea >
103
-
103
+ < a href ='https://translate.google.com/#{{origLang}}/{{destLang}}/{{encodeURIComponent mfTransOrig}} ' target ='_blank '>
104
+ Google Translate?
105
+ </ a >
104
106
< br /> < br />
105
107
< p >
106
108
< a href ="/translate "> Back to Translation Summary</ a >
You can’t perform that action at this time.
0 commit comments