Index: trunk/extensions/LiveTranslate/RELEASE-NOTES |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | 2011-04-21 |
10 | 10 | |
11 | 11 | * Added settings to specify per-namespace if the translation control should be shown or not. |
12 | | -* Use of FormatJson::encode instead of josn_encode for compatibility with PHP5 < 5.2. |
| 12 | +* Use of FormatJson::encode instead of json_encode for compatibility with PHP5 < 5.2. |
13 | 13 | |
14 | 14 | === Version 0.5 === |
15 | 15 | 2011-01-16 |
Index: trunk/extensions/LiveTranslate/includes/ext.livetranslate.js |
— | — | @@ -344,7 +344,7 @@ |
345 | 345 | |
346 | 346 | if ( untranslatedsentences.length == 0 ) { |
347 | 347 | // If the current chunk was smaller then the max size, node translation is complete, so update text. |
348 | | - textAreaElement.innerHTML = chunks.join(); // This is a hack to decode quotes. |
| 348 | + textAreaElement.innerHTML = chunks.join( '' ); // This is a hack to decode quotes. |
349 | 349 | element.replaceData( 0, element.length, textAreaElement.value ); |
350 | 350 | handleTranslationCompletion( targetLang ); |
351 | 351 | } |