r66448 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66447‎ | r66448 | r66449 >
Date:21:55, 14 May 2010
Author:dale
Status:deferred
Tags:
Comment:
mwEmbedStand alone sync with extension updates
Modified paths:
  • /branches/MwEmbedStandAlone/includes/jsClassLoader.php (modified) (history)
  • /branches/MwEmbedStandAlone/includes/noMediaWikiConfig.php (modified) (history)
  • /branches/MwEmbedStandAlone/modules/ApiProxy/mw.ApiProxy.js (modified) (history)
  • /branches/MwEmbedStandAlone/modules/EmbedPlayer/EmbedPlayer.i18n.php (modified) (history)
  • /branches/MwEmbedStandAlone/modules/TimedText/TimedText.i18n.php (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/includes/jsClassLoader.php
@@ -25,11 +25,17 @@
2626 // The current directory context. Used in loading javascript modules outside of the mwEmbed folder
2727 private static $directoryContext = '';
2828
 29+ // Stores class parent moduleName
 30+ private static $classParentModuleName = array();
 31+
 32+ // The current module name used for callback functions in regular expressions
 33+ private static $currentModuleName = '';
 34+
2935 /**
3036 * Get the javascript class paths from javascript files
3137 */
3238 public static function loadClassPaths(){
33 - global $wgMwEmbedDirectory, $wgExtensionJavascriptLoader,
 39+ global $wgMwEmbedDirectory, $wgExtensionJavascriptModules,
3440 $wgScriptLoaderNamedPaths, $wgExtensionMessagesFiles, $IP;
3541
3642 // Only run once
@@ -37,6 +43,7 @@
3844 return false;
3945 }
4046 self::$classesLoaded = true;
 47+
4148 // Start the profiler if running
4249 $fname = 'jsClassLoader::loadClassPaths';
4350 wfProfileIn( $fname );
@@ -54,12 +61,10 @@
5562 return false;
5663 }
5764
58 - // Read the mwEmbed loader file:
 65+ // Proccess the mwEmbed loader file:
5966 $fileContent = file_get_contents( $mwEmbedAbsolutePath . '/loader.js' );
60 -
61 - // Get class paths from mwEmbed.js
6267 self::$directoryContext = $wgMwEmbedDirectory;
63 - self::proccessLoaderContent( $fileContent );
 68+ self::proccessLoaderContent( $fileContent , 'mwEmbed' );
6469
6570 // Get the list of core component into self::$coreComponentsList
6671 preg_replace_callback(
@@ -75,49 +80,62 @@
7681 $fileContent
7782 );
7883
 84+ // Change to the root mediawiki directory ( loader.js paths are relative to root mediawiki directory )
 85+ // ( helpful for when running maintenance scripts )
 86+ if( defined( 'DO_MAINTENANCE' ) ) {
 87+ $initialPath = getcwd();
 88+ chdir( $IP );
 89+ }
 90+
