Index: branches/MwEmbedStandAlone/includes/jsClassLoader.php |
— | — | @@ -25,11 +25,17 @@ |
26 | 26 | // The current directory context. Used in loading javascript modules outside of the mwEmbed folder |
27 | 27 | private static $directoryContext = ''; |
28 | 28 | |
| 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 | + |
29 | 35 | /** |
30 | 36 | * Get the javascript class paths from javascript files |
31 | 37 | */ |
32 | 38 | public static function loadClassPaths(){ |
33 | | - global $wgMwEmbedDirectory, $wgExtensionJavascriptLoader, |
| 39 | + global $wgMwEmbedDirectory, $wgExtensionJavascriptModules, |
34 | 40 | $wgScriptLoaderNamedPaths, $wgExtensionMessagesFiles, $IP; |
35 | 41 | |
36 | 42 | // Only run once |
— | — | @@ -37,6 +43,7 @@ |
38 | 44 | return false; |
39 | 45 | } |
40 | 46 | self::$classesLoaded = true; |
| 47 | + |
41 | 48 | // Start the profiler if running |
42 | 49 | $fname = 'jsClassLoader::loadClassPaths'; |
43 | 50 | wfProfileIn( $fname ); |
— | — | @@ -54,12 +61,10 @@ |
55 | 62 | return false; |
56 | 63 | } |
57 | 64 | |
58 | | - // Read the mwEmbed loader file: |
| 65 | + // Proccess the mwEmbed loader file: |
59 | 66 | $fileContent = file_get_contents( $mwEmbedAbsolutePath . '/loader.js' ); |
60 | | - |
61 | | - // Get class paths from mwEmbed.js |
62 | 67 | self::$directoryContext = $wgMwEmbedDirectory; |
63 | | - self::proccessLoaderContent( $fileContent ); |
| 68 | + self::proccessLoaderContent( $fileContent , 'mwEmbed' ); |
64 | 69 | |
65 | 70 | // Get the list of core component into self::$coreComponentsList |
66 | 71 | preg_replace_callback( |
— | — | @@ -75,49 +80,62 @@ |
76 | 81 | $fileContent |
77 | 82 | ); |
78 | 83 | |
| 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 | + |
79 | 91 | // Get all the classes from the enabled mwEmbed modules folder |
80 | 92 | foreach( self::$moduleList as $na => $moduleName){ |
81 | 93 | $relativeSlash = ( $wgMwEmbedDirectory == '' )? '' : '/'; |
82 | | - self::proccessModulePath( $wgMwEmbedDirectory . $relativeSlash . 'modules/' . $moduleName ); |
| 94 | + $modulePath = $wgMwEmbedDirectory . $relativeSlash . 'modules/' . $moduleName; |
| 95 | + self::proccessModulePath( $moduleName, $modulePath ); |
83 | 96 | } |
84 | 97 | |
85 | 98 | // 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 ); |
90 | 101 | } |
91 | 102 | |
| 103 | + if( defined( 'DO_MAINTENANCE' ) ) { |
| 104 | + chdir( $initialPath ); |
| 105 | + } |
| 106 | + |
92 | 107 | wfProfileOut( $fname ); |
93 | 108 | } |
94 | 109 | /** |
95 | 110 | * Process a loader path, passes off to proccessLoaderContent |
96 | 111 | * |
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 |
98 | 114 | */ |
99 | | - private static function proccessModulePath( $path ){ |
| 115 | + private static function proccessModulePath( $moduleName, $modulePath ){ |
100 | 116 | global $wgExtensionMessagesFiles; |
101 | 117 | |
102 | 118 | // Get the module name |
103 | | - $moduleName = end( explode('/', $path ) ); |
| 119 | + $moduleName = end( explode('/', $modulePath ) ); |
104 | 120 | |
105 | 121 | // Set the directory context for relative js/css paths |
106 | | - self::$directoryContext = $path; |
| 122 | + self::$directoryContext = $modulePath; |
107 | 123 | |
108 | 124 | // Check for the loader.js |
109 | | - if( !is_file( $path . '/loader.js' ) ){ |
| 125 | + if( !is_file( $modulePath . '/loader.js' ) ){ |
110 | 126 | throw new MWException( "Javascript Module $moduleName missing loader.js file\n" ); |
111 | 127 | return false; |
112 | 128 | } |
113 | 129 | |
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 ); |
116 | 132 | |
117 | | - $i18nPath = realpath( $path . '/' . $moduleName . '.i18n.php' ); |
| 133 | + $i18nPath = realpath( $modulePath . '/' . $moduleName . '.i18n.php' ); |
118 | 134 | |
119 | 135 | // Add the module localization file if present: |
120 | 136 | if( is_file( $i18nPath ) ) { |
121 | 137 | $wgExtensionMessagesFiles[ $moduleName ] = $i18nPath; |
| 138 | + } else { |
| 139 | + // Module has no message file |
122 | 140 | } |
123 | 141 | } |
124 | 142 | |
— | — | @@ -128,10 +146,14 @@ |
129 | 147 | * |
130 | 148 | * @param String $fileContent content of loader.js file |
131 | 149 | */ |
132 | | - private static function proccessLoaderContent( & $fileContent ){ |
| 150 | + private static function proccessLoaderContent( & $fileContent , $moduleName){ |
133 | 151 | // Add the mwEmbed loader js to its global collector: |
134 | 152 | self::$combinedLoadersJs .= $fileContent; |
135 | 153 | |
| 154 | + // Is there a way to pass arguments in preg_replace_callback ? |
| 155 | + self::$currentModuleName = $moduleName; |
| 156 | + |
| 157 | + // Run the replace callback: |
136 | 158 | preg_replace_callback( |
137 | 159 | self::$classReplaceExp, |
138 | 160 | 'jsClassLoader::preg_classPathLoader', |
— | — | @@ -264,8 +286,38 @@ |
265 | 287 | // Strip $ from class (as they are stripped on URL request parameter input) |
266 | 288 | $className = str_replace( '$', '', $className ); |
267 | 289 | $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 ) |
268 | 306 | $wgScriptLoaderNamedPaths[ $className ] = $classPath; |
| 307 | + |
| 308 | + // Register the parent module ( javascript module specific ) |
| 309 | + self::$classParentModuleName [ $className ] = self::$currentModuleName ; |
269 | 310 | } |
270 | 311 | } |
| 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 | + } |
271 | 323 | } |
272 | 324 | |
Index: branches/MwEmbedStandAlone/includes/noMediaWikiConfig.php |
— | — | @@ -28,8 +28,8 @@ |
29 | 29 | // Named paths for the script loader |
30 | 30 | $wgScriptLoaderNamedPaths = array(); |
31 | 31 | |
32 | | -// Added Modules |
33 | | -$wgExtensionJavascriptLoader = array(); |
| 32 | +// Named Module Paths |
| 33 | +$wgExtensionJavascriptModules = array(); |
34 | 34 | |
35 | 35 | // Extension Messages Files |
36 | 36 | $wgExtensionMessagesFiles = array(); |
Index: branches/MwEmbedStandAlone/modules/TimedText/TimedText.i18n.php |
— | — | @@ -57,6 +57,88 @@ |
58 | 58 | 'mwe-timedtext-language-no-subtitles-for-clip' => 'No $1 subtitles where found for clip: $2', |
59 | 59 | ); |
60 | 60 | |
| 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 | + |
61 | 143 | /** Dutch (Nederlands) |
62 | 144 | * @author Siebrand |
63 | 145 | */ |
— | — | @@ -110,11 +192,54 @@ |
111 | 193 | |
112 | 194 | /** Portuguese (Português) |
113 | 195 | * @author Giro720 |
| 196 | + * @author Hamilton Abreu |
114 | 197 | */ |
115 | 198 | $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', |
117 | 202 | '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', |
119 | 244 | ); |
120 | 245 | |
121 | 246 | /** Russian (Русский) |
— | — | @@ -167,3 +292,34 @@ |
168 | 293 | 'mwe-timedtext-language-no-subtitles-for-clip' => 'Не найдено субтитров на $1 для клипа: $2', |
169 | 294 | ); |
170 | 295 | |
| 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 @@ |
240 | 240 | 'mwe-embedplayer-copy-code' => 'Kopírovat kód', |
241 | 241 | ); |
242 | 242 | |
243 | | -/** German (Deutsch) */ |
| 243 | +/** German (Deutsch) |
| 244 | + * @author Kghbln |
| 245 | + */ |
244 | 246 | $messages['de'] = array( |
| 247 | + 'mwe-embedplayer-credit-title' => 'Titel: $1', |
245 | 248 | 'mwe-embedplayer-loading_plugin' => 'lade Plugin …', |
246 | 249 | 'mwe-embedplayer-select_playback' => 'Wiedergabeeinstellungen ändern', |
| 250 | + 'mwe-embedplayer-link_back' => 'Link zurück', |
247 | 251 | 'mwe-embedplayer-error_swap_vid' => 'Fehler: mv_embed konnte nicht das Videotag für die mv_embed-Oberfläche auslagern', |
248 | 252 | 'mwe-embedplayer-add_to_end_of_sequence' => 'Zum Ende der Sequenz hinzufügen', |
249 | 253 | 'mwe-embedplayer-missing_video_stream' => 'Die Videodatei für diesen Stream fehlt', |
— | — | @@ -250,6 +254,7 @@ |
251 | 255 | 'mwe-embedplayer-pause_clip' => 'Clip pausieren', |
252 | 256 | 'mwe-embedplayer-volume_control' => 'Lautstärkensteuerung', |
253 | 257 | 'mwe-embedplayer-player_options' => 'Playeroptionen', |
| 258 | + 'mwe-embedplayer-timed_text' => 'Als nächstes eingereiht', |
254 | 259 | 'mwe-embedplayer-player_fullscreen' => 'Vollbild', |
255 | 260 | 'mwe-embedplayer-next_clip_msg' => 'Nächsten Clip wiedergeben', |
256 | 261 | 'mwe-embedplayer-prev_clip_msg' => 'Vorherigen Clip wiedergeben', |
— | — | @@ -266,20 +271,27 @@ |
267 | 272 | 'mwe-embedplayer-credits' => 'Credits', |
268 | 273 | 'mwe-embedplayer-clip_linkback' => 'Clip-Quellseite', |
269 | 274 | 'mwe-embedplayer-choose_player' => 'Videoplayer auswählen', |
| 275 | + 'mwe-embedplayer-no-player' => 'Es ist für $1 kein Player verfügbar', |
270 | 276 | 'mwe-embedplayer-share_this_video' => 'Dieses Video teilen', |
271 | 277 | 'mwe-embedplayer-video_credits' => 'Videocredits', |
| 278 | + 'mwe-embedplayer-kaltura-platform-title' => 'Kaltura Open-Source-Video-Plattform', |
272 | 279 | 'mwe-embedplayer-menu_btn' => 'Menü', |
273 | 280 | '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', |
274 | 284 | 'mwe-embedplayer-ogg-player-oggPlugin' => 'Allgemeines Ogg-Plugin', |
275 | 285 | 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'QuickTime-Plugin', |
276 | 286 | 'mwe-embedplayer-ogg-player-quicktime-activex' => 'QuickTime ActiveX', |
277 | 287 | 'mwe-embedplayer-ogg-player-cortado' => 'Java Cortado', |
278 | 288 | 'mwe-embedplayer-ogg-player-flowplayer' => 'Flowplayer', |
| 289 | + 'mwe-embedplayer-ogg-player-kplayer' => 'Kaltura-Player', |
279 | 290 | 'mwe-embedplayer-ogg-player-selected' => '(ausgewählt)', |
280 | 291 | 'mwe-embedplayer-ogg-player-omtkplayer' => 'OMTK Flash Vorbis', |
281 | 292 | '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 />', |
282 | 293 | '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>', |
283 | 294 | 'mwe-embedplayer-do_not_warn_again' => 'Dieses Mal ignorieren.', |
| 295 | + 'mwe-embedplayer-playerSelect' => 'Player', |
284 | 296 | '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>!', |
285 | 297 | 'mwe-embedplayer-embed_site_or_blog' => 'Auf deiner Seite einbinden', |
286 | 298 | 'mwe-embedplayer-related_videos' => 'Ähnliche Videos', |
— | — | @@ -289,6 +301,7 @@ |
290 | 302 | 'mwe-embedplayer-video-flv' => 'Flash-Video', |
291 | 303 | 'mwe-embedplayer-video-ogg' => 'Ogg-Video', |
292 | 304 | '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', |
293 | 306 | ); |
294 | 307 | |
295 | 308 | /** Zazaki (Zazaki) */ |
— | — | @@ -518,7 +531,9 @@ |
519 | 532 | 'mwe-embedplayer-copy-code' => 'Kopioi koodi', |
520 | 533 | ); |
521 | 534 | |
522 | | -/** French (Français) */ |
| 535 | +/** French (Français) |
| 536 | + * @author IAlex |
| 537 | + */ |
523 | 538 | $messages['fr'] = array( |
524 | 539 | 'mwe-embedplayer-credit-title' => 'Titre : $1', |
525 | 540 | 'mwe-embedplayer-loading_plugin' => 'chargement du greffon ...', |
— | — | @@ -531,6 +546,7 @@ |
532 | 547 | 'mwe-embedplayer-pause_clip' => 'Mettre le clip en pause', |
533 | 548 | 'mwe-embedplayer-volume_control' => 'Contrôle du volume', |
534 | 549 | 'mwe-embedplayer-player_options' => 'Options du lecteur', |
| 550 | + 'mwe-embedplayer-timed_text' => 'Texte défilant', |
535 | 551 | 'mwe-embedplayer-player_fullscreen' => 'Plein écran', |
536 | 552 | 'mwe-embedplayer-next_clip_msg' => 'Lire le clip suivant', |
537 | 553 | 'mwe-embedplayer-prev_clip_msg' => 'Lire le clip précédent', |
— | — | @@ -547,11 +563,15 @@ |
548 | 564 | 'mwe-embedplayer-credits' => 'Crédits', |
549 | 565 | 'mwe-embedplayer-clip_linkback' => 'Page source du clip', |
550 | 566 | 'mwe-embedplayer-choose_player' => 'Choisir le lecteur vidéo', |
| 567 | + 'mwe-embedplayer-no-player' => 'Aucun lecteur disponible pour $1', |
551 | 568 | 'mwe-embedplayer-share_this_video' => 'Partager cette vidéo', |
552 | 569 | 'mwe-embedplayer-video_credits' => 'Crédits de la vidéo', |
| 570 | + 'mwe-embedplayer-kaltura-platform-title' => 'Plateforme vidéo en source ouverte Kaltura', |
553 | 571 | 'mwe-embedplayer-menu_btn' => 'Menu', |
554 | 572 | 'mwe-embedplayer-close_btn' => 'Fermer', |
555 | 573 | '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', |
556 | 576 | 'mwe-embedplayer-ogg-player-oggPlugin' => 'Module générique Ogg', |
557 | 577 | 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Module QuickTime', |
558 | 578 | 'mwe-embedplayer-ogg-player-quicktime-activex' => 'ActiveX QuickTime', |
— | — | @@ -563,6 +583,7 @@ |
564 | 584 | '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 />', |
565 | 585 | '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>', |
566 | 586 | 'mwe-embedplayer-do_not_warn_again' => 'Interrompre pour le moment.', |
| 587 | + 'mwe-embedplayer-playerSelect' => 'Lecteurs', |
567 | 588 | '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 !', |
568 | 589 | 'mwe-embedplayer-embed_site_or_blog' => 'Intégrer dans une page', |
569 | 590 | 'mwe-embedplayer-related_videos' => 'Vidéos associées', |
— | — | @@ -572,6 +593,7 @@ |
573 | 594 | 'mwe-embedplayer-video-flv' => 'vidéo Flash', |
574 | 595 | 'mwe-embedplayer-video-ogg' => 'vidéo Ogg', |
575 | 596 | '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", |
576 | 598 | ); |
577 | 599 | |
578 | 600 | /** Galician (Galego) |
— | — | @@ -724,7 +746,9 @@ |
725 | 747 | 'mwe-embedplayer-related_videos' => 'סרטונים קשורים', |
726 | 748 | ); |
727 | 749 | |
728 | | -/** Upper Sorbian (Hornjoserbsce) */ |
| 750 | +/** Upper Sorbian (Hornjoserbsce) |
| 751 | + * @author Michawiki |
| 752 | + */ |
729 | 753 | $messages['hsb'] = array( |
730 | 754 | 'mwe-embedplayer-credit-title' => 'Titul: $1', |
731 | 755 | 'mwe-embedplayer-loading_plugin' => 'tykač so začituje ...', |
— | — | @@ -737,6 +761,7 @@ |
738 | 762 | 'mwe-embedplayer-pause_clip' => 'Klip zastajić', |
739 | 763 | 'mwe-embedplayer-volume_control' => 'Regulowanje sylnosće zwuka', |
740 | 764 | 'mwe-embedplayer-player_options' => 'Opcije wothrawaka', |
| 765 | + 'mwe-embedplayer-timed_text' => 'Synchronizowany tekst', |
741 | 766 | 'mwe-embedplayer-player_fullscreen' => 'Połna wobrazowka', |
742 | 767 | 'mwe-embedplayer-next_clip_msg' => 'Přichodny klip wothrać', |
743 | 768 | 'mwe-embedplayer-prev_clip_msg' => 'Předchadny klip wothrać', |
— | — | @@ -753,11 +778,15 @@ |
754 | 779 | 'mwe-embedplayer-credits' => 'Dźakprajenje', |
755 | 780 | 'mwe-embedplayer-clip_linkback' => 'Žórłow strona klipa', |
756 | 781 | 'mwe-embedplayer-choose_player' => 'Widejowy wothrawak wubrać', |
| 782 | + 'mwe-embedplayer-no-player' => 'Žadyn wothrawak za $1 k dispoziciji', |
757 | 783 | 'mwe-embedplayer-share_this_video' => 'Tute widejo zhromadnje wužiwać', |
758 | 784 | 'mwe-embedplayer-video_credits' => 'Dźakprajenja za wutworjenje wideja', |
| 785 | + 'mwe-embedplayer-kaltura-platform-title' => 'Widejoplatforma Kaltura ze zjawneho žórła', |
759 | 786 | 'mwe-embedplayer-menu_btn' => 'Meni', |
760 | 787 | 'mwe-embedplayer-close_btn' => 'Začinić', |
761 | 788 | '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', |
762 | 791 | 'mwe-embedplayer-ogg-player-oggPlugin' => 'Tykač Generic Ogg', |
763 | 792 | 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Tykač QuickTime', |
764 | 793 | 'mwe-embedplayer-ogg-player-quicktime-activex' => 'ActiveX QuickTime', |
— | — | @@ -769,6 +798,7 @@ |
770 | 799 | '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 />', |
771 | 800 | '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>', |
772 | 801 | 'mwe-embedplayer-do_not_warn_again' => 'Za nětko wotpokazać.', |
| 802 | + 'mwe-embedplayer-playerSelect' => 'Wothrawaki', |
773 | 803 | '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!', |
774 | 804 | 'mwe-embedplayer-embed_site_or_blog' => 'Na stronje zasadźić', |
775 | 805 | 'mwe-embedplayer-related_videos' => 'Přiwuzne wideja', |
— | — | @@ -778,6 +808,7 @@ |
779 | 809 | 'mwe-embedplayer-video-flv' => 'Widejo Flash', |
780 | 810 | 'mwe-embedplayer-video-ogg' => 'Ogg-widejo', |
781 | 811 | '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', |
782 | 813 | ); |
783 | 814 | |
784 | 815 | /** Hungarian (Magyar) */ |
— | — | @@ -1110,6 +1141,70 @@ |
1111 | 1142 | 'mwe-embedplayer-copy-code' => 'Code kopéieren', |
1112 | 1143 | ); |
1113 | 1144 | |
| 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 | + |
1114 | 1209 | /** Malayalam (മലയാളം) */ |
1115 | 1210 | $messages['ml'] = array( |
1116 | 1211 | 'mwe-embedplayer-credit-title' => 'തലക്കെട്ട്: $1', |
— | — | @@ -1319,7 +1414,9 @@ |
1320 | 1415 | 'mwe-embedplayer-related_videos' => 'Podobne filmy', |
1321 | 1416 | ); |
1322 | 1417 | |
1323 | | -/** Portuguese (Português) */ |
| 1418 | +/** Portuguese (Português) |
| 1419 | + * @author Hamilton Abreu |
| 1420 | + */ |
1324 | 1421 | $messages['pt'] = array( |
1325 | 1422 | 'mwe-embedplayer-credit-title' => 'Título: $1', |
1326 | 1423 | 'mwe-embedplayer-loading_plugin' => "a carregar o ''plugin'' ...", |
— | — | @@ -1332,27 +1429,32 @@ |
1333 | 1430 | 'mwe-embedplayer-pause_clip' => 'Pausar clipe', |
1334 | 1431 | 'mwe-embedplayer-volume_control' => 'Controlo de volume', |
1335 | 1432 | 'mwe-embedplayer-player_options' => 'Opções do leitor', |
| 1433 | + 'mwe-embedplayer-timed_text' => 'Legendas', |
1336 | 1434 | 'mwe-embedplayer-player_fullscreen' => 'Ecrã inteiro', |
1337 | 1435 | 'mwe-embedplayer-next_clip_msg' => 'Reproduzir clipe seguinte', |
1338 | 1436 | 'mwe-embedplayer-prev_clip_msg' => 'Reproduzir clipe anterior', |
1339 | 1437 | 'mwe-embedplayer-current_clip_msg' => 'Continuar a reproduzir este clipe', |
1340 | 1438 | 'mwe-embedplayer-seek_to' => 'Procurar $1', |
1341 | 1439 | '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:', |
1344 | 1442 | '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', |
1348 | 1446 | 'mwe-embedplayer-share' => 'Partilhar', |
1349 | 1447 | 'mwe-embedplayer-credits' => 'Créditos', |
1350 | 1448 | 'mwe-embedplayer-clip_linkback' => 'Página fonte do clipe', |
1351 | 1449 | 'mwe-embedplayer-choose_player' => 'Escolher leitor de vídeo', |
| 1450 | + 'mwe-embedplayer-no-player' => 'Não há nenhum leitor disponível para $1', |
1352 | 1451 | 'mwe-embedplayer-share_this_video' => 'Partilhar este vídeo', |
1353 | 1452 | 'mwe-embedplayer-video_credits' => 'Créditos do vídeo', |
| 1453 | + 'mwe-embedplayer-kaltura-platform-title' => 'Plataforma de vídeo em código aberto Kaltura', |
1354 | 1454 | 'mwe-embedplayer-menu_btn' => 'Menu', |
1355 | 1455 | 'mwe-embedplayer-close_btn' => 'Fechar', |
1356 | 1456 | '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', |
1357 | 1459 | 'mwe-embedplayer-ogg-player-oggPlugin' => 'Plugin Ogg genérico', |
1358 | 1460 | 'mwe-embedplayer-ogg-player-quicktime-mozilla' => 'Plugin QuickTime', |
1359 | 1461 | 'mwe-embedplayer-ogg-player-quicktime-activex' => 'QuickTime ActiveX', |
— | — | @@ -1361,9 +1463,10 @@ |
1362 | 1464 | 'mwe-embedplayer-ogg-player-kplayer' => 'Leitor Kaltura', |
1363 | 1465 | 'mwe-embedplayer-ogg-player-selected' => '(seleccionado)', |
1364 | 1466 | '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 />', |
1366 | 1468 | '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>', |
1367 | 1469 | 'mwe-embedplayer-do_not_warn_again' => 'Ignorar por agora.', |
| 1470 | + 'mwe-embedplayer-playerSelect' => 'Leitores', |
1368 | 1471 | 'mwe-embedplayer-read_before_embed' => '<a href="http://mediawiki.org/wiki/Security_Notes_on_Remote_Embedding" target="_new">Leia isto</a> antes de incorporar.', |
1369 | 1472 | 'mwe-embedplayer-embed_site_or_blog' => 'Incorporar numa página', |
1370 | 1473 | 'mwe-embedplayer-related_videos' => 'Vídeos relacionados', |
— | — | @@ -1373,6 +1476,7 @@ |
1374 | 1477 | 'mwe-embedplayer-video-flv' => 'Vídeo Flash', |
1375 | 1478 | 'mwe-embedplayer-video-ogg' => 'Vídeo Ogg', |
1376 | 1479 | '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', |
1377 | 1481 | ); |
1378 | 1482 | |
1379 | 1483 | /** Brazilian Portuguese (Português do Brasil) */ |
— | — | @@ -1459,11 +1563,21 @@ |
1460 | 1564 | 'mwe-embedplayer-do_not_warn_again' => 'Nateraz nezobrazovať', |
1461 | 1565 | ); |
1462 | 1566 | |
1463 | | -/** Swedish (Svenska) */ |
| 1567 | +/** Swedish (Svenska) |
| 1568 | + * @author Dafer45 |
| 1569 | + */ |
1464 | 1570 | $messages['sv'] = array( |
| 1571 | + 'mwe-embedplayer-credit-title' => 'Titel: $1', |
1465 | 1572 | 'mwe-embedplayer-loading_plugin' => 'laddar plugin...', |
1466 | 1573 | 'mwe-embedplayer-volume_control' => 'Volymkontroll', |
1467 | 1574 | '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', |
1468 | 1582 | 'mwe-embedplayer-download' => 'Ladda ner', |
1469 | 1583 | 'mwe-embedplayer-share' => 'Dela', |
1470 | 1584 | 'mwe-embedplayer-choose_player' => 'Välj videouppspelare', |
Index: branches/MwEmbedStandAlone/modules/ApiProxy/mw.ApiProxy.js |
— | — | @@ -17,21 +17,9 @@ |
18 | 18 | * having a separate class for "server" and "client" api usage |
19 | 19 | * |
20 | 20 | */ |
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 | | -*/ |
32 | 21 | |
33 | 22 | mw.includeAllModuleMsgs(); |
34 | 23 | |
35 | | - |
36 | 24 | /** |
37 | 25 | * apiProxy jQuery binding |
38 | 26 | * |
— | — | @@ -559,12 +547,12 @@ |
560 | 548 | } |
561 | 549 | |
562 | 550 | 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' ) ); |
565 | 553 | // Re try the same context request: |
566 | 554 | doFrameProxy( context ); |
567 | 555 | } |
568 | | - buttons[ gM( 'mwe-apiproxy-cancel' ) ] = function() { |
| 556 | + buttons[ gM( 'mwe-cancel' ) ] = function() { |
569 | 557 | mw.closeLoaderDialog ( ); |
570 | 558 | } |
571 | 559 | |
— | — | @@ -575,7 +563,7 @@ |
576 | 564 | |
577 | 565 | var $dialogMsg = $j('<p />'); |
578 | 566 | $dialogMsg.append( |
579 | | - gM( 'mwe-apiproxy-please-login', |
| 567 | + gM( 'mwe-please-login', |
580 | 568 | pUri.host, |
581 | 569 | |
582 | 570 | // Add log-in link: |
— | — | @@ -584,17 +572,17 @@ |
585 | 573 | 'href' : login_url, |
586 | 574 | 'target' : '_new' |
587 | 575 | } ) |
588 | | - .text( gM('mwe-apiproxy-log-in-link') ) |
| 576 | + .text( gM('mwe-log-in-link') ) |
589 | 577 | ) |
590 | 578 | ) |
591 | 579 | // Add the security note as well: |
592 | 580 | $dialogMsg.append( |
593 | 581 | $j('<br />'), |
594 | | - gM( 'mwe-apiproxy-remember-loging' ) |
| 582 | + gM( 'mwe-remember-loging' ) |
595 | 583 | ) |
596 | 584 | |
597 | 585 | mw.addDialog( |
598 | | - gM( 'mwe-apiproxy-proxy-not-ready' ), |
| 586 | + gM( 'mwe-proxy-not-ready' ), |
599 | 587 | $dialogMsg, |
600 | 588 | buttons |
601 | 589 | ) |