Changeset 481
- Timestamp:
- 08/05/2010 09:15:14 PM (18 months ago)
- Location:
- trunk/WordPress/plugin/transposh/js
- Files:
-
- 2 edited
-
transposh.js (modified) (2 diffs)
-
transposhedit.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/js/transposh.js
r474 r481 143 143 var q = ''; 144 144 $(batchtrans).each(function (i) { 145 q += '&q=' + e scape(batchtrans[i]);145 q += '&q=' + encodeURIComponent(batchtrans[i]); 146 146 }); 147 147 $.ajax({ … … 267 267 }); 268 268 269 // how many ph arses are yet untranslated269 // how many phrases are yet untranslated 270 270 possibly_translateable = $("." + t_jp_prefix + '[data-source=""]').size(); 271 271 -
trunk/WordPress/plugin/transposh/js/transposhedit.js
r467 r481 86 86 $.ajax({ 87 87 url: 'http://ajax.googleapis.com/ajax/services/language/translate' + 88 '?v=1.0&q=' + e scape(to_trans) + '&langpair=%7C' + t_jp.lang,88 '?v=1.0&q=' + encodeURIComponent(to_trans) + '&langpair=%7C' + t_jp.lang, 89 89 dataType: "jsonp", 90 90 success: callback
Note: See TracChangeset
for help on using the changeset viewer.