7991 // Get all the classes from the enabled mwEmbed modules folder
8092 foreach( self::$moduleList as $na => $moduleName){
8193 $relativeSlash = ( $wgMwEmbedDirectory == '' )? '' : '/';
82 - self::proccessModulePath( $wgMwEmbedDirectory . $relativeSlash . 'modules/' . $moduleName );
 94+ $modulePath = $wgMwEmbedDirectory . $relativeSlash . 'modules/' . $moduleName;
 95+ self::proccessModulePath( $moduleName, $modulePath );
8396 }
8497
8598 // Get all the extension loader paths registered mwEmbed modules
86 - foreach( $wgExtensionJavascriptLoader as $na => $loaderPath){
87 - // Setup the directory context for extensions relative to loader.js file:
88 - $modulePath = str_replace('/loader.js', '' , $loaderPath);
89 - self::proccessModulePath( $modulePath );
 99+ foreach( $wgExtensionJavascriptModules as $moduleName => $modulePath ){
 100+ self::proccessModulePath( $moduleName, $modulePath );
90101 }
91102
 103+ if( defined( 'DO_MAINTENANCE' ) ) {
 104+ chdir( $initialPath );
 105+ }
 106+
92107 wfProfileOut( $fname );
93108 }
94109 /**
95110 * Process a loader path, passes off to proccessLoaderContent
96111 *
97 - * @param String $path Path to module to be processed
 112+ * @param String $moduleName Name of module to be processed
 113+ * @param String $modulePath Path to module to be processed
98114 */
99 - private static function proccessModulePath( $path ){
 115+ private static function proccessModulePath( $moduleName, $modulePath ){
100116 global $wgExtensionMessagesFiles;
101117
102118 // Get the module name
103 - $moduleName = end( explode('/', $path ) );
 119+ $moduleName = end( explode('/', $modulePath ) );
104120
105121 // Set the directory context for relative js/css paths
106 - self::$directoryContext = $path;
 122+ self::$directoryContext = $modulePath;
107123
108124 // Check for the loader.js
109 - if( !is_file( $path . '/loader.js' ) ){
 125+ if( !is_file( $modulePath . '/loader.js' ) ){
110126 throw new MWException( "Javascript Module $moduleName missing loader.js file\n" );
111127 return false;
112128 }
113129
114 - $fileContent = file_get_contents( $path . '/loader.js');
115 - self::proccessLoaderContent( $fileContent );
 130+ $fileContent = file_get_contents( $modulePath . '/loader.js');
 131+ self::proccessLoaderContent( $fileContent, $moduleName );
116132
117 - $i18nPath = realpath( $path . '/' . $moduleName . '.i18n.php' );
 133+ $i18nPath = realpath( $modulePath . '/' . $moduleName . '.i18n.php' );
118134
119135 // Add the module localization file if present:
120136 if( is_file( $i18nPath ) ) {
121137 $wgExtensionMessagesFiles[ $moduleName ] = $i18nPath;
 138+ } else {
 139+ // Module has no message file
122140 }
123141 }
124142
@@ -128,10 +146,14 @@
129147 *
130148 * @param String $fileContent content of loader.js file
131149 */
132 - private static function proccessLoaderContent( & $fileContent ){
 150+ private static function proccessLoaderContent( & $fileContent , $moduleName){
133151 // Add the mwEmbed loader js to its global collector:
134152 self::$combinedLoadersJs .= $fileContent;
135153
 154+ // Is there a way to pass arguments in preg_replace_callback ?
 155+ self::$currentModuleName = $moduleName;
 156+
 157+ // Run the replace callback:
136158 preg_replace_callback(
137159 self::$classReplaceExp,
138160 'jsClassLoader::preg_classPathLoader',
@@ -264,8 +286,38 @@
265287 // Strip $ from class (as they are stripped on URL request parameter input)
266288 $className = str_replace( '$', '', $className );
267289 $classPath = ( self::$directoryContext == '' )? $classPath : self::$directoryContext . '/' . $classPath;
 290+
 291+ // Throw an error if we already have defined this class:
 292+ // This prevents a module from registering a shared class
 293+ // or multiple modules using the same className
 294+ if( isset( $wgScriptLoaderNamedPaths[ $className ] ) ){
 295+
 296+ // Presently extensions don't register were the named path parent module
 297+ // so we just have a gnneral extension error.
 298+ $setInModuleError = ( self::$classParentModuleName [ $className ] )
 299+ ? " set in module: " . self::$classParentModuleName [ $className ]
 300+ : " set in an extension ";
 301+
 302+ throw new MWException( "Error class $className already $setInModuleError \n" );
 303+ }
 304+
 305+ // Else update the global $wgScriptLoaderNamedPaths ( all scriptloader named paths )
268306 $wgScriptLoaderNamedPaths[ $className ] = $classPath;
 307+
 308+ // Register the parent module ( javascript module specific )
 309+ self::$classParentModuleName [ $className ] = self::$currentModuleName ;
269310 }
270311 }
 312+ /**
 313+ * Return the module name for a given class or false if not found
 314+ * @param $className Class to get the module for
 315+ */
 316+ public function getClassModuleName( $className ){
 317+ if( isset( self::$classParentModuleName [ $className ] ) ){
 318+ return self::$classParentModuleName [ $className ];
 319+ } else {
 320+ return false;
 321+ }
 322+ }
271323 }
272324
Index: branches/MwEmbedStandAlone/includes/noMediaWikiConfig.php
@@ -28,8 +28,8 @@
2929 // Named paths for the script loader
3030 $wgScriptLoaderNamedPaths = array();
3131
32 -// Added Modules
33 -$wgExtensionJavascriptLoader = array();
 32+// Named Module Paths
 33+$wgExtensionJavascriptModules = array();
3434
3535 // Extension Messages Files
3636 $wgExtensionMessagesFiles = array();
Index: branches/MwEmbedStandAlone/modules/TimedText/TimedText.i18n.php
@@ -57,6 +57,88 @@
5858 'mwe-timedtext-language-no-subtitles-for-clip' => 'No $1 subtitles where found for clip: $2',
5959 );
6060
 61+/** Breton (Brezhoneg)
 62+ * @author Y-M D
 63+ */
 64+$messages['br'] = array(
 65+ 'mwe-timedtext-textcat-lrc' => 'Komzoù',
 66+);
 67+
 68+/** Spanish (Español)
 69+ * @author Crazymadlover
 70+ */
 71+$messages['es'] = array(
 72+ 'mwe-timedtext-stage-translate' => 'Traducir',
 73+ 'mwe-timedtext-stage-upload' => 'Subir desde un archivo local',
 74+ 'mwe-timedtext-select-language' => 'Seleccionar idioma',
 75+ 'mwe-timedtext-upload-text' => 'Subir archivo de texto',
 76+ 'mwe-timedtext-uploading-text' => 'Subiendo archivo de texto',
 77+ 'mwe-timedtext-upload-text-desc-title' => 'Subir un archivo de texto',
 78+);
 79+
 80+/** Luxembourgish (Lëtzebuergesch)
 81+ * @author Robby
 82+ */
 83+$messages['lb'] = array(
 84+ 'mwe-timedtext-stage-translate' => 'Iwwersetzen',
 85+ 'mwe-timedtext-select-language' => 'Sprooch eraussichen',
 86+ 'mwe-timedtext-upload-text-desc-help-select' => "D'Sprooch vum Fichier eraussichen",
 87+ 'mwe-timedtext-upload-text-preview' => 'Text nokucken',
 88+ 'mwe-timedtext-back-btn' => 'Zréck',
 89+ 'mwe-timedtext-layout' => 'Layout',
 90+);
 91+
 92+/** Macedonian (Македонски)
 93+ * @author Bjankuloski06
 94+ */
 95+$messages['mk'] = array(
 96+ 'mwe-timedtext-editor' => 'Уредник на синхронизиран текст',
 97+ 'mwe-timedtext-stage-transcribe' => 'Направи стенограм',
 98+ 'mwe-timedtext-stage-sync' => 'Синхро',
 99+ 'mwe-timedtext-stage-translate' => 'Преведи',
 100+ 'mwe-timedtext-stage-upload' => 'Подигни од локална податотека',
 101+ 'mwe-timedtext-select-language' => 'Одберете јазик',
 102+ 'mwe-timedtext-file-language' => 'Јазик на податотеката со титл',
 103+ 'mwe-timedtext-upload-text' => 'Подигни податотека со текст',
 104+ 'mwe-timedtext-uploading-text' => 'Подигање на податотека со текст',
 105+ 'mwe-timedtext-upload-text-desc-title' => 'Подигни податотека со текст',
 106+ 'mwe-timedtext-upload-text-desc-help' => 'Интерфејсот за подигање текстуални податотеки прифаќа .srt податотеки',
 107+ 'mwe-timedtext-upload-text-desc-help-browse' => 'Одберете ја од вашиот компјутер .srt податотеката што сакате да ја подигнете',
 108+ 'mwe-timedtext-upload-text-desc-help-select' => 'Одберете го јазикот на податотеката',
 109+ 'mwe-timedtext-upload-text-desc-help-review' => 'Проверете / исправете го текстот и потоа притиснете на „Подигни“ за да го додадете текстот',
 110+ 'mwe-timedtext-upload-text-preview' => 'Провери текст',
 111+ 'mwe-timedtext-upload-text-success' => 'Подигањето на синхронизиран текст е успешно',
 112+ 'mwe-timedtext-upload-text-done' => 'Подигањето е завршено',
 113+ 'mwe-timedtext-upload-text-fail-desc' => 'Подигањето е неуспешно',
 114+ 'mwe-timedtext-upload-text-fail-title' => 'Подигањето не успеа',
 115+ 'mwe-timedtext-upload-text-another' => 'Подигни друга',
 116+ 'mwe-timedtext-upload-text-done-uploading' => 'Готово со подигање',
 117+ 'mwe-timedtext-back-btn' => 'Назад',
 118+ 'mwe-timedtext-choose-text' => 'Одберете текст',
 119+ 'mwe-timedtext-add-timed-text' => 'Додај синхронизиран текст',
 120+ 'mwe-timedtext-loading-text-edit' => 'Ги вчитувам уредникот на синхронизиран текст',
 121+ 'mwe-timedtext-search' => 'Пребарај снимка',
 122+ 'mwe-timedtext-layout' => 'Распоред',
 123+ 'mwe-timedtext-layout-ontop' => 'Над снимката',
 124+ 'mwe-timedtext-layout-below' => 'Под снимката',
 125+ 'mwe-timedtext-layout-off' => 'Сокриј титлови',
 126+ 'mwe-timedtext-loading-text' => 'Го вчитувам текстот...',
 127+ 'mwe-timedtext-textcat-cc' => 'Опис',
 128+ 'mwe-timedtext-textcat-sub' => 'Титлови',
 129+ 'mwe-timedtext-textcat-tad' => 'Аудио-опис',
 130+ 'mwe-timedtext-textcat-ktv' => 'Караоке',
 131+ 'mwe-timedtext-textcat-tik' => 'Текст-картички',
 132+ 'mwe-timedtext-textcat-ar' => 'Активни региони',
 133+ 'mwe-timedtext-textcat-nb' => 'Анотација',
 134+ 'mwe-timedtext-textcat-meta' => 'Синхронизирани метаподатоци',
 135+ 'mwe-timedtext-textcat-trx' => 'Стенограм',
 136+ 'mwe-timedtext-textcat-lrc' => 'Текст на песната',
 137+ 'mwe-timedtext-textcat-lin' => 'Лингвистичко означување',
 138+ 'mwe-timedtext-textcat-cue' => 'Моментни точки',
 139+ 'mwe-timedtext-language-subtitles-for-clip' => '$1 — титлови за снимката: $2',
 140+ 'mwe-timedtext-language-no-subtitles-for-clip' => 'Нема пронајдено титлови на $1 за снимката: $2',
 141+);
 142+
61143 /** Dutch (Nederlands)
62144 * @author Siebrand
63145 */
@@ -110,11 +192,54 @@
111193
112194 /** Portuguese (Português)
113195 * @author Giro720
 196+ * @author Hamilton Abreu
114197 */
115198 $messages['pt'] = array(
116 - 'mwe-timedtext-stage-sync' => 'Sinc',
 199+ 'mwe-timedtext-editor' => 'Editor de legendas',
 200+ 'mwe-timedtext-stage-transcribe' => 'Transcrever',
 201+ 'mwe-timedtext-stage-sync' => 'Sincronizar',
117202 'mwe-timedtext-stage-translate' => 'Traduzir',
118 - 'mwe-timedtext-select-language' => 'Escolha o idioma',
 203+ 'mwe-timedtext-stage-upload' => 'Carregar a partir de ficheiro local',
 204+ 'mwe-timedtext-select-language' => 'Escolher a língua',
 205+ 'mwe-timedtext-file-language' => 'Língua do ficheiro de legendas',
 206+ 'mwe-timedtext-upload-text' => 'Carregar ficheiro de texto',
 207+ 'mwe-timedtext-uploading-text' => 'A carregar o ficheiro de texto',
 208+ 'mwe-timedtext-upload-text-desc-title' => 'Carregar um ficheiro de texto',
 209+ 'mwe-timedtext-upload-text-desc-help' => 'A interface de upload de ficheiros de texto aceita ficheiros .srt.',
 210+ 'mwe-timedtext-upload-text-desc-help-browse' => 'Procure no seu computador local o ficheiro .srt que pretende carregar',
 211+ 'mwe-timedtext-upload-text-desc-help-select' => 'Seleccione a língua do ficheiro',
 212+ 'mwe-timedtext-upload-text-desc-help-review' => 'Reveja e edite o texto e carregue em upload para adicioná-lo',
 213+ 'mwe-timedtext-upload-text-preview' => 'Rever o texto',
 214+ 'mwe-timedtext-upload-text-success' => 'Foi feito o upload das legendas',
 215+ 'mwe-timedtext-upload-text-done' => 'Upload terminado',
 216+ 'mwe-timedtext-upload-text-fail-desc' => 'Não foi feito o upload',
 217+ 'mwe-timedtext-upload-text-fail-title' => 'O upload falhou',
 218+ 'mwe-timedtext-upload-text-another' => 'Carregar outro',
 219+ 'mwe-timedtext-upload-text-done-uploading' => 'Não carregar mais',
 220+ 'mwe-timedtext-back-btn' => 'Voltar',
 221+ 'mwe-timedtext-choose-text' => 'Escolher texto',
 222+ 'mwe-timedtext-add-timed-text' => 'Adicionar legendas',
 223+ 'mwe-timedtext-loading-text-edit' => 'A carregar o editor de legendas',
 224+ 'mwe-timedtext-search' => 'Procurar clipe',
 225+ 'mwe-timedtext-layout' => 'Posição',
 226+ 'mwe-timedtext-layout-ontop' => 'Sobre o vídeo',
 227+ 'mwe-timedtext-layout-below' => 'Abaixo do vídeo',
 228+ 'mwe-timedtext-layout-off' => 'Esconder legendas',
 229+ 'mwe-timedtext-loading-text' => 'A carregar o texto ...',
 230+ 'mwe-timedtext-textcat-cc' => 'Títulos',
 231+ 'mwe-timedtext-textcat-sub' => 'Legendas',
 232+ 'mwe-timedtext-textcat-tad' => 'Descrição áudio',
 233+ 'mwe-timedtext-textcat-ktv' => 'Karaoke',
 234+ 'mwe-timedtext-textcat-tik' => 'Cotações',
 235+ 'mwe-timedtext-textcat-ar' => 'Regiões activas',
 236+ 'mwe-timedtext-textcat-nb' => 'Anotação',
 237+ 'mwe-timedtext-textcat-meta' => 'Metadados de sincronização',
 238+ 'mwe-timedtext-textcat-trx' => 'Transcrição',
 239+ 'mwe-timedtext-textcat-lrc' => 'Letra',
 240+ 'mwe-timedtext-textcat-lin' => 'Marcação linguística',
 241+ 'mwe-timedtext-textcat-cue' => 'Pontos de entrada',
 242+ 'mwe-timedtext-language-subtitles-for-clip' => 'Legendas em $1 para o clipe: $2',
 243+ 'mwe-timedtext-language-no-subtitles-for-clip' => 'Não foram encontradas legendas em $1 para o clipe: $2',
119244 );
120245
121246 /** Russian (Русский)
@@ -167,3 +292,34 @@
168293 'mwe-timedtext-language-no-subtitles-for-clip' => 'Не найдено субтитров на $1 для клипа: $2',
169294 );
170295
 296+/** Swedish (Svenska)
 297+ * @author Dafer45
 298+ */
 299+$messages['sv'] = array(
 300+ 'mwe-timedtext-stage-sync' => 'Sync',
 301+ 'mwe-timedtext-stage-translate' => 'Översätt',
 302+ 'mwe-timedtext-stage-upload' => 'Ladda upp från lokal fil',
 303+ 'mwe-timedtext-select-language' => 'Välj språk',
 304+ 'mwe-timedtext-upload-text' => 'Ladda upp textfil',
 305+ 'mwe-timedtext-uploading-text' => 'Laddar upp textfil',
 306+ 'mwe-timedtext-upload-text-desc-title' => 'Ladda upp en textfil',
 307+ 'mwe-timedtext-upload-text-desc-help-select' => 'Välj filens språk',
 308+ 'mwe-timedtext-upload-text-desc-help-review' => 'Granska / redigera textens innehåll och tryck sedan ladda upp för att lägga till text',
 309+ 'mwe-timedtext-upload-text-preview' => 'Granska text',
 310+ 'mwe-timedtext-upload-text-done' => 'Uppladdning klar',
 311+ 'mwe-timedtext-upload-text-fail-desc' => 'Uppladdningen misslyckades',
 312+ 'mwe-timedtext-upload-text-fail-title' => 'Uppladdning misslyckades',
 313+ 'mwe-timedtext-upload-text-another' => 'Ladda upp en till',
 314+ 'mwe-timedtext-upload-text-done-uploading' => 'Klar med uppladdning',
 315+ 'mwe-timedtext-back-btn' => 'Tillbaka',
 316+ 'mwe-timedtext-choose-text' => 'Välj text',
 317+ 'mwe-timedtext-layout' => 'Layout',
 318+ 'mwe-timedtext-layout-off' => 'Dölj undertexter',
 319+ 'mwe-timedtext-loading-text' => 'Laddar text ...',
 320+ 'mwe-timedtext-textcat-sub' => 'Undertexter',
 321+ 'mwe-timedtext-textcat-ktv' => 'Karaoke',
 322+ 'mwe-timedtext-textcat-ar' => 'Aktiva regioner',
 323+ 'mwe-timedtext-textcat-nb' => 'Anmärkning',
 324+ 'mwe-timedtext-language-subtitles-for-clip' => '$1 undertexter för klipp: $2',
 325+);
 326+
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/EmbedPlayer.i18n.php
@@ -239,10 +239,14 @@
240240 'mwe-embedplayer-copy-code' => 'Kopírovat kód',
241241 );
242242
243 -/** German (Deutsch) */
 243+/** German (Deutsch)
 244+ * @author Kghbln
 245+ */
