Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js |
— | — | @@ -285,7 +285,7 @@ |
286 | 286 | |
287 | 287 | // Add a title |
288 | 288 | $j( textElm ).attr('title', |
289 | | - gM('mwe-timedtext-key-language', [textSource.srclang, unescape( mw.Language.names[ textSource.srclang ] ) ] ) |
| 289 | + gM('mwe-timedtext-key-language', [textSource.srclang, mw.Language.names[ textSource.srclang ] ] ) |
290 | 290 | ); |
291 | 291 | |
292 | 292 | // Add the sources to the parent embedPlayer |
— | — | @@ -636,7 +636,7 @@ |
637 | 637 | var langKey = source.srclang.toLowerCase(); |
638 | 638 | _this.getLanguageName ( langKey ); |
639 | 639 | return $j.getLineItem( |
640 | | - gM('mwe-timedtext-key-language', [langKey, unescape( mw.Language.names[ source.srclang ] ) ] ), |
| 640 | + gM('mwe-timedtext-key-language', [langKey, mw.Language.names[ source.srclang ] ] ), |
641 | 641 | source_icon, |
642 | 642 | function() { |
643 | 643 | _this.selectTextSource( source ); |
Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedTextEdit.js |
— | — | @@ -219,7 +219,7 @@ |
220 | 220 | var langKey = $j(this).val(); |
221 | 221 | if( mw.Language.names[ langKey ] ) { |
222 | 222 | $buttonTarget.find('.btnText').text( |
223 | | - unescape( mw.Language.names[ langKey ] ) |
| 223 | + mw.Language.names[ langKey ] |
224 | 224 | ); |
225 | 225 | } |
226 | 226 | }), |
— | — | @@ -287,7 +287,7 @@ |
288 | 288 | langKey = langKey.pop(); |
289 | 289 | if( mw.Language.names[ langKey ] ) { |
290 | 290 | $buttonTarget.find('.btnText').text( |
291 | | - unescape( mw.Language.names[ langKey ] ) |
| 291 | + mw.Language.names[ langKey ] |
292 | 292 | ); |
293 | 293 | // Update the key code |
294 | 294 | $j('#timed-text-langKey-input').val( langKey ); |
— | — | @@ -406,14 +406,14 @@ |
407 | 407 | }, |
408 | 408 | getLangMenuItem: function( langKey , source_icon) { |
409 | 409 | return $j.getLineItem( |
410 | | - langKey + ' - ' + unescape( mw.Language.names[ langKey ] ), |
| 410 | + langKey + ' - ' + mw.Language.names[ langKey ], |
411 | 411 | source_icon, |
412 | 412 | function() { |
413 | 413 | mw.log( "Selected: " + langKey ); |
414 | 414 | // Update the input box text |
415 | 415 | $j('#timed-text-langKey-input').val( langKey ); |
416 | 416 | // Update the menu item: |
417 | | - $j('#language-select').find('.btnText').text( unescape( mw.Language.names[ langKey ] ) ) |
| 417 | + $j('#language-select').find('.btnText').text( mw.Language.names[ langKey ] ) |
418 | 418 | } |
419 | 419 | ); |
420 | 420 | }, |