244246 $messages['de'] = array(
 247+ 'mwe-embedplayer-credit-title' => 'Titel: $1',
245248 'mwe-embedplayer-loading_plugin' => 'lade Plugin …',
246249 'mwe-embedplayer-select_playback' => 'Wiedergabeeinstellungen ändern',
 250+ 'mwe-embedplayer-link_back' => 'Link zurück',
247251 'mwe-embedplayer-error_swap_vid' => 'Fehler: mv_embed konnte nicht das Videotag für die mv_embed-Oberfläche auslagern',
248252 'mwe-embedplayer-add_to_end_of_sequence' => 'Zum Ende der Sequenz hinzufügen',
249253 'mwe-embedplayer-missing_video_stream' => 'Die Videodatei für diesen Stream fehlt',
@@ -250,6 +254,7 @@
251255 'mwe-embedplayer-pause_clip' => 'Clip pausieren',
252256 'mwe-embedplayer-volume_control' => 'Lautstärkensteuerung',
253257 'mwe-embedplayer-player_options' => 'Playeroptionen',
 258+ 'mwe-embedplayer-timed_text' => 'Als nächstes eingereiht',
254259 'mwe-embedplayer-player_fullscreen' => 'Vollbild',
255260 'mwe-embedplayer-next_clip_msg' => 'Nächsten Clip wiedergeben',
256261 'mwe-embedplayer-prev_clip_msg' => 'Vorherigen Clip wiedergeben',
@@ -266,20 +271,27 @@
267272 'mwe-embedplayer-credits' => 'Credits',
268273 'mwe-embedplayer-clip_linkback' => 'Clip-Quellseite',
269274 'mwe-embedplayer-choose_player' => 'Videoplayer auswählen',
 275+ 'mwe-embedplayer-no-player' => 'Es ist für $1 kein Player verfügbar',
270276 'mwe-embedplayer-share_this_video' => 'Dieses Video teilen',
271277 'mwe-embedplayer-video_credits' => 'Videocredits',
 278+ 'mwe-embedplayer-kaltura-platform-title' => 'Kaltura Open-Source-Video-Plattform',
272279 'mwe-embedplayer-menu_btn' => 'Menü',
273280 'mwe-embedplayer-close_btn' => 'Schließen',
 281+ 'mwe-embedplayer-ogg-player-vlc-player' => 'VLC-Player',
 282+ 'mwe-embedplayer-ogg-player-oggNative' => 'HTML5 Ogg-Player',
 283+ 'mwe-embedplayer-ogg-player-h264Native' => 'HTML5 H.264-Player',
274284 'mwe-embedplayer-ogg-player-oggPlugin' => 'Allgemeines Ogg-Plugin',
275285 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'QuickTime-Plugin',
276286 'mwe-embedplayer-ogg-player-quicktime-activex' => 'QuickTime ActiveX',
277287 'mwe-embedplayer-ogg-player-cortado' => 'Java Cortado',
278288 'mwe-embedplayer-ogg-player-flowplayer' => 'Flowplayer',
 289+ 'mwe-embedplayer-ogg-player-kplayer' => 'Kaltura-Player',
279290 'mwe-embedplayer-ogg-player-selected' => '(ausgewählt)',
280291 'mwe-embedplayer-ogg-player-omtkplayer' => 'OMTK Flash Vorbis',
281292 'mwe-embedplayer-generic_missing_plugin' => 'Dein Browser scheint folgenden Wiedergabetyp nicht zu unterstützen: <b>$1</b><br />Besuche die <a href="http://commons.wikimedia.org/wiki/Commons:Media_help">Multimediahilfe</a>, um einen Player herunterzuladen.<br />',
282293 'mwe-embedplayer-for_best_experience' => 'Für eine bessere Videowiedergabe wird empfohlen:<br /><b><a href="http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed">Firefox 3.5</a>.</b>',
283294 'mwe-embedplayer-do_not_warn_again' => 'Dieses Mal ignorieren.',
 295+ 'mwe-embedplayer-playerSelect' => 'Player',
284296 'mwe-embedplayer-read_before_embed' => 'Bitte lies vor dem Einbinden die <a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">Sicherheitsanmerkungen</a>!',
285297 'mwe-embedplayer-embed_site_or_blog' => 'Auf deiner Seite einbinden',
286298 'mwe-embedplayer-related_videos' => 'Ähnliche Videos',
@@ -289,6 +301,7 @@
290302 'mwe-embedplayer-video-flv' => 'Flash-Video',
291303 'mwe-embedplayer-video-ogg' => 'Ogg-Video',
292304 'mwe-embedplayer-video-audio' => 'Ogg-Audiodatei',
 305+ 'mwe-embedplayer-missing-source' => 'Es konnte kein Videoclip gefunden werden. Prüfe ob der von dir eingebettete Code eine Quelle und/ oder einen API-Schlüssel enthält',
293306 );
294307
295308 /** Zazaki (Zazaki) */
@@ -518,7 +531,9 @@
519532 'mwe-embedplayer-copy-code' => 'Kopioi koodi',
520533 );
521534
522 -/** French (Français) */
 535+/** French (Français)
 536+ * @author IAlex
 537+ */
523538 $messages['fr'] = array(
524539 'mwe-embedplayer-credit-title' => 'Titre : $1',
525540 'mwe-embedplayer-loading_plugin' => 'chargement du greffon ...',
@@ -531,6 +546,7 @@
532547 'mwe-embedplayer-pause_clip' => 'Mettre le clip en pause',
533548 'mwe-embedplayer-volume_control' => 'Contrôle du volume',
534549 'mwe-embedplayer-player_options' => 'Options du lecteur',
 550+ 'mwe-embedplayer-timed_text' => 'Texte défilant',
535551 'mwe-embedplayer-player_fullscreen' => 'Plein écran',
536552 'mwe-embedplayer-next_clip_msg' => 'Lire le clip suivant',
537553 'mwe-embedplayer-prev_clip_msg' => 'Lire le clip précédent',
@@ -547,11 +563,15 @@
548564 'mwe-embedplayer-credits' => 'Crédits',
549565 'mwe-embedplayer-clip_linkback' => 'Page source du clip',
550566 'mwe-embedplayer-choose_player' => 'Choisir le lecteur vidéo',
 567+ 'mwe-embedplayer-no-player' => 'Aucun lecteur disponible pour $1',
551568 'mwe-embedplayer-share_this_video' => 'Partager cette vidéo',
552569 'mwe-embedplayer-video_credits' => 'Crédits de la vidéo',
 570+ 'mwe-embedplayer-kaltura-platform-title' => 'Plateforme vidéo en source ouverte Kaltura',
553571 'mwe-embedplayer-menu_btn' => 'Menu',
554572 'mwe-embedplayer-close_btn' => 'Fermer',
555573 'mwe-embedplayer-ogg-player-vlc-player' => 'Lecteur VLC',
 574+ 'mwe-embedplayer-ogg-player-oggNative' => 'Lecteur Ogg HTML5',
 575+ 'mwe-embedplayer-ogg-player-h264Native' => 'Lecteur H.264 HTML5',
556576 'mwe-embedplayer-ogg-player-oggPlugin' => 'Module générique Ogg',
557577 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Module QuickTime',
558578 'mwe-embedplayer-ogg-player-quicktime-activex' => 'ActiveX QuickTime',
@@ -563,6 +583,7 @@
564584 'mwe-embedplayer-generic_missing_plugin' => 'Votre navigateur ne semble pas compatible avec le type de lecture suivant : <b>$1</b><br />Visitez la page des <a href="http://commons.wikimedia.org/wiki/Commons:Media_help">méthodes de visionnage</a> pour télécharger un lecteur.<br />',
565585 'mwe-embedplayer-for_best_experience' => 'Pour un meilleur visionnage nous recommandons :<br /><b><a href="http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed">Firefox 3.5</a>.</b>',
566586 'mwe-embedplayer-do_not_warn_again' => 'Interrompre pour le moment.',
 587+ 'mwe-embedplayer-playerSelect' => 'Lecteurs',
567588 'mwe-embedplayer-read_before_embed' => 'Veuillez <a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">lire ceci</a> avant de procéder !',
568589 'mwe-embedplayer-embed_site_or_blog' => 'Intégrer dans une page',
569590 'mwe-embedplayer-related_videos' => 'Vidéos associées',
@@ -572,6 +593,7 @@
573594 'mwe-embedplayer-video-flv' => 'vidéo Flash',
574595 'mwe-embedplayer-video-ogg' => 'vidéo Ogg',
575596 'mwe-embedplayer-video-audio' => 'Audio Ogg',
 597+ 'mwe-embedplayer-missing-source' => "Aucune source vidéo n'a été trouvée. Vérifiez que votre code d'intégration comprend une source ou clé API",
576598 );
577599
578600 /** Galician (Galego)
@@ -724,7 +746,9 @@
725747 'mwe-embedplayer-related_videos' => 'סרטונים קשורים',
726748 );
727749
728 -/** Upper Sorbian (Hornjoserbsce) */
 750+/** Upper Sorbian (Hornjoserbsce)
 751+ * @author Michawiki
 752+ */
729753 $messages['hsb'] = array(
730754 'mwe-embedplayer-credit-title' => 'Titul: $1',
731755 'mwe-embedplayer-loading_plugin' => 'tykač so začituje ...',
@@ -737,6 +761,7 @@
738762 'mwe-embedplayer-pause_clip' => 'Klip zastajić',
739763 'mwe-embedplayer-volume_control' => 'Regulowanje sylnosće zwuka',
740764 'mwe-embedplayer-player_options' => 'Opcije wothrawaka',
 765+ 'mwe-embedplayer-timed_text' => 'Synchronizowany tekst',
741766 'mwe-embedplayer-player_fullscreen' => 'Połna wobrazowka',
742767 'mwe-embedplayer-next_clip_msg' => 'Přichodny klip wothrać',
743768 'mwe-embedplayer-prev_clip_msg' => 'Předchadny klip wothrać',
@@ -753,11 +778,15 @@
754779 'mwe-embedplayer-credits' => 'Dźakprajenje',
755780 'mwe-embedplayer-clip_linkback' => 'Žórłow strona klipa',
756781 'mwe-embedplayer-choose_player' => 'Widejowy wothrawak wubrać',
 782+ 'mwe-embedplayer-no-player' => 'Žadyn wothrawak za $1 k dispoziciji',
757783 'mwe-embedplayer-share_this_video' => 'Tute widejo zhromadnje wužiwać',
758784 'mwe-embedplayer-video_credits' => 'Dźakprajenja za wutworjenje wideja',
 785+ 'mwe-embedplayer-kaltura-platform-title' => 'Widejoplatforma Kaltura ze zjawneho žórła',
759786 'mwe-embedplayer-menu_btn' => 'Meni',
760787 'mwe-embedplayer-close_btn' => 'Začinić',
761788 'mwe-embedplayer-ogg-player-vlc-player' => 'Wothrawak VLC',
 789+ 'mwe-embedplayer-ogg-player-oggNative' => 'Wothrawak HTML5 Ogg',
 790+ 'mwe-embedplayer-ogg-player-h264Native' => 'Wothrawak HTML5 H.264',
762791 'mwe-embedplayer-ogg-player-oggPlugin' => 'Tykač Generic Ogg',
763792 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Tykač QuickTime',
764793 'mwe-embedplayer-ogg-player-quicktime-activex' => 'ActiveX QuickTime',
@@ -769,6 +798,7 @@
770799 'mwe-embedplayer-generic_missing_plugin' => 'Zda so, zo twój wobhladowak slědowacy typ playbacka njepodpěruje: <b>$1</b><br />Wopytaj stronu <a href="http://commons.wikimedia.org/wiki/Commons:Media_help">metodow playbacka</a>, zo by wothrawak sćahnył.<br />',
771800 'mwe-embedplayer-for_best_experience' => 'Za lěpše wideodožiwjenje playbacka poručamy:<br /><b><a href="http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed">Firefox 3.5</a>.</b>',
772801 'mwe-embedplayer-do_not_warn_again' => 'Za nětko wotpokazać.',
 802+ 'mwe-embedplayer-playerSelect' => 'Wothrawaki',
773803 'mwe-embedplayer-read_before_embed' => 'Prošu <a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">čitaj to</a> do zasadźenja!',
774804 'mwe-embedplayer-embed_site_or_blog' => 'Na stronje zasadźić',
775805 'mwe-embedplayer-related_videos' => 'Přiwuzne wideja',
@@ -778,6 +808,7 @@
779809 'mwe-embedplayer-video-flv' => 'Widejo Flash',
780810 'mwe-embedplayer-video-ogg' => 'Ogg-widejo',
781811 'mwe-embedplayer-video-audio' => 'Ogg-awdio',
 812+ 'mwe-embedplayer-missing-source' => 'Žane widejo namakane. Kontroluj, hač twój zasadźeny kod žórło abo API-kluč wobsahuje',
782813 );
783814
784815 /** Hungarian (Magyar) */
@@ -1110,6 +1141,70 @@
11111142 'mwe-embedplayer-copy-code' => 'Code kopéieren',
11121143 );
11131144
 1145+/** Macedonian (Македонски)
 1146+ * @author Bjankuloski06
 1147+ */
 1148+$messages['mk'] = array(
 1149+ 'mwe-embedplayer-credit-title' => 'Наслов: $1',
 1150+ 'mwe-embedplayer-loading_plugin' => 'Го вчитувам приклучокот...',
 1151+ 'mwe-embedplayer-select_playback' => 'Постави изведбени нагодувања',
 1152+ 'mwe-embedplayer-link_back' => 'Обратна врска',
 1153+ 'mwe-embedplayer-error_swap_vid' => 'Грешка: mwEmbed не можеше да ја смени видео-ознаката за mwEmbed интерфејсот',
 1154+ 'mwe-embedplayer-add_to_end_of_sequence' => 'Додај на крајот од низата',
 1155+ 'mwe-embedplayer-missing_video_stream' => 'Видео-податотеката за овој канал недостасува',
 1156+ 'mwe-embedplayer-play_clip' => 'Пушти снимка',
 1157+ 'mwe-embedplayer-pause_clip' => 'Паузирај снимка',
 1158+ 'mwe-embedplayer-volume_control' => 'Регулирање гласност',
 1159+ 'mwe-embedplayer-player_options' => 'Нагодувања на изведувачот',
 1160+ 'mwe-embedplayer-timed_text' => 'Синхронизиран текст',
 1161+ 'mwe-embedplayer-player_fullscreen' => 'На цел екран',
 1162+ 'mwe-embedplayer-next_clip_msg' => 'Пушти следна снимка',
 1163+ 'mwe-embedplayer-prev_clip_msg' => 'Пушти претходна снимка',
 1164+ 'mwe-embedplayer-current_clip_msg' => 'Продолжи со изведба на снимкава',
 1165+ 'mwe-embedplayer-seek_to' => 'Прејди на $1',
 1166+ 'mwe-embedplayer-paused' => 'паузирано',
 1167+ 'mwe-embedplayer-download_segment' => 'Преземи избрано:',
 1168+ 'mwe-embedplayer-download_full' => 'Преземете ја полната видео-податотека:',
 1169+ 'mwe-embedplayer-download_right_click' => 'За да преземете, стиснете го десното копче и одберете „Сними ја врската како...“',
 1170+ 'mwe-embedplayer-download_clip' => 'Преземи видео',
 1171+ 'mwe-embedplayer-download_text' => 'Преземи текст (<a style="color:white" title="cmml" href="http://wiki.xiph.org/index.php/CMML">CMML</a> xml):',
 1172+ 'mwe-embedplayer-download' => 'Преземи',
 1173+ 'mwe-embedplayer-share' => 'Сподели',
 1174+ 'mwe-embedplayer-credits' => 'Создавачи',
 1175+ 'mwe-embedplayer-clip_linkback' => 'Изворна страница на снимката',
 1176+ 'mwe-embedplayer-choose_player' => 'Одберете видео-изведувач',
 1177+ 'mwe-embedplayer-no-player' => 'Нема допстапен изведувач за $1',
 1178+ 'mwe-embedplayer-share_this_video' => 'Сподели ја снимкава',
 1179+ 'mwe-embedplayer-video_credits' => 'За авторите на снимката',
 1180+ 'mwe-embedplayer-kaltura-platform-title' => 'Отворена видео-платформа Kaltura',
 1181+ 'mwe-embedplayer-menu_btn' => 'Мени',
 1182+ 'mwe-embedplayer-close_btn' => 'Затвори',
 1183+ 'mwe-embedplayer-ogg-player-vlc-player' => 'VLC изведувач',
 1184+ 'mwe-embedplayer-ogg-player-oggNative' => 'HTML5 Ogg изведувач',
 1185+ 'mwe-embedplayer-ogg-player-h264Native' => 'HTML5 H.264 изведувач',
 1186+ 'mwe-embedplayer-ogg-player-oggPlugin' => 'Општ Ogg приклучок',
 1187+ 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'QuickTime приклучок',
 1188+ 'mwe-embedplayer-ogg-player-quicktime-activex' => 'QuickTime ActiveX',
 1189+ 'mwe-embedplayer-ogg-player-flowplayer' => 'Flowplayer',
 1190+ 'mwe-embedplayer-ogg-player-kplayer' => 'Kaltura изведувач',
 1191+ 'mwe-embedplayer-ogg-player-selected' => '(избрано)',
 1192+ 'mwe-embedplayer-ogg-player-omtkplayer' => 'OMTK Flash Vorbis',
 1193+ 'mwe-embedplayer-generic_missing_plugin' => 'Вашиот прелистувач изгледа не го поддржува следниов тип на изведба: <b>$1</b><br />Посетете ја страницата<a href="http://commons.wikimedia.org/wiki/Commons:Media_help">Начини на изведба</a> за да преземете изведувач.<br />',
 1194+ 'mwe-embedplayer-for_best_experience' => 'За поквалитетно прегледување на снимките ви го препорачуваме <b><a href="http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed">најновиот Firefox</a>.</b>',
 1195+ 'mwe-embedplayer-do_not_warn_again' => 'Засега отфрли.',
 1196+ 'mwe-embedplayer-playerSelect' => 'Изведувач',
 1197+ 'mwe-embedplayer-read_before_embed' => '<a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">Прочитајте го ова</a> пред да вметнувате.',
 1198+ 'mwe-embedplayer-embed_site_or_blog' => 'Вметни во страница',
 1199+ 'mwe-embedplayer-related_videos' => 'Поврзани снимки',
 1200+ 'mwe-embedplayer-seeking' => 'барам',
 1201+ 'mwe-embedplayer-copy-code' => 'Копирај код',
 1202+ 'mwe-embedplayer-video-h264' => 'H.264 видео',
 1203+ 'mwe-embedplayer-video-flv' => 'Flash видео',
 1204+ 'mwe-embedplayer-video-ogg' => 'Ogg видео',
 1205+ 'mwe-embedplayer-video-audio' => 'Ogg аудио',
 1206+ 'mwe-embedplayer-missing-source' => 'Не е пронајден извор на снимката. Проверете дали вашиот вметнат код содржи извор или клуч',
 1207+);
 1208+
11141209 /** Malayalam (മലയാളം) */
11151210 $messages['ml'] = array(
11161211 'mwe-embedplayer-credit-title' => 'തലക്കെട്ട്: $1',
@@ -1319,7 +1414,9 @@
13201415 'mwe-embedplayer-related_videos' => 'Podobne filmy',
13211416 );
13221417
1323 -/** Portuguese (Português) */
 1418+/** Portuguese (Português)
 1419+ * @author Hamilton Abreu
 1420+ */
13241421 $messages['pt'] = array(
13251422 'mwe-embedplayer-credit-title' => 'Título: $1',
13261423 'mwe-embedplayer-loading_plugin' => "a carregar o ''plugin'' ...",
@@ -1332,27 +1429,32 @@
13331430 'mwe-embedplayer-pause_clip' => 'Pausar clipe',
13341431 'mwe-embedplayer-volume_control' => 'Controlo de volume',
13351432 'mwe-embedplayer-player_options' => 'Opções do leitor',
 1433+ 'mwe-embedplayer-timed_text' => 'Legendas',
13361434 'mwe-embedplayer-player_fullscreen' => 'Ecrã inteiro',
13371435 'mwe-embedplayer-next_clip_msg' => 'Reproduzir clipe seguinte',
13381436 'mwe-embedplayer-prev_clip_msg' => 'Reproduzir clipe anterior',
13391437 'mwe-embedplayer-current_clip_msg' => 'Continuar a reproduzir este clipe',
13401438 'mwe-embedplayer-seek_to' => 'Procurar $1',
13411439 'mwe-embedplayer-paused' => 'em pausa',
1342 - 'mwe-embedplayer-download_segment' => 'Descarregar selecção:',
1343 - 'mwe-embedplayer-download_full' => 'Descarregar todo o ficheiro vídeo:',
 1440+ 'mwe-embedplayer-download_segment' => 'Download da selecção:',
 1441+ 'mwe-embedplayer-download_full' => 'Donwnload do ficheiro vídeo completo:',
13441442 'mwe-embedplayer-download_right_click' => 'Para descarregar, clique com o botão direito do rato e seleccione <i>Guardar ligação como...</i>',
1345 - 'mwe-embedplayer-download_clip' => 'Descarregar vídeo',
1346 - 'mwe-embedplayer-download_text' => 'Descarregar texto (<a style="color:white" title="cmml" href="http://wiki.xiph.org/index.php/CMML">CMML</a> xml):',
1347 - 'mwe-embedplayer-download' => 'Descarregar',
 1443+ 'mwe-embedplayer-download_clip' => 'Download do vídeo',
 1444+ 'mwe-embedplayer-download_text' => 'Download do texto (<a style="color:white" title="cmml" href="http://wiki.xiph.org/index.php/CMML">CMML</a> xml):',
 1445+ 'mwe-embedplayer-download' => 'Download',
13481446 'mwe-embedplayer-share' => 'Partilhar',
13491447 'mwe-embedplayer-credits' => 'Créditos',
13501448 'mwe-embedplayer-clip_linkback' => 'Página fonte do clipe',
13511449 'mwe-embedplayer-choose_player' => 'Escolher leitor de vídeo',
 1450+ 'mwe-embedplayer-no-player' => 'Não há nenhum leitor disponível para $1',
13521451 'mwe-embedplayer-share_this_video' => 'Partilhar este vídeo',
13531452 'mwe-embedplayer-video_credits' => 'Créditos do vídeo',
 1453+ 'mwe-embedplayer-kaltura-platform-title' => 'Plataforma de vídeo em código aberto Kaltura',
13541454 'mwe-embedplayer-menu_btn' => 'Menu',
13551455 'mwe-embedplayer-close_btn' => 'Fechar',
13561456 'mwe-embedplayer-ogg-player-vlc-player' => 'Leitor VLC',
 1457+ 'mwe-embedplayer-ogg-player-oggNative' => 'Leitor Ogg HTML5',
 1458+ 'mwe-embedplayer-ogg-player-h264Native' => 'Leitor H.264 HTML5',
13571459 'mwe-embedplayer-ogg-player-oggPlugin' => 'Plugin Ogg genérico',
13581460 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Plugin QuickTime',
13591461 'mwe-embedplayer-ogg-player-quicktime-activex' => 'QuickTime ActiveX',
@@ -1361,9 +1463,10 @@
13621464 'mwe-embedplayer-ogg-player-kplayer' => 'Leitor Kaltura',
13631465 'mwe-embedplayer-ogg-player-selected' => '(seleccionado)',
13641466 'mwe-embedplayer-ogg-player-omtkplayer' => 'OMTK Flash Vorbis',
1365 - 'mwe-embedplayer-generic_missing_plugin' => 'O seu navegador não parece suportar o seguinte tipo de reprodução: <b>$1</b><br />Visite a página <a href="http://commons.wikimedia.org/wiki/Commons:Media_help">Playback Methods</a> para descarregar um leitor.<br />',
 1467+ 'mwe-embedplayer-generic_missing_plugin' => 'O seu browser não parece suportar o seguinte tipo de reprodução: <b>$1</b><br />Visite a página <a href="http://commons.wikimedia.org/wiki/Commons:Media_help">Playback Methods</a> para fazer o download de um leitor.<br />',
13661468 'mwe-embedplayer-for_best_experience' => 'Para uma melhor experiência de reprodução de vídeo recomendamos::<br /><b><a href="http://www.mozilla.com/en-US/firefox/upgrade.html?from=mwEmbed">Firefox 3.5</a>.</b>',
13671469 'mwe-embedplayer-do_not_warn_again' => 'Ignorar por agora.',
 1470+ 'mwe-embedplayer-playerSelect' => 'Leitores',
13681471 'mwe-embedplayer-read_before_embed' => '<a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">Leia isto</a> antes de incorporar.',
13691472 'mwe-embedplayer-embed_site_or_blog' => 'Incorporar numa página',
13701473 'mwe-embedplayer-related_videos' => 'Vídeos relacionados',
@@ -1373,6 +1476,7 @@
13741477 'mwe-embedplayer-video-flv' => 'Vídeo Flash',
13751478 'mwe-embedplayer-video-ogg' => 'Vídeo Ogg',
13761479 'mwe-embedplayer-video-audio' => 'Áudio Ogg',
 1480+ 'mwe-embedplayer-missing-source' => 'Não foi encontrado nenhum vídeo. Verifique que o seu código inclui a fonte ou uma chave API',
13771481 );
13781482
13791483 /** Brazilian Portuguese (Português do Brasil) */
@@ -1459,11 +1563,21 @@
14601564 'mwe-embedplayer-do_not_warn_again' => 'Nateraz nezobrazovať',
14611565 );
14621566
1463 -/** Swedish (Svenska) */
 1567+/** Swedish (Svenska)
 1568+ * @author Dafer45
 1569+ */
14641570 $messages['sv'] = array(
 1571+ 'mwe-embedplayer-credit-title' => 'Titel: $1',
14651572 'mwe-embedplayer-loading_plugin' => 'laddar plugin...',
14661573 'mwe-embedplayer-volume_control' => 'Volymkontroll',
14671574 'mwe-embedplayer-player_fullscreen' => 'Fullskärm',
 1575+ 'mwe-embedplayer-prev_clip_msg' => 'Spela föregående klipp',
 1576+ 'mwe-embedplayer-current_clip_msg' => 'Fortsätt spela detta klipp',
 1577+ 'mwe-embedplayer-paused' => 'pausad',
 1578+ 'mwe-embedplayer-download_segment' => 'Hämta urval:',
 1579+ 'mwe-embedplayer-download_full' => 'Ladda ner den fullständiga videofilen:',
 1580+ 'mwe-embedplayer-download_right_click' => 'För att ladda ner, högerklicka och välj <i>Spara länk som ...</i>',
 1581+ 'mwe-embedplayer-download_clip' => 'Ladda ner video',
14681582 'mwe-embedplayer-download' => 'Ladda ner',
14691583 'mwe-embedplayer-share' => 'Dela',
14701584 'mwe-embedplayer-choose_player' => 'Välj videouppspelare',
Index: branches/MwEmbedStandAlone/modules/ApiProxy/mw.ApiProxy.js
@@ -17,21 +17,9 @@
1818 * having a separate class for "server" and "client" api usage
1919 *
2020 */
21 -/*
22 -mw.addMessages( {
23 - "mwe-apiproxy-setting-up-proxy" : "Setting up proxy...",
24 - "mwe-apiproxy-re-try" : "Retry API request",
25 - "mwe-apiproxy-re-trying" : "Retrying API request...",
26 - "mwe-apiproxy-proxy-not-ready" : "Proxy is not configured",
27 - "mwe-apiproxy-please-login" : "The request failed. Are you logged in on $1 ? Please $2 and try again",
28 - "mwe-apiproxy-log-in-link" : "log in",
29 - "mwe-apiproxy-remember-loging" : "General security reminder: Only login to web sites when your address bar displays that site's address."
30 -} );
31 -*/
3221
3322 mw.includeAllModuleMsgs();
3423
35 -
3624 /**
3725 * apiProxy jQuery binding
3826 *
@@ -559,12 +547,12 @@
560548 }
561549
562550 var buttons = { };
563 - buttons[ gM( 'mwe-apiproxy-re-try' ) ] = function() {
564 - mw.addLoaderDialog( gM( 'mwe-apiproxy-re-trying' ) );
 551+ buttons[ gM( 'mwe-re-try' ) ] = function() {
 552+ mw.addLoaderDialog( gM( 'mwe-re-trying' ) );
565553 // Re try the same context request:
566554 doFrameProxy( context );
567555 }
568 - buttons[ gM( 'mwe-apiproxy-cancel' ) ] = function() {
 556+ buttons[ gM( 'mwe-cancel' ) ] = function() {
569557 mw.closeLoaderDialog ( );
570558 }
571559
@@ -575,7 +563,7 @@
576564
577565 var $dialogMsg = $j('<p />');
578566 $dialogMsg.append(
579 - gM( 'mwe-apiproxy-please-login',
 567+ gM( 'mwe-please-login',
580568 pUri.host,
581569
582570 // Add log-in link:
@@ -584,17 +572,17 @@
585573 'href' : login_url,
586574 'target' : '_new'
587575 } )
588 - .text( gM('mwe-apiproxy-log-in-link') )
 576+ .text( gM('mwe-log-in-link') )
589577 )
590578 )
591579 // Add the security note as well:
592580 $dialogMsg.append(
593581 $j('<br />'),
594 - gM( 'mwe-apiproxy-remember-loging' )
 582+ gM( 'mwe-remember-loging' )
595583 )
596584
597585 mw.addDialog(
598 - gM( 'mwe-apiproxy-proxy-not-ready' ),
 586+ gM( 'mwe-proxy-not-ready' ),
599587 $dialogMsg,
600588 buttons
601589 )

Status & tagging log