diff --git a/Makefile b/Makefile index c4a0d80..e863488 100644 --- a/Makefile +++ b/Makefile @@ -432,6 +432,10 @@ po: mo: composer make-mo +# Generate JS translation JSON files from .po files +json: + composer make-json + # Check the untranslated strings check-untranslated: composer check-untranslated diff --git a/admin/class-admin-settings.php b/admin/class-admin-settings.php index 2f36282..14c9580 100644 --- a/admin/class-admin-settings.php +++ b/admin/class-admin-settings.php @@ -65,6 +65,95 @@ public function display_settings_page() { render_editor_status_section(); ?> render_styles_section(); ?> + render_help_section(); ?> + + +
+

+

+ +

+ +

+

[exelearning id="123"]

+

[exelearning id="123" height="800" teacher_mode="1" screenshot="poster"]

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
id0
height600
teacher_mode0
teacher_mode_visible1
show_download0
download_formats
screenshotno
+ +

+

+ +

+ +

+ + + +  |  + + + +

' + - '' + ( strings.editInExe || 'Edit in eXeLearning' ) + '' ); $editButton.on( 'click', function( e ) { @@ -536,7 +535,6 @@ jQuery( document ).ready( function( $ ) { var $editButton = $( '' + - '' + ( strings.editInExe || 'Edit in eXeLearning' ) + '' + '
' ); diff --git a/composer.json b/composer.json index 052730f..caec47b 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ "phpcs": "phpcs --standard=WordPress . --ignore=vendor/,assets/,node_modules/,tests/js/,wp/,wp-content/,tests/ --colors --warning-severity=0 --extensions=php", "phpcbf": "phpcbf --standard=WordPress . --ignore=vendor/,assets/,node_modules/,tests/js/,wp/,wp-content/ --colors --warning-severity=0 --extensions=php", "make-pot": "wp i18n make-pot . languages/exelearning.pot --domain=exelearning --exclude=vendor,node_modules,tests,wp,wp-content,dist,exelearning", - "update-po": "wp i18n update-po languages/exelearning.pot languages/exelearning-es_ES.po", + "update-po": "wp i18n update-po languages/exelearning.pot languages/", "make-mo": "wp i18n make-mo languages/ languages/", + "make-json": "wp i18n make-json languages/ --no-purge --pretty-print", "pot-remove-ctime": "sed -i.bak '/POT-Creation-Date:/d' languages/exelearning.pot && rm languages/exelearning.pot.bak", - "pot-remove-refs": "sed -i.bak '/^#: /d' languages/exelearning.pot && rm languages/exelearning.pot.bak", - "untranslated": "msgattrib --untranslated languages/exelearning-es_ES.po && [ $(msgattrib --untranslated languages/exelearning-es_ES.po | wc -l) -eq 0 ]", - "check-untranslated": "composer make-pot && composer pot-remove-ctime && composer pot-remove-refs && composer update-po && composer untranslated && composer make-mo" + "untranslated": "for f in languages/exelearning-*.po; do if [ \"$(msgattrib --untranslated \"$f\" | wc -l)\" -ne 0 ]; then echo \"Untranslated strings in $f\"; exit 1; fi; done", + "check-untranslated": "composer make-pot && composer pot-remove-ctime && composer update-po && composer untranslated && composer make-mo" }, "config": { "allow-plugins": { diff --git a/includes/class-elp-upload-block.php b/includes/class-elp-upload-block.php index 5582f38..a5daa56 100644 --- a/includes/class-elp-upload-block.php +++ b/includes/class-elp-upload-block.php @@ -46,15 +46,28 @@ public function enqueue_block_scripts() { // edit-mode download toolbar can reuse the same export pipeline. ExeLearning_Download_Button_Renderer::enqueue_assets(); + // Use the plugin-root file as the base so the registered URL is clean + // (no "includes/../"). wp_set_script_translations() derives the JSON + // filename from md5 of the script's path relative to the plugin, so an + // unnormalized "includes/../assets/..." would never match the + // make-json output (md5 of "assets/js/elp-upload.js"). wp_enqueue_script( 'exelearning-elp-block', - plugins_url( '../assets/js/elp-upload.js', __FILE__ ), + plugins_url( 'assets/js/elp-upload.js', EXELEARNING_PLUGIN_FILE ), array( 'wp-blocks', 'wp-element', 'wp-block-editor', 'wp-components', 'wp-i18n', 'exelearning-editor', 'exelearning-download' ), EXELEARNING_VERSION, true ); - $this->inject_block_translations(); + // Load JavaScript translations the standard way: WordPress serves the + // generated languages/exelearning-{locale}-{md5}.json files for this + // handle (md5 of assets/js/elp-upload.js). Strings must be literal + // __( 'x', 'exelearning' ) calls so `wp i18n make-json` can extract them. + wp_set_script_translations( + 'exelearning-elp-block', + 'exelearning', + EXELEARNING_PLUGIN_DIR . 'languages' + ); // Frontend styles carry the .exelearning-download split-button rules used // by the edit-mode toolbar; the admin sheet covers the block preview. @@ -295,45 +308,4 @@ private function teacher_mode_hide_script( $container_id ) { esc_js( $container_id ) ); } - - /** - * Inject JS translations from the already-loaded MO textdomain. - * This avoids needing separate JSON translation files. - */ - private function inject_block_translations() { - $strings = array( - 'Settings', - 'Height (px)', - 'Show Teacher Mode toggler', - 'Edit in eXeLearning', - 'eXeLearning Content', - 'Upload or select a .elpx file from your media library', - 'Upload .elpx File', - 'Media Library', - 'Change file', - 'Remove', - 'No preview available', - 'This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.', - ); - - $locale_data = array(); - foreach ( $strings as $s ) { - $t = __( $s, 'exelearning' ); // phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText - if ( $t !== $s ) { - $locale_data[ $s ] = array( $t ); - } - } - - if ( empty( $locale_data ) ) { - return; - } - - $locale_data[''] = array( 'domain' => 'exelearning' ); - - wp_add_inline_script( - 'exelearning-elp-block', - 'wp.i18n.setLocaleData(' . wp_json_encode( $locale_data ) . ',"exelearning");', - 'before' - ); - } } diff --git a/includes/integrations/class-media-library.php b/includes/integrations/class-media-library.php index 84dcb65..17d0c26 100644 --- a/includes/integrations/class-media-library.php +++ b/includes/integrations/class-media-library.php @@ -346,7 +346,6 @@ public function render_preview_meta_box( $post ) { echo ''; - echo ''; echo esc_html__( 'Edit in eXeLearning', 'exelearning' ); echo ''; echo '

'; diff --git a/languages/exelearning-ca-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-ca-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..d1df3b1 --- /dev/null +++ b/languages/exelearning-ca-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "ca", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Configuraci\u00f3" + ], + "Edit in eXeLearning": [ + "Edita a eXeLearning" + ], + "No preview available": [ + "Previsualitzaci\u00f3 no disponible" + ], + "eXeLearning Content": [ + "Contingut eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Puja o selecciona un fitxer .elpx de la teva biblioteca de mitjans" + ], + "Upload .elpx File": [ + "Puja un fitxer .elpx" + ], + "Media Library": [ + "Biblioteca de mitjans" + ], + "Height (px)": [ + "Al\u00e7ada (px)" + ], + "Change file": [ + "Canvia el fitxer" + ], + "Remove": [ + "Elimina" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Aquest \u00e9s un fitxer font d'eXeLearning v2. El contingut es mostrar\u00e0 al frontend si hi ha HTML exportat disponible." + ], + "Show Teacher Mode toggler": [ + "Mostra el commutador de Mode Professor" + ], + "More download formats": [ + "M\u00e9s formats de baixada" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instal\u00b7la l'editor d'eXeLearning des de la p\u00e0gina de configuraci\u00f3 del connector per habilitar aquest format." + ], + "Download failed. Please try again.": [ + "La baixada ha fallat. Torneu-ho a provar." + ], + "Download .elpx": [ + "Baixa .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Paquet IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Opcions de baixada" + ], + "Show download button": [ + "Mostra el bot\u00f3 de baixada" + ], + "Available formats": [ + "Formats disponibles" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-ca.mo b/languages/exelearning-ca.mo index bc864ee..3eef543 100644 Binary files a/languages/exelearning-ca.mo and b/languages/exelearning-ca.mo differ diff --git a/languages/exelearning-ca.po b/languages/exelearning-ca.po index 73f8fc4..d663129 100644 --- a/languages/exelearning-ca.po +++ b/languages/exelearning-ca.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Configuració" @@ -24,10 +24,13 @@ msgstr "Configuració" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Elimina" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Títol" @@ -36,12 +39,11 @@ msgstr "Títol" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Estat" msgid "Edit" msgstr "Edita" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Error: contingut d'eXeLearning no trobat" @@ -77,32 +79,32 @@ msgstr "Error: contingut d'eXeLearning no trobat" msgid "Edit eXeLearning File" msgstr "Edita el fitxer eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Previsualització del contingut eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadades d'eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Obre en una pestanya nova" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Llicència:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Idioma:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipus de recurs:" @@ -118,40 +120,41 @@ msgstr "Utilitza aquest fitxer" msgid "Invalid nonce." msgstr "Nonce no vàlid." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permisos insuficients." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Error en carregar la plantilla de l'editor d'eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Error de plantilla" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Desant..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Desat a WordPress correctament" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Desa a WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Carregant projecte..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Error" @@ -172,12 +175,12 @@ msgstr "Fitxer no trobat." msgid "Access denied." msgstr "Accés denegat." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Aquest contingut d'eXeLearning és un fitxer font i no es pot previsualitzar directament." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descarrega el fitxer" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "No tens permís per accedir a aquesta pàgina." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "No s'ha especificat cap adjunt." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Aquest fitxer no és un fitxer eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "No tens permís per editar aquest fitxer." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Edita a eXeLearning" @@ -222,47 +227,52 @@ msgstr "Edita a eXeLearning" msgid "Close" msgstr "Tanca" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "No tens permís per llegir aquest fitxer." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "No s'ha pujat cap fitxer." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Error en pujar el fitxer." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Fitxer creat correctament." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID d'adjunt no vàlid." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Fitxer original no trobat." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Aquest no és un fitxer eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Error en desar el fitxer." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Fitxer desat correctament." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Error en crear el directori per als fitxers extrets." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Previsualització no disponible" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Aquest és un fitxer font d'eXeLearning v2 (.elp). Per veure el contingut, obre'l a eXeLearning i exporta'l com a HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID de fitxer eXeLearning no vàlid." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Fitxer eXeLearning no trobat." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Aquest és un fitxer font que no es pot previsualitzar directament. Descarrega'l per obrir-lo amb eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descarrega el fitxer font" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Veure a pantalla completa" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informació d'eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versió:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipus:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Previsualitza en una pestanya nova" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Contingut eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Puja o selecciona un fitxer .elpx de la teva biblioteca de mitjans" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Puja un fitxer .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca de mitjans" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Alçada (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Canvia el fitxer" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Elimina" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Aquest és un fitxer font d'eXeLearning v2. El contingut es mostrarà al frontend si hi ha HTML exportat disponible." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "fitxer font" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportat" @@ -376,11 +387,11 @@ msgstr "Aquest fitxer va ser creat amb una versió anterior d'eXeLearning i no msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "El fitxer no és un fitxer vàlid d'eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "La còpia del fitxer sembla estar truncada." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostra el commutador de Mode Professor" @@ -394,168 +405,172 @@ msgstr "Si us plau, espereu mentre es desa l'arxiu." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Teniu canvis sense desar. Esteu segurs que voleu tancar?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrat" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "L'editor integrat és necessari per editar fitxers eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Si us plau, instal·leu-lo amb el botó de sota." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Estat:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instal·lat" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instal·lat el:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Actualitza a l'última versió" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "No instal·lat" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "L'editor integrat d'eXeLearning no està instal·lat. Podeu descarregar i instal·lar l'última versió automàticament des de GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descarrega i instal·la l'editor" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Els desenvolupadors també poden compilar l'editor des del codi font amb %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Torna-ho a provar" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instal·lant..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Descarregant i instal·lant l'editor. Això pot trigar un minut..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Obre l'editor" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "La instal·lació ha fallat." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Error de xarxa. Si us plau, comproveu la connexió i torneu-ho a provar." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "La verificació de seguretat ha fallat. Si us plau, recarregueu la pàgina i torneu-ho a provar." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "No teniu permís per instal·lar l'editor." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Ja hi ha una instal·lació en curs. Si us plau, espereu." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor d'eXeLearning v%s instal·lat correctament." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "No s'ha pogut connectar a GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "L'API de GitHub ha retornat l'estat %d. Si us plau, proveu-ho més tard." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "No s'ha pogut analitzar la informació de l'última versió de GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Format d'etiqueta de versió inesperat: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Error en descarregar el paquet de l'editor: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "El fitxer descarregat no és un arxiu ZIP vàlid." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "No s'ha pogut crear el directori temporal per a l'extracció." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Error en extreure el paquet de l'editor: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "El paquet descarregat no conté els fitxers esperats de l'editor. No s'ha trobat index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Al paquet de l'editor li falta index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Al paquet de l'editor li falten els directoris de recursos esperats (app, libs o files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "No s'ha pogut crear el directori dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "No s'ha pogut fer una còpia de seguretat de la instal·lació actual de l'editor." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Error en copiar els fitxers de l'editor al directori del connector." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "No s'ha trobat el fitxer eXeLearning al disc." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocessa el fitxer eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d fitxer eXeLearning reprocessat." msgstr[1] "%d fitxers eXeLearning reprocessats." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d element omès (no és un fitxer eXeLearning)." msgstr[1] "%d elements omesos (no són fitxers eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "%d fitxer no s'ha pogut reprocessar." msgstr[1] "%d fitxers no s'han pogut reprocessar." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Processa com a eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Fitxer eXeLearning (encara sense processar)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Processant…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Aquest fitxer no s'ha pogut processar com a eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Ajuda" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incrusta un paquet .elpx penjat a qualsevol lloc amb el codi curt [exelearning], referenciant el fitxer pel seu ID d'adjunt a la Biblioteca multimèdia." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Exemples de codi curt" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributs" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atribut" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Per defecte" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descripció" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obligatori. ID d'adjunt del paquet .elpx a la Biblioteca multimèdia." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Alçada de la previsualització, en píxels." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Quan s'activa, el contingut es carrega amb el mode docent actiu." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Si es mostra el botó per commutar el mode docent." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Quan s'activa, mostra un botó de baixada multiformat." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "tots" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formats separats per comes a oferir: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Mostra la captura de pantalla del paquet: no, poster (clic per carregar) o only (només imatge). Requereix eXeLearning 4.0.1 o superior." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hooks per a desenvolupadors" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "La sortida del codi curt es pot personalitzar amb els filtres exelearning_shortcode_atts, exelearning_preview_url i exelearning_shortcode_output, entre altres accions i filtres." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referència completa del codi curt" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referència dels hooks per a desenvolupadors" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Estils" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Penja paquets d'estils d'eXeLearning i controla quins estils mostra l'editor incrustat." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Política d'importació" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Bloca els estils importats per usuaris" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Quan s'activa, l'editor incrustat amaga la pestanya «Estils d'usuari» i es nega silenciosament a instal·lar un estil inclòs en un projecte .elpx importat. Els usuaris només poden triar de la llista aprovada per l'administrador de sota. Això reprodueix el comportament eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Penja un estil nou" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Penja l'estil" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Mida màxima del fitxer: %s. Només s'accepten paquets .zip que continguin un config.xml vàlid." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Estils penjats" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Encara no hi ha estils penjats." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versió" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Habilitat" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Accions" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Estils integrats" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Els estils integrats no estan disponibles perquè l'editor incrustat no està instal·lat." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Els estils integrats desactivats s'amaguen de l'editor. Els estils penjats es poden desactivar o eliminar en qualsevol moment. Els projectes existents que referencien un estil que falta utilitzen l'estil per defecte de l'editor." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "S'està penjant…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Estil instal·lat." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "La pujada ha fallat." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Error de xarxa." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "L'actualització ha fallat." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Voleu eliminar aquest estil? Aquesta acció no es pot desfer." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Estil eliminat." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "L'eliminació ha fallat." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "No es pot accedir al fitxer penjat." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Falta l'identificador de l'estil." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Testimoni de seguretat no vàlid o absent." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Més formats de baixada" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instal·la l'editor d'eXeLearning des de la pàgina de configuració del connector per habilitar aquest format." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "S'està preparant la baixada…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "La baixada ha fallat. Torneu-ho a provar." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Baixa .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Paquet IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Ja hi ha un desament en curs per a aquest fitxer. Torneu-ho a provar d'aquí a poc." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "No s'ha trobat l'adjunt." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "L'editor estàtic d'eXeLearning no està instal·lat." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "No s'ha pogut carregar la plantilla de l'editor." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "El paquet de l'editor baixat no ha superat la comprovació d'integritat (SHA-256) i s'ha descartat." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "El fitxer penjat no és un arxiu ZIP llegible." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "No s'ha pogut llegir config.xml de l'arxiu." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "El fitxer penjat falta o no es pot llegir." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "El fitxer penjat és buit." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "L'estil penjat supera la mida màxima permesa de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "L'extensió ZipArchive de PHP no està disponible." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "L'arxiu ZIP conté entrades il·legibles." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "S'ha rebutjat una entrada d'arxiu insegura: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "L'arxiu conté més d'un config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Al paquet d'estil li falta config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "L'arxiu ha de contenir una única carpeta arrel o situar tots els fitxers a l'arrel." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tipus de fitxer no permès al paquet d'estil: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "No s'ha pogut tornar a obrir l'arxiu ZIP." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "S'ha rebutjat una entrada d'arxiu insegura durant l'extracció." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "S'ha rebutjat un salt de ruta durant l'extracció." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "No s'ha pogut crear un directori de l'arxiu." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "No s'ha pogut llegir un fitxer de l'arxiu." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "No s'ha pogut escriure un fitxer extret." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml no és XML vàlid." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml ha de declarar un element ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "No s'ha trobat l'estil." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "No s'ha pogut crear el directori de l'estil." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "L'estil penjat no conté cap full d'estil." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Carrega el contingut interactiu" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Paquet IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opcions de baixada" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Mostra el botó de baixada" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formats disponibles" diff --git a/languages/exelearning-ca_valencia-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-ca_valencia-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..efe3822 --- /dev/null +++ b/languages/exelearning-ca_valencia-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "ca_valencia", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Configuraci\u00f3" + ], + "Edit in eXeLearning": [ + "Editar en eXeLearning" + ], + "No preview available": [ + "Previsualitzaci\u00f3 no disponible" + ], + "eXeLearning Content": [ + "Contingut eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Puja o selecciona un fitxer .elpx de la teua biblioteca de mitjans" + ], + "Upload .elpx File": [ + "Pujar un fitxer .elpx" + ], + "Media Library": [ + "Biblioteca de mitjans" + ], + "Height (px)": [ + "Al\u00e7\u00e0ria (px)" + ], + "Change file": [ + "Canviar el fitxer" + ], + "Remove": [ + "Eliminar" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Este \u00e9s un fitxer font d'eXeLearning v2. El contingut es mostrar\u00e0 en el frontend si hi ha HTML exportat disponible." + ], + "Show Teacher Mode toggler": [ + "Mostrar el commutador de Mode Professor" + ], + "More download formats": [ + "M\u00e9s formats de baixada" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instal\u00b7la l'editor d'eXeLearning des de la p\u00e0gina de configuraci\u00f3 del connector per habilitar aquest format." + ], + "Download failed. Please try again.": [ + "La baixada ha fallat. Torneu-ho a provar." + ], + "Download .elpx": [ + "Baixa .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Paquet IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Opcions de baixada" + ], + "Show download button": [ + "Mostra el bot\u00f3 de baixada" + ], + "Available formats": [ + "Formats disponibles" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-ca_valencia.mo b/languages/exelearning-ca_valencia.mo index 1c7a776..8cc9f73 100644 Binary files a/languages/exelearning-ca_valencia.mo and b/languages/exelearning-ca_valencia.mo differ diff --git a/languages/exelearning-ca_valencia.po b/languages/exelearning-ca_valencia.po index f7b4090..328bc5c 100644 --- a/languages/exelearning-ca_valencia.po +++ b/languages/exelearning-ca_valencia.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Configuració" @@ -24,10 +24,13 @@ msgstr "Configuració" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Eliminar" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Títol" @@ -36,12 +39,11 @@ msgstr "Títol" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Estat" msgid "Edit" msgstr "Editar" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Error: contingut d'eXeLearning no trobat" @@ -77,32 +79,32 @@ msgstr "Error: contingut d'eXeLearning no trobat" msgid "Edit eXeLearning File" msgstr "Editar el fitxer eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Previsualització del contingut eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadades d'eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Obrir en una pestanya nova" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Llicència:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Idioma:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipus de recurs:" @@ -118,40 +120,41 @@ msgstr "Utilitzar este fitxer" msgid "Invalid nonce." msgstr "Nonce no vàlid." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permisos insuficients." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Error en carregar la plantilla de l'editor d'eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Error de plantilla" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Guardant..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Guardat en WordPress correctament" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Guardar en WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Carregant projecte..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Error" @@ -172,12 +175,12 @@ msgstr "Fitxer no trobat." msgid "Access denied." msgstr "Accés denegat." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Este contingut d'eXeLearning és un fitxer font i no es pot previsualitzar directament." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descarregar el fitxer" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "No tens permís per a accedir a esta pàgina." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "No s'ha especificat cap adjunt." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Este fitxer no és un fitxer eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "No tens permís per a editar este fitxer." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editar en eXeLearning" @@ -222,47 +227,52 @@ msgstr "Editar en eXeLearning" msgid "Close" msgstr "Tancar" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "No tens permís per a llegir este fitxer." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "No s'ha pujat cap fitxer." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Error en pujar el fitxer." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Fitxer creat correctament." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID d'adjunt no vàlid." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Fitxer original no trobat." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Este no és un fitxer eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Error en guardar el fitxer." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Fitxer guardat correctament." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Error en crear el directori per als fitxers extrets." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Previsualització no disponible" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Este és un fitxer font d'eXeLearning v2 (.elp). Per a veure el contingut, obri'l en eXeLearning i exporta'l com a HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID de fitxer eXeLearning no vàlid." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Fitxer eXeLearning no trobat." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Este és un fitxer font que no es pot previsualitzar directament. Descarrega'l per a obrir-lo amb eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descarregar el fitxer font" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Veure a pantalla completa" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informació d'eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versió:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipus:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Previsualitzar en una pestanya nova" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Contingut eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Puja o selecciona un fitxer .elpx de la teua biblioteca de mitjans" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Pujar un fitxer .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca de mitjans" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Alçària (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Canviar el fitxer" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Eliminar" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Este és un fitxer font d'eXeLearning v2. El contingut es mostrarà en el frontend si hi ha HTML exportat disponible." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "fitxer font" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportat" @@ -376,11 +387,11 @@ msgstr "Este fitxer va ser creat amb una versió anterior d'eXeLearning i no és msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "El fitxer no és un fitxer vàlid d'eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "La còpia del fitxer pareix estar truncada." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostrar el commutador de Mode Professor" @@ -394,168 +405,172 @@ msgstr "Per favor, espereu mentre es guarda l'arxiu." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Teniu canvis sense guardar. Esteu segurs que voleu tancar?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrat" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "L'editor integrat és necessari per a editar fitxers eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Per favor, instal·leu-lo amb el botó de baix." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Estat:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instal·lat" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instal·lat el:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Actualitza a l'última versió" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "No instal·lat" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "L'editor integrat d'eXeLearning no està instal·lat. Podeu descarregar i instal·lar l'última versió automàticament des de GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descarrega i instal·la l'editor" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Els desenvolupadors també poden compilar l'editor des del codi font usant %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Torna a intentar-ho" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instal·lant..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Descarregant i instal·lant l'editor. Açò pot tardar un minut..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Obri l'editor" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "La instal·lació ha fallat." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Error de xarxa. Per favor, comproveu la connexió i torneu a intentar-ho." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "La verificació de seguretat ha fallat. Per favor, recarregueu la pàgina i torneu a intentar-ho." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "No teniu permís per a instal·lar l'editor." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Ja hi ha una instal·lació en curs. Per favor, espereu." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor d'eXeLearning v%s instal·lat correctament." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "No s'ha pogut connectar a GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "L'API de GitHub ha retornat l'estat %d. Per favor, proveu-ho més tard." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "No s'ha pogut analitzar la informació de l'última versió de GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Format d'etiqueta de versió inesperat: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Error en descarregar el paquet de l'editor: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "El fitxer descarregat no és un arxiu ZIP vàlid." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "No s'ha pogut crear el directori temporal per a l'extracció." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Error en extraure el paquet de l'editor: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "El paquet descarregat no conté els fitxers esperats de l'editor. No s'ha trobat index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Al paquet de l'editor li falta index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Al paquet de l'editor li falten els directoris de recursos esperats (app, libs o files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "No s'ha pogut crear el directori dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "No s'ha pogut fer una còpia de seguretat de la instal·lació actual de l'editor." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Error en copiar els fitxers de l'editor al directori del connector." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "No s'ha trobat el fitxer eXeLearning al disc." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocessa el fitxer eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d fitxer eXeLearning reprocessat." msgstr[1] "%d fitxers eXeLearning reprocessats." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d element omès (no és un fitxer eXeLearning)." msgstr[1] "%d elements omesos (no són fitxers eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "%d fitxer no s'ha pogut reprocessar." msgstr[1] "%d fitxers no s'han pogut reprocessar." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Processa com a eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Fitxer eXeLearning (encara sense processar)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Processant…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Aquest fitxer no s'ha pogut processar com a eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Ajuda" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incrusta un paquet .elpx penjat a qualsevol lloc amb el codi curt [exelearning], referenciant el fitxer pel seu ID d'adjunt a la Biblioteca multimèdia." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Exemples de codi curt" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributs" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atribut" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Per defecte" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descripció" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obligatori. ID d'adjunt del paquet .elpx a la Biblioteca multimèdia." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Alçada de la previsualització, en píxels." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Quan s'activa, el contingut es carrega amb el mode docent actiu." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Si es mostra el botó per commutar el mode docent." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Quan s'activa, mostra un botó de baixada multiformat." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "tots" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formats separats per comes a oferir: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Mostra la captura de pantalla del paquet: no, poster (clic per carregar) o only (només imatge). Requereix eXeLearning 4.0.1 o superior." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hooks per a desenvolupadors" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "La sortida del codi curt es pot personalitzar amb els filtres exelearning_shortcode_atts, exelearning_preview_url i exelearning_shortcode_output, entre altres accions i filtres." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referència completa del codi curt" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referència dels hooks per a desenvolupadors" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Estils" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Penja paquets d'estils d'eXeLearning i controla quins estils mostra l'editor incrustat." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Política d'importació" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Bloca els estils importats per usuaris" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Quan s'activa, l'editor incrustat amaga la pestanya «Estils d'usuari» i es nega silenciosament a instal·lar un estil inclòs en un projecte .elpx importat. Els usuaris només poden triar de la llista aprovada per l'administrador de sota. Això reprodueix el comportament eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Penja un estil nou" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Penja l'estil" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Mida màxima del fitxer: %s. Només s'accepten paquets .zip que continguin un config.xml vàlid." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Estils penjats" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Encara no hi ha estils penjats." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versió" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Habilitat" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Accions" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Estils integrats" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Els estils integrats no estan disponibles perquè l'editor incrustat no està instal·lat." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Els estils integrats desactivats s'amaguen de l'editor. Els estils penjats es poden desactivar o eliminar en qualsevol moment. Els projectes existents que referencien un estil que falta utilitzen l'estil per defecte de l'editor." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "S'està penjant…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Estil instal·lat." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "La pujada ha fallat." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Error de xarxa." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "L'actualització ha fallat." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Voleu eliminar aquest estil? Aquesta acció no es pot desfer." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Estil eliminat." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "L'eliminació ha fallat." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "No es pot accedir al fitxer penjat." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Falta l'identificador de l'estil." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Testimoni de seguretat no vàlid o absent." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Més formats de baixada" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instal·la l'editor d'eXeLearning des de la pàgina de configuració del connector per habilitar aquest format." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "S'està preparant la baixada…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "La baixada ha fallat. Torneu-ho a provar." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Baixa .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Paquet IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Ja hi ha un desament en curs per a aquest fitxer. Torneu-ho a provar d'aquí a poc." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "No s'ha trobat l'adjunt." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "L'editor estàtic d'eXeLearning no està instal·lat." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "No s'ha pogut carregar la plantilla de l'editor." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "El paquet de l'editor baixat no ha superat la comprovació d'integritat (SHA-256) i s'ha descartat." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "El fitxer penjat no és un arxiu ZIP llegible." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "No s'ha pogut llegir config.xml de l'arxiu." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "El fitxer penjat falta o no es pot llegir." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "El fitxer penjat és buit." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "L'estil penjat supera la mida màxima permesa de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "L'extensió ZipArchive de PHP no està disponible." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "L'arxiu ZIP conté entrades il·legibles." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "S'ha rebutjat una entrada d'arxiu insegura: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "L'arxiu conté més d'un config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Al paquet d'estil li falta config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "L'arxiu ha de contenir una única carpeta arrel o situar tots els fitxers a l'arrel." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tipus de fitxer no permès al paquet d'estil: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "No s'ha pogut tornar a obrir l'arxiu ZIP." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "S'ha rebutjat una entrada d'arxiu insegura durant l'extracció." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "S'ha rebutjat un salt de ruta durant l'extracció." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "No s'ha pogut crear un directori de l'arxiu." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "No s'ha pogut llegir un fitxer de l'arxiu." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "No s'ha pogut escriure un fitxer extret." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml no és XML vàlid." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml ha de declarar un element ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "No s'ha trobat l'estil." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "No s'ha pogut crear el directori de l'estil." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "L'estil penjat no conté cap full d'estil." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Carrega el contingut interactiu" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Paquet IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opcions de baixada" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Mostra el botó de baixada" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formats disponibles" diff --git a/languages/exelearning-de_DE-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-de_DE-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..b88c90c --- /dev/null +++ b/languages/exelearning-de_DE-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "de_DE", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Einstellungen" + ], + "Edit in eXeLearning": [ + "In eXeLearning bearbeiten" + ], + "No preview available": [ + "Keine Vorschau verf\u00fcgbar" + ], + "eXeLearning Content": [ + "eXeLearning-Inhalt" + ], + "Upload or select a .elpx file from your media library": [ + "Laden Sie eine .elpx-Datei hoch oder w\u00e4hlen Sie eine aus Ihrer Mediathek" + ], + "Upload .elpx File": [ + ".elpx-Datei hochladen" + ], + "Media Library": [ + "Mediathek" + ], + "Height (px)": [ + "H\u00f6he (px)" + ], + "Change file": [ + "Datei \u00e4ndern" + ], + "Remove": [ + "Entfernen" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Dies ist eine eXeLearning v2-Quelldatei. Der Inhalt wird im Frontend angezeigt, wenn exportiertes HTML verf\u00fcgbar ist." + ], + "Show Teacher Mode toggler": [ + "Umschalter f\u00fcr Lehrermodus anzeigen" + ], + "More download formats": [ + "Weitere Download-Formate" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Installieren Sie den eXeLearning-Editor \u00fcber die Plugin-Einstellungsseite, um dieses Format zu aktivieren." + ], + "Download failed. Please try again.": [ + "Download fehlgeschlagen. Bitte versuchen Sie es erneut." + ], + "Download .elpx": [ + ".elpx herunterladen" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "IMS-Paket (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Download-Optionen" + ], + "Show download button": [ + "Download-Schaltfl\u00e4che anzeigen" + ], + "Available formats": [ + "Verf\u00fcgbare Formate" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-de_DE.mo b/languages/exelearning-de_DE.mo index b70606a..0f24b42 100644 Binary files a/languages/exelearning-de_DE.mo and b/languages/exelearning-de_DE.mo differ diff --git a/languages/exelearning-de_DE.po b/languages/exelearning-de_DE.po index 56a947d..405c4dc 100644 --- a/languages/exelearning-de_DE.po +++ b/languages/exelearning-de_DE.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Einstellungen" @@ -24,10 +24,13 @@ msgstr "Einstellungen" msgid "Date" msgstr "Datum" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Löschen" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Titel" @@ -36,12 +39,11 @@ msgstr "Titel" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Status" msgid "Edit" msgstr "Bearbeiten" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Fehler: eXeLearning-Inhalt nicht gefunden" @@ -77,32 +79,32 @@ msgstr "Fehler: eXeLearning-Inhalt nicht gefunden" msgid "Edit eXeLearning File" msgstr "eXeLearning-Datei bearbeiten" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "eXeLearning-Inhaltsvorschau" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "eXeLearning-Metadaten" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "In neuem Tab öffnen" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Lizenz:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Sprache:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Ressourcentyp:" @@ -118,40 +120,41 @@ msgstr "Diese Datei verwenden" msgid "Invalid nonce." msgstr "Ungültiger Nonce." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Unzureichende Berechtigungen." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Fehler beim Laden der eXeLearning-Editor-Vorlage." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Vorlagenfehler" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Speichern..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Erfolgreich in WordPress gespeichert" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "In WordPress speichern" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Projekt wird geladen..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Fehler" @@ -172,12 +175,12 @@ msgstr "Datei nicht gefunden." msgid "Access denied." msgstr "Zugriff verweigert." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Dieser eXeLearning-Inhalt ist eine Quelldatei und kann nicht direkt in der Vorschau angezeigt werden." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Datei herunterladen" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Sie haben keine Berechtigung, auf diese Seite zuzugreifen." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Kein Anhang angegeben." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Diese Datei ist keine eXeLearning-Datei (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Sie haben keine Berechtigung, diese Datei zu bearbeiten." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "In eXeLearning bearbeiten" @@ -222,47 +227,52 @@ msgstr "In eXeLearning bearbeiten" msgid "Close" msgstr "Schließen" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Sie haben keine Berechtigung, diese Datei zu lesen." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Keine Datei hochgeladen." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Datei-Upload fehlgeschlagen." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Datei erfolgreich erstellt." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "Ungültige Anhangs-ID." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Originaldatei nicht gefunden." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Dies ist keine eXeLearning-Datei (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Fehler beim Speichern der Datei." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Datei erfolgreich gespeichert." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Fehler beim Erstellen des Verzeichnisses für extrahierte Dateien." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Keine Vorschau verfügbar" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Dies ist eine eXeLearning v2-Quelldatei (.elp). Um den Inhalt anzuzeigen, öffnen Sie sie in eXeLearning und exportieren Sie sie als HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "Ungültige eXeLearning-Datei-ID." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "eXeLearning-Datei nicht gefunden." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Dies ist eine Quelldatei, die nicht direkt in der Vorschau angezeigt werden kann. Laden Sie sie herunter, um sie mit eXeLearning zu öffnen." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Quelldatei herunterladen" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Vollbild anzeigen" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "eXeLearning-Info" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Version:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Typ:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Vorschau in neuem Tab" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "eXeLearning-Inhalt" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Laden Sie eine .elpx-Datei hoch oder wählen Sie eine aus Ihrer Mediathek" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr ".elpx-Datei hochladen" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Mediathek" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Höhe (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Datei ändern" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Entfernen" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Dies ist eine eXeLearning v2-Quelldatei. Der Inhalt wird im Frontend angezeigt, wenn exportiertes HTML verfügbar ist." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "Quelldatei" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportiert" @@ -376,11 +387,11 @@ msgstr "Diese Datei wurde mit einer älteren Version von eXeLearning erstellt un msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "Die Datei ist keine gültige eXeLearning-Datei (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "Die Dateikopie scheint abgeschnitten zu sein." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Umschalter für Lehrermodus anzeigen" @@ -394,168 +405,172 @@ msgstr "Bitte warten Sie, während die Datei gespeichert wird." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Sie haben ungespeicherte Änderungen. Möchten Sie wirklich schließen?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Eingebetteter Editor" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "Der eingebettete Editor wird zum Bearbeiten von eXeLearning-Dateien benötigt." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Bitte installieren Sie ihn über die Schaltfläche unten." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Status:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Installiert" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Installiert am:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Auf neueste Version aktualisieren" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Nicht installiert" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "Der eingebettete eXeLearning-Editor ist nicht installiert. Sie können die neueste Version automatisch von GitHub herunterladen und installieren." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Editor herunterladen und installieren" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Entwickler können den Editor auch aus dem Quellcode mit %s erstellen." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Erneut versuchen" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Installiere..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Editor wird heruntergeladen und installiert. Dies kann eine Minute dauern..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Editor öffnen" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "Installation fehlgeschlagen." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Netzwerkfehler. Bitte überprüfen Sie Ihre Verbindung und versuchen Sie es erneut." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "Sicherheitsüberprüfung fehlgeschlagen. Bitte laden Sie die Seite neu und versuchen Sie es erneut." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Sie haben keine Berechtigung, den Editor zu installieren." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Eine Installation wird bereits durchgeführt. Bitte warten Sie." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "eXeLearning-Editor v%s erfolgreich installiert." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Verbindung zu GitHub nicht möglich: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "GitHub-API hat Status %d zurückgegeben. Bitte versuchen Sie es später erneut." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Die Informationen der neuesten Version von GitHub konnten nicht analysiert werden." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Unerwartetes Release-Tag-Format: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Fehler beim Herunterladen des Editor-Pakets: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "Die heruntergeladene Datei ist kein gültiges ZIP-Archiv." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Temporäres Verzeichnis für die Extraktion konnte nicht erstellt werden." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Fehler beim Extrahieren des Editor-Pakets: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "Das heruntergeladene Paket enthält nicht die erwarteten Editor-Dateien. index.html wurde nicht gefunden." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Dem Editor-Paket fehlt index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Dem Editor-Paket fehlen die erwarteten Asset-Verzeichnisse (app, libs oder files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Das dist-Verzeichnis konnte nicht erstellt werden." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Die bestehende Editor-Installation konnte nicht gesichert werden." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Fehler beim Kopieren der Editor-Dateien in das Plugin-Verzeichnis." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Die eXeLearning-Datei wurde auf der Festplatte nicht gefunden." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "eXeLearning-Datei neu verarbeiten" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d eXeLearning-Datei neu verarbeitet." msgstr[1] "%d eXeLearning-Dateien neu verarbeitet." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d Element übersprungen (keine eXeLearning-Datei)." msgstr[1] "%d Elemente übersprungen (keine eXeLearning-Dateien)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "%d Datei konnte nicht neu verarbeitet werden." msgstr[1] "%d Dateien konnten nicht neu verarbeitet werden." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Als eXeLearning verarbeiten" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "eXeLearning-Datei (noch nicht verarbeitet)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Wird verarbeitet…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Diese Datei konnte nicht als eXeLearning verarbeitet werden." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Hilfe" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Betten Sie ein hochgeladenes .elpx-Paket überall mit dem Shortcode [exelearning] ein und verweisen Sie über die Anhang-ID der Mediathek auf die Datei." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Shortcode-Beispiele" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Attribute" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Attribut" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Standard" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Beschreibung" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Erforderlich. Anhang-ID des .elpx-Pakets in der Mediathek." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Höhe der Vorschau in Pixeln." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Wenn aktiviert, wird der Inhalt mit aktivem Lehrermodus geladen." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Legt fest, ob die Umschaltfläche für den Lehrermodus angezeigt wird." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Wenn aktiviert, wird eine Download-Schaltfläche mit mehreren Formaten angezeigt." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "alle" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Durch Kommas getrennte Formate: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Paket-Screenshot anzeigen: no, poster (zum Laden klicken) oder only (nur Bild). Erfordert eXeLearning 4.0.1 oder neuer." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Entwickler-Hooks" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "Die Shortcode-Ausgabe kann unter anderem mit den Filtern exelearning_shortcode_atts, exelearning_preview_url und exelearning_shortcode_output angepasst werden." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Vollständige Shortcode-Referenz" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referenz der Entwickler-Hooks" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Stile" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Laden Sie eXeLearning-Stilpakete hoch und steuern Sie, welche Stile der eingebettete Editor anbietet." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Importrichtlinie" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Von Benutzern importierte Stile blockieren" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Wenn aktiviert, blendet der eingebettete Editor den Tab „Benutzerstile“ aus und weigert sich stillschweigend, einen in ein importiertes .elpx-Projekt eingebetteten Stil zu installieren. Benutzer können nur aus der unten stehenden, vom Administrator genehmigten Liste wählen. Dies entspricht dem Verhalten von eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Neuen Stil hochladen" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Stil hochladen" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Maximale Dateigröße: %s. Es werden nur .zip-Pakete mit einer gültigen config.xml akzeptiert." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Hochgeladene Stile" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Noch keine hochgeladenen Stile." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "ID" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Version" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Aktiviert" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Aktionen" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Integrierte Stile" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Integrierte Stile sind nicht verfügbar, da der eingebettete Editor nicht installiert ist." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Deaktivierte integrierte Stile werden im Editor ausgeblendet. Hochgeladene Stile können jederzeit deaktiviert oder gelöscht werden. Bestehende Projekte, die auf einen fehlenden Stil verweisen, verwenden den Standardstil des Editors." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Wird hochgeladen…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Stil installiert." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Hochladen fehlgeschlagen." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Netzwerkfehler." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Aktualisierung fehlgeschlagen." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Diesen Stil löschen? Dies kann nicht rückgängig gemacht werden." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Stil gelöscht." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Löschen fehlgeschlagen." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "Auf die hochgeladene Datei kann nicht zugegriffen werden." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Fehlende Stil-ID." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Ungültiges oder fehlendes Sicherheitstoken." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Weitere Download-Formate" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Installieren Sie den eXeLearning-Editor über die Plugin-Einstellungsseite, um dieses Format zu aktivieren." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Download wird vorbereitet…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "Download fehlgeschlagen. Bitte versuchen Sie es erneut." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr ".elpx herunterladen" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "IMS-Paket" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Für diese Datei läuft bereits ein Speichervorgang. Bitte versuchen Sie es in Kürze erneut." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Anhang nicht gefunden." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "Statischer eXeLearning-Editor nicht installiert." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Editor-Vorlage konnte nicht geladen werden." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "Das heruntergeladene Editor-Paket hat die Integritätsprüfung (SHA-256) nicht bestanden und wurde verworfen." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "Die hochgeladene Datei ist kein lesbares ZIP-Archiv." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "config.xml konnte nicht aus dem Archiv gelesen werden." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "Die hochgeladene Datei fehlt oder ist nicht lesbar." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "Die hochgeladene Datei ist leer." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "Der hochgeladene Stil überschreitet die maximal zulässige Größe von %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "Die PHP-Erweiterung ZipArchive ist nicht verfügbar." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "Das ZIP-Archiv enthält nicht lesbare Einträge." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Unsicherer Archiveintrag abgelehnt: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "Das Archiv enthält mehr als eine config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Im Stilpaket fehlt die config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "Das Archiv muss einen einzigen Stammordner enthalten oder alle Dateien im Stammverzeichnis ablegen." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Dateityp im Stilpaket nicht zulässig: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "ZIP-Archiv konnte nicht erneut geöffnet werden." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Unsicherer Archiveintrag bei der Extraktion abgelehnt." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Pfad-Traversal bei der Extraktion abgelehnt." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Verzeichnis konnte nicht aus dem Archiv erstellt werden." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Datei konnte nicht aus dem Archiv gelesen werden." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Eine extrahierte Datei konnte nicht geschrieben werden." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml ist kein gültiges XML." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml muss ein -Element deklarieren." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Stil nicht gefunden." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Stilverzeichnis konnte nicht erstellt werden." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "Der hochgeladene Stil enthält kein Stylesheet." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Interaktive Inhalte laden" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "IMS-Paket (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Download-Optionen" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Download-Schaltfläche anzeigen" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Verfügbare Formate" diff --git a/languages/exelearning-eo-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-eo-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..d11377b --- /dev/null +++ b/languages/exelearning-eo-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "eo", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Agordoj" + ], + "Edit in eXeLearning": [ + "Redakti en eXeLearning" + ], + "No preview available": [ + "Neniu anta\u016drigardo disponebla" + ], + "eXeLearning Content": [ + "eXeLearning-enhavo" + ], + "Upload or select a .elpx file from your media library": [ + "Al\u015dutu a\u016d elektu .elpx-dosieron el via mediobiblioteko" + ], + "Upload .elpx File": [ + "Al\u015duti .elpx-dosieron" + ], + "Media Library": [ + "Mediobiblioteko" + ], + "Height (px)": [ + "Alto (px)" + ], + "Change file": [ + "\u015can\u011di dosieron" + ], + "Remove": [ + "Forigi" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "\u0108i tio estas eXeLearning v2 fontdosiero. La enhavo estos montrata en la fasado se eksportita HTML estas disponebla." + ], + "Show Teacher Mode toggler": [ + "Montri la \u015daltilon de Instruista Re\u011dimo" + ], + "More download formats": [ + "Pliaj el\u015dutformatoj" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instalu la eXeLearning-redaktilon el la agordpa\u011do de la kroma\u0135o por \u015dalti \u0109i tiun formaton." + ], + "Download failed. Please try again.": [ + "El\u015duto malsukcesis. Bonvolu reprovi." + ], + "Download .elpx": [ + "El\u015duti .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "IMS-paka\u0135o (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "El\u015dutaj opcioj" + ], + "Show download button": [ + "Montri el\u015dutbutonon" + ], + "Available formats": [ + "Disponeblaj formatoj" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-eo.mo b/languages/exelearning-eo.mo index 221b5e0..40c3627 100644 Binary files a/languages/exelearning-eo.mo and b/languages/exelearning-eo.mo differ diff --git a/languages/exelearning-eo.po b/languages/exelearning-eo.po index 931483a..2b9f677 100644 --- a/languages/exelearning-eo.po +++ b/languages/exelearning-eo.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Agordoj" @@ -24,10 +24,13 @@ msgstr "Agordoj" msgid "Date" msgstr "Dato" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Forigi" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Titolo" @@ -36,12 +39,11 @@ msgstr "Titolo" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Stato" msgid "Edit" msgstr "Redakti" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Eraro: eXeLearning-enhavo ne trovita" @@ -77,32 +79,32 @@ msgstr "Eraro: eXeLearning-enhavo ne trovita" msgid "Edit eXeLearning File" msgstr "Redakti eXeLearning-dosieron" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Antaŭrigardo de eXeLearning-enhavo" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadatumoj de eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Malfermi en nova langeto" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licenco:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Lingvo:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Rimeda tipo:" @@ -118,40 +120,41 @@ msgstr "Uzi ĉi tiun dosieron" msgid "Invalid nonce." msgstr "Nevalida nonce." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Nesufiĉaj permesoj." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Malsukcesis ŝargi la redaktilan ŝablonon de eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Ŝablona eraro" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Konservante..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Sukcese konservita en WordPress" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Konservi en WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Ŝargante projekton..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Eraro" @@ -172,12 +175,12 @@ msgstr "Dosiero ne trovita." msgid "Access denied." msgstr "Aliro rifuzita." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Ĉi tiu eXeLearning-enhavo estas fontdosiero kaj ne povas esti antaŭrigardata rekte." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Elŝuti dosieron" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Vi ne havas permeson aliri ĉi tiun paĝon." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Neniu kunsendaĵo specifita." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Ĉi tiu dosiero ne estas eXeLearning-dosiero (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Vi ne havas permeson redakti ĉi tiun dosieron." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Redakti en eXeLearning" @@ -222,47 +227,52 @@ msgstr "Redakti en eXeLearning" msgid "Close" msgstr "Fermi" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Vi ne havas permeson legi ĉi tiun dosieron." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Neniu dosiero alŝutita." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Dosiera alŝuto malsukcesis." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Dosiero sukcese kreita." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "Nevalida kunsendaĵa ID." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Originala dosiero ne trovita." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Ĉi tio ne estas eXeLearning-dosiero (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Malsukcesis konservi la dosieron." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Dosiero sukcese konservita." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Malsukcesis krei dosierujon por ĉerpitaj dosieroj." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Neniu antaŭrigardo disponebla" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Ĉi tio estas eXeLearning v2 fontdosiero (.elp). Por vidi la enhavon, malfermu ĝin en eXeLearning kaj eksportu ĝin kiel HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "Nevalida eXeLearning-dosiera ID." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "eXeLearning-dosiero ne trovita." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Ĉi tio estas fontdosiero kiu ne povas esti antaŭrigardata rekte. Elŝutu ĝin por malfermi per eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Elŝuti fontdosieron" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Vidi tutekrane" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informoj pri eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versio:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipo:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Antaŭrigardo en nova langeto" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "eXeLearning-enhavo" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Alŝutu aŭ elektu .elpx-dosieron el via mediobiblioteko" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Alŝuti .elpx-dosieron" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Mediobiblioteko" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Alto (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Ŝanĝi dosieron" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Forigi" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Ĉi tio estas eXeLearning v2 fontdosiero. La enhavo estos montrata en la fasado se eksportita HTML estas disponebla." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "fontdosiero" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "eksportita" @@ -376,11 +387,11 @@ msgstr "Ĉi tiu dosiero estis kreita per pli malnova versio de eXeLearning kaj n msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "La dosiero ne estas valida eXeLearning-dosiero (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "La dosiera kopio ŝajnas esti trunkita." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Montri la ŝaltilon de Instruista Reĝimo" @@ -394,168 +405,172 @@ msgstr "Bonvolu atendi dum la dosiero estas konservata." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Vi havas nekonservitajn ŝanĝojn. Ĉu vi certas, ke vi volas fermi?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Integra redaktilo" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "La integra redaktilo estas bezonata por redakti eXeLearning-dosierojn." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Bonvolu instali ĝin per la suba butono." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Stato:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalita" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalita je:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Ĝisdatigi al la plej nova versio" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Ne instalita" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "La integra eXeLearning-redaktilo ne estas instalita. Vi povas aŭtomate elŝuti kaj instali la plej novan version de GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Elŝuti kaj instali redaktilon" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Programistoj ankaŭ povas kompili la redaktilon el la fontkodo per %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Reprovi" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instalado..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Elŝutado kaj instalado de la redaktilo. Tio povas daŭri minuton..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Malfermi redaktilon" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "Instalado malsukcesis." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Reta eraro. Bonvolu kontroli vian konekton kaj reprovi." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "Sekureca kontrolo malsukcesis. Bonvolu reŝargi la paĝon kaj reprovi." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Vi ne havas permeson instali la redaktilon." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Instalado jam estas en progreso. Bonvolu atendi." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "eXeLearning-redaktilo v%s sukcese instalita." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Ne povis konektiĝi al GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "GitHub API redonis staton %d. Bonvolu reprovi poste." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Ne povis analizi la informojn de la plej nova versio de GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Neatendita versio-etikeda formato: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Eraro dum elŝuto de la redaktilo-pakaĵo: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "La elŝutita dosiero ne estas valida ZIP-arkivo." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Ne povis krei provizoran dosierujon por eltiro." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Eraro dum eltiro de la redaktilo-pakaĵo: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "La elŝutita pakaĵo ne enhavas la atendatajn redaktilo-dosierojn. Ne povis trovi index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "En la redaktilo-pakaĵo mankas index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "En la redaktilo-pakaĵo mankas la atendataj risurc-dosierujoj (app, libs aŭ files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Ne povis krei la dist-dosierujon." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Ne povis krei savkopion de la nuna redaktilo-instalado." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Eraro dum kopiado de redaktilo-dosieroj al la kromprogramo-dosierujo." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "La eXeLearning-dosiero ne troviĝis en la disko." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprilabori eXeLearning-dosieron" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d eXeLearning-dosiero reprilaborita." msgstr[1] "%d eXeLearning-dosieroj reprilaboritaj." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d ero preterlasita (ne estas eXeLearning-dosiero)." msgstr[1] "%d eroj preterlasitaj (ne estas eXeLearning-dosieroj)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "%d dosiero ne povis esti reprilaborita." msgstr[1] "%d dosieroj ne povis esti reprilaboritaj." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Prilabori kiel eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "eXeLearning-dosiero (ankoraŭ ne prilaborita)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Prilaborante…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Ĉi tiu dosiero ne povis esti prilaborita kiel eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Helpo" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Enkorpigu alŝutitan .elpx-pakaĵon ie ajn per la kodo [exelearning], referencante la dosieron per ĝia aldonaĵo-ID en la Aŭdvida Biblioteko." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Ekzemploj de kodo" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributoj" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atributo" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Defaŭlta" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Priskribo" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Deviga. Aldonaĵo-ID de la .elpx-pakaĵo en la Aŭdvida Biblioteko." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Alteco de la antaŭrigardo, en bilderoj." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Kiam ŝaltita, la enhavo ŝargiĝas kun la instruista reĝimo aktiva." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Ĉu la ŝaltbutono de la instruista reĝimo estas montrata." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Kiam ŝaltita, montras elŝutbutonon kun pluraj formatoj." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "ĉiuj" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Komseparitaj formatoj proponotaj: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Montri la ekrankopion de la pakaĵo: no, poster (klaku por ŝargi) aŭ only (nur bildo). Bezonas eXeLearning 4.0.1 aŭ pli novan." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hokoj por programistoj" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "La eligo de la kodo agordeblas per la filtriloj exelearning_shortcode_atts, exelearning_preview_url kaj exelearning_shortcode_output, inter aliaj agoj kaj filtriloj." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Kompleta referenco de la kodo" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referenco de la programistaj hokoj" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Stiloj" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Alŝutu eXeLearning-stilpakaĵojn kaj regu kiujn stilojn la enkorpigita redaktilo montras." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Importa politiko" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Bloki uzant-importitajn stilojn" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Kiam ŝaltita, la enkorpigita redaktilo kaŝas la langeton «Uzantaj stiloj» kaj silente rifuzas instali stilon inkluzivitan en importita .elpx-projekto. Uzantoj povas elekti nur el la malsupra listo aprobita de la administranto. Tio spegulas la konduton eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Alŝuti novan stilon" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Alŝuti stilon" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Maksimuma dosiergrandeco: %s. Akceptiĝas nur .zip-pakaĵoj kun valida config.xml." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Alŝutitaj stiloj" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Ankoraŭ neniuj alŝutitaj stiloj." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versio" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Ŝaltita" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Agoj" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Enkonstruitaj stiloj" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Enkonstruitaj stiloj ne disponeblas ĉar la enkorpigita redaktilo ne estas instalita." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Malŝaltitaj enkonstruitaj stiloj estas kaŝitaj de la redaktilo. Alŝutitaj stiloj povas esti malŝaltitaj aŭ forigitaj iam ajn. Ekzistantaj projektoj kiuj referencas mankantan stilon uzas la defaŭltan stilon de la redaktilo." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Alŝutante…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Stilo instalita." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Alŝuto malsukcesis." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Reta eraro." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Ĝisdatigo malsukcesis." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Ĉu forigi ĉi tiun stilon? Tio ne povas esti malfarita." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Stilo forigita." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Forigo malsukcesis." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "La alŝutita dosiero ne estas alirebla." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Mankas stilo-ID." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Nevalida aŭ mankanta sekureca ĵetono." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Pliaj elŝutformatoj" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instalu la eXeLearning-redaktilon el la agordpaĝo de la kromaĵo por ŝalti ĉi tiun formaton." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Preparante elŝuton…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "Elŝuto malsukcesis. Bonvolu reprovi." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Elŝuti .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Reto" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "IMS-pakaĵo" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Alia konservado jam okazas por ĉi tiu dosiero. Bonvolu reprovi baldaŭ." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Aldonaĵo ne trovita." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "La statika eXeLearning-redaktilo ne estas instalita." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Ne eblis ŝargi la redaktilan ŝablonon." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "La elŝutita redaktilpakaĵo malsukcesis sian integrec-kontrolon (SHA-256) kaj estis forĵetita." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "La alŝutita dosiero ne estas legebla ZIP-arkivo." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "config.xml ne legeblis el la arkivo." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "La alŝutita dosiero mankas aŭ ne legeblas." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "La alŝutita dosiero estas malplena." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "La alŝutita stilo superas la maksimuman permesatan grandecon de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "La PHP-etendaĵo ZipArchive ne disponeblas." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "La ZIP-arkivo enhavas nelegeblajn erojn." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Malsekura arkiverero malakceptita: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "La arkivo enhavas pli ol unu config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "En la stilpakaĵo mankas config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "La arkivo devas enhavi ununuran radikan dosierujon aŭ meti ĉiujn dosierojn en la radikon." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Dosiertipo ne permesata en la stilpakaĵo: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Ne eblis remalfermi la ZIP-arkivon." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Malsekura arkiverero malakceptita dum la malpakado." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Vojtravado malakceptita dum la malpakado." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Ne eblis krei dosierujon el la arkivo." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Ne eblis legi dosieron el la arkivo." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Ne eblis skribi malpakitan dosieron." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml ne estas valida XML." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml devas deklari elementon ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Stilo ne trovita." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Ne eblis krei la stilan dosierujon." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "La alŝutita stilo ne enhavas iun stilfolion." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Ŝargi interagan enhavon" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "IMS-pakaĵo (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Elŝutaj opcioj" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Montri elŝutbutonon" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Disponeblaj formatoj" diff --git a/languages/exelearning-es_ES-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-es_ES-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..cf446d4 --- /dev/null +++ b/languages/exelearning-es_ES-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2026-06-02T21:16:23+00:00", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "es_ES", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Ajustes" + ], + "More download formats": [ + "M\u00e1s formatos de descarga" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instala el editor eXeLearning desde la p\u00e1gina de ajustes del plugin para habilitar este formato." + ], + "Download failed. Please try again.": [ + "La descarga ha fallado. Por favor, int\u00e9ntelo de nuevo." + ], + "Download .elpx": [ + "Descargar .elpx" + ], + "Edit in eXeLearning": [ + "Editar en eXeLearning" + ], + "No preview available": [ + "Vista previa no disponible" + ], + "eXeLearning Content": [ + "Contenido eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Sube o selecciona un archivo .elpx de tu biblioteca de medios" + ], + "Upload .elpx File": [ + "Subir archivo .elpx" + ], + "Media Library": [ + "Biblioteca de medios" + ], + "Height (px)": [ + "Altura (px)" + ], + "Show Teacher Mode toggler": [ + "Mostrar el conmutador de Modo Docente" + ], + "Download options": [ + "Opciones de descarga" + ], + "Show download button": [ + "Mostrar el bot\u00f3n de descarga" + ], + "Available formats": [ + "Formatos disponibles" + ], + "Change file": [ + "Cambiar archivo" + ], + "Remove": [ + "Eliminar" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Este es un archivo fuente de eXeLearning v2. El contenido se mostrar\u00e1 en el frontend si hay HTML exportado disponible." + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Paquete IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-es_ES.mo b/languages/exelearning-es_ES.mo index 0a99b24..bc6343d 100644 Binary files a/languages/exelearning-es_ES.mo and b/languages/exelearning-es_ES.mo differ diff --git a/languages/exelearning-es_ES.po b/languages/exelearning-es_ES.po index 4a9db7e..ba3d4e1 100644 --- a/languages/exelearning-es_ES.po +++ b/languages/exelearning-es_ES.po @@ -15,508 +15,727 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Plugin Name of the plugin +#: exelearning.php +#: admin/class-admin-settings.php:51 +#: includes/class-mime-types.php:73 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin +#: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" #. Description of the plugin +#: exelearning.php msgid "Plugin to support eXeLearning .elp files in WordPress. Upload, manage and embed eXeLearning content." msgstr "Plugin para gestionar archivos .elp de eXeLearning en WordPress. Sube, gestiona e incrusta contenido de eXeLearning." #. Author of the plugin +#: exelearning.php msgid "INTEF" msgstr "INTEF" #. Author URI of the plugin +#: exelearning.php msgid "https://exelearning.net/" msgstr "https://exelearning.net/" +#: admin/class-admin-settings.php:39 +#: public/views/elp-list.php:63 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Ajustes" +#: admin/class-admin-settings.php:50 +#: admin/class-admin-settings.php:64 msgid "eXeLearning Settings" msgstr "Ajustes de eXeLearning" +#: admin/class-admin-settings.php:180 msgid "Styles" msgstr "Estilos" +#: admin/class-admin-settings.php:182 msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." msgstr "Sube paquetes de estilos de eXeLearning y controla qué estilos muestra el editor embebido." +#: admin/class-admin-settings.php:185 msgid "Import policy" msgstr "Política de importación" +#: admin/class-admin-settings.php:189 msgid "Block user-imported styles" msgstr "Bloquear estilos importados por usuarios" +#: admin/class-admin-settings.php:193 msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." msgstr "Cuando está activado, el editor embebido oculta la pestaña «Estilos de usuario» y rechaza silenciosamente la instalación de cualquier estilo incluido en un proyecto .elpx importado. Los usuarios solo pueden elegir entre la lista aprobada por la administración que se muestra debajo. Este comportamiento replica el de eXeLearning ONLINE_THEMES_INSTALL=false." +#: admin/class-admin-settings.php:196 msgid "Upload a new style" msgstr "Subir un nuevo estilo" +#: admin/class-admin-settings.php:201 msgid "Upload style" msgstr "Subir estilo" #. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 #, php-format msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." msgstr "Tamaño máximo de archivo: %s. Solo se aceptan paquetes .zip que contengan un config.xml válido." +#: admin/class-admin-settings.php:217 msgid "Uploaded styles" msgstr "Estilos subidos" +#: admin/class-admin-settings.php:219 msgid "No uploaded styles yet." msgstr "Aún no hay estilos subidos." +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 +#: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Título" +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 msgid "Id" msgstr "Id" +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 msgid "Version" msgstr "Versión" +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalado" +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 msgid "Enabled" msgstr "Habilitado" +#: admin/class-admin-settings.php:229 msgid "Actions" msgstr "Acciones" +#: admin/class-admin-settings.php:249 +#: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Eliminar" +#: admin/class-admin-settings.php:258 msgid "Built-in styles" msgstr "Estilos integrados" +#: admin/class-admin-settings.php:261 msgid "Built-in styles are not available because the embedded editor is not installed." msgstr "Los estilos integrados no están disponibles porque el editor embebido no está instalado." +#: admin/class-admin-settings.php:295 msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." msgstr "Los estilos integrados deshabilitados se ocultan del editor. Los estilos subidos se pueden deshabilitar o eliminar en cualquier momento. Los proyectos existentes que hagan referencia a un estilo inexistente utilizarán el estilo predeterminado del editor." +#: admin/class-admin-settings.php:341 msgid "Uploading…" msgstr "Subiendo…" +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 msgid "Style installed." msgstr "Estilo instalado." +#: admin/class-admin-settings.php:347 msgid "Upload failed." msgstr "Error al subir." +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 msgid "Network error." msgstr "Error de red." +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 msgid "Update failed." msgstr "Error al actualizar." +#: admin/class-admin-settings.php:404 msgid "Delete this style? This cannot be undone." msgstr "¿Eliminar este estilo? Esta acción no se puede deshacer." +#: admin/class-admin-settings.php:413 msgid "Style deleted." msgstr "Estilo eliminado." +#: admin/class-admin-settings.php:415 msgid "Delete failed." msgstr "Error al eliminar." +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrado" +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "El editor integrado es necesario para editar archivos eXeLearning." +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Por favor, instálalo usando el botón de abajo." +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Estado:" +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versión:" +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalado el:" +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Actualizar a la última versión" +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "No instalado" +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "El editor integrado de eXeLearning no está instalado. Puedes descargar e instalar la última versión automáticamente desde GitHub." +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descargar e instalar editor" #. translators: %s: make build-editor command +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Los desarrolladores también pueden compilar el editor desde el código fuente usando %s." +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Reintentar" +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instalando..." +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Descargando e instalando el editor. Esto puede tardar un minuto..." +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Abrir editor" +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "La instalación falló." +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Error de red. Por favor, comprueba tu conexión e inténtalo de nuevo." +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "No se subió ningún archivo." +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Error al subir el archivo." +#: admin/class-admin-styles.php:59 msgid "Uploaded file is not accessible." msgstr "No se puede acceder al archivo subido." +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 msgid "Missing style id." msgstr "Falta el identificador del estilo." +#: admin/class-admin-styles.php:164 +#: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permisos insuficientes." +#: admin/class-admin-styles.php:168 msgid "Invalid or missing security token." msgstr "Token de seguridad no válido o ausente." +#: admin/class-admin-upload.php:36 msgid "Invalid nonce." msgstr "Nonce no válido." +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Error al cargar la plantilla del editor de eXeLearning." +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Error de plantilla" +#: admin/views/editor-bootstrap.php:96 +#: includes/class-exelearning-editor.php:178 +#: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Guardando..." +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Guardado en WordPress correctamente" +#: admin/views/editor-bootstrap.php:98 +#: includes/class-exelearning-editor.php:177 +#: includes/class-exelearning-editor.php:210 +#: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Guardar en WordPress" +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Cargando proyecto..." +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Error" +#: includes/class-content-proxy.php:112 msgid "Invalid content identifier." msgstr "Identificador de contenido no válido." +#: includes/class-content-proxy.php:137 msgid "Invalid file path." msgstr "Ruta de archivo no válida." +#: includes/class-content-proxy.php:149 msgid "File not found." msgstr "Archivo no encontrado." +#: includes/class-content-proxy.php:164 +#: includes/class-content-proxy.php:172 msgid "Access denied." msgstr "Acceso denegado." +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 msgid "More download formats" msgstr "Más formatos de descarga" +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 msgid "Install the eXeLearning editor from the plugin settings page to enable this format." msgstr "Instala el editor eXeLearning desde la página de ajustes del plugin para habilitar este formato." +#: includes/class-download-button-renderer.php:207 msgid "Preparing download…" msgstr "Preparando la descarga…" +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 msgid "Download failed. Please try again." msgstr "La descarga ha fallado. Por favor, inténtelo de nuevo." +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 msgid "Download .elpx" msgstr "Descargar .elpx" +#: includes/class-download-formats.php:38 msgid "Web" msgstr "Web" +#: includes/class-download-formats.php:45 msgid "SCORM 1.2" msgstr "SCORM 1.2" +#: includes/class-download-formats.php:52 msgid "IMS Package" msgstr "Paquete IMS" +#: includes/class-download-formats.php:59 msgid "EPUB3" msgstr "EPUB3" +#: includes/class-elp-file-service.php:84 msgid "This file was created with an older version of eXeLearning and is not compatible. Please open it with eXeLearning 3.x and save it again." msgstr "Este archivo fue creado con una versión anterior de eXeLearning y no es compatible. Por favor, ábrelo con eXeLearning 3.x y guárdalo de nuevo." +#: includes/class-elp-file-service.php:90 msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "El archivo no es un archivo válido de eXeLearning (.elpx)." +#: includes/class-elp-list-table.php:50 msgid "Date" msgstr "Fecha" +#: includes/class-elp-list-table.php:51 msgid "Status" msgstr "Estado" +#: includes/class-elp-list-table.php:108 msgid "Edit" msgstr "Editar" +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID de adjunto no válido." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "No se encontró el archivo eXeLearning en el disco." +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Este no es un archivo eXeLearning (.elpx)." +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Error al crear el directorio para los archivos extraídos." +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Error: contenido de eXeLearning no encontrado" +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descargar archivo" +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Este contenido de eXeLearning es un archivo fuente y no puede previsualizarse directamente." +#: includes/class-exelearning-editor.php:82 +#: includes/class-exelearning-editor.php:83 msgid "eXeLearning Editor" msgstr "Editor de eXeLearning" +#: includes/class-exelearning-editor.php:112 msgid "Security check failed." msgstr "La verificación de seguridad falló." +#: includes/class-exelearning-editor.php:117 msgid "You do not have permission to access this page." msgstr "No tienes permiso para acceder a esta página." +#: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "No se especificó ningún adjunto." +#: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Este archivo no es un archivo eXeLearning (.elpx)." +#: includes/class-exelearning-editor.php:137 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "No tienes permiso para editar este archivo." +#: includes/class-exelearning-editor.php:175 +#: includes/class-exelearning-editor.php:208 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editar en eXeLearning" +#: includes/class-exelearning-editor.php:176 +#: includes/class-exelearning-editor.php:209 +#: includes/class-exelearning-editor.php:243 msgid "Close" msgstr "Cerrar" +#: includes/class-exelearning-editor.php:179 +#: includes/class-exelearning-editor.php:212 msgid "Please wait while the file is being saved." msgstr "Por favor, espere mientras se guarda el archivo." +#: includes/class-exelearning-editor.php:180 +#: includes/class-exelearning-editor.php:213 msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Tiene cambios sin guardar. ¿Está seguro de que desea cerrar?" +#: includes/class-exelearning-editor.php:235 msgid "Edit eXeLearning File" msgstr "Editar archivo eXeLearning" +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "No tienes permiso para leer este archivo." +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Archivo creado correctamente." +#: includes/class-exelearning-rest-api.php:351 msgid "Another save is already in progress for this file. Please retry shortly." msgstr "Ya hay un guardado en curso para este archivo. Vuelve a intentarlo en unos instantes." +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Error al guardar el archivo." +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "La copia del archivo parece estar truncada." +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Archivo original no encontrado." +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Archivo guardado correctamente." +#: includes/class-export-bootstrap.php:124 msgid "Attachment not found." msgstr "Adjunto no encontrado." +#: includes/class-export-bootstrap.php:142 msgid "Static eXeLearning editor not installed." msgstr "El editor estático de eXeLearning no está instalado." +#: includes/class-export-bootstrap.php:147 msgid "Failed to load editor template." msgstr "No se pudo cargar la plantilla del editor." +#: includes/class-mime-types.php:74 msgid "Manage eXeLearning Files" msgstr "Gestionar archivos eXeLearning" #. translators: %s: number of files +#: includes/class-mime-types.php:76 #, php-format msgid "eXeLearning (%s)" msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "La verificación de seguridad falló. Por favor, recarga la página e inténtalo de nuevo." +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "No tienes permiso para instalar el editor." +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Ya hay una instalación en curso. Por favor, espera." #. translators: %s: editor version +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor de eXeLearning v%s instalado correctamente." #. translators: %s: error message +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "No se pudo conectar a GitHub: %s" #. translators: %d: HTTP status code +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "La API de GitHub devolvió el estado %d. Por favor, inténtalo más tarde." +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "No se pudo analizar la información de la última versión de GitHub." #. translators: %s: tag name +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Formato de etiqueta de versión inesperado: %s" #. translators: %s: error message +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Error al descargar el paquete del editor: %s" +#: includes/class-static-editor-installer.php:396 msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." msgstr "El paquete del editor descargado no superó la comprobación de integridad (SHA-256) y se descartó." +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "El archivo descargado no es un archivo ZIP válido." +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "No se pudo crear el directorio temporal para la extracción." #. translators: %s: error message +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Error al extraer el paquete del editor: %s" +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "El paquete descargado no contiene los archivos esperados del editor. No se encontró index.html." +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Al paquete del editor le falta index.html." +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Al paquete del editor le faltan los directorios de recursos esperados (app, libs o files)." +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "No se pudo crear el directorio dist." +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "No se pudo hacer copia de seguridad de la instalación actual del editor." +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Error al copiar los archivos del editor al directorio del plugin." +#: includes/class-style-package.php:67 msgid "The uploaded file is not a readable ZIP archive." msgstr "El archivo subido no es un archivo ZIP legible." +#: includes/class-style-package.php:85 msgid "config.xml could not be read from the archive." msgstr "No se pudo leer config.xml del archivo." +#: includes/class-style-package.php:108 msgid "Uploaded file is missing or unreadable." msgstr "El archivo subido no existe o no se puede leer." +#: includes/class-style-package.php:112 msgid "Uploaded file is empty." msgstr "El archivo subido está vacío." #. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 #, php-format msgid "Uploaded style exceeds the maximum allowed size of %s." msgstr "El estilo subido supera el tamaño máximo permitido de %s." +#: includes/class-style-package.php:125 msgid "The ZipArchive PHP extension is not available." msgstr "La extensión ZipArchive de PHP no está disponible." +#: includes/class-style-package.php:144 msgid "The ZIP archive contains unreadable entries." msgstr "El archivo ZIP contiene entradas ilegibles." #. translators: %s: offending entry name. +#: includes/class-style-package.php:153 #, php-format msgid "Rejected unsafe archive entry: %s" msgstr "Entrada no segura rechazada en el archivo: %s" +#: includes/class-style-package.php:166 msgid "The archive contains more than one config.xml." msgstr "El archivo contiene más de un config.xml." +#: includes/class-style-package.php:175 msgid "The style package is missing config.xml." msgstr "Al paquete de estilo le falta config.xml." +#: includes/class-style-package.php:203 msgid "The archive must contain a single root folder or place all files at the root." msgstr "El archivo debe contener una única carpeta raíz o tener todos los ficheros en la raíz." #. translators: %s: offending filename. +#: includes/class-style-package.php:211 #, php-format msgid "File type not allowed in style package: %s" msgstr "Tipo de archivo no permitido en el paquete de estilo: %s" +#: includes/class-style-package.php:232 msgid "Failed to reopen ZIP archive." msgstr "No se pudo reabrir el archivo ZIP." +#: includes/class-style-package.php:243 msgid "Refused unsafe archive entry during extraction." msgstr "Se rechazó una entrada no segura del archivo durante la extracción." +#: includes/class-style-package.php:290 msgid "Refused path traversal during extraction." msgstr "Se rechazó un intento de escape de ruta durante la extracción." +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 msgid "Failed to create a directory from the archive." msgstr "No se pudo crear un directorio del archivo." +#: includes/class-style-package.php:306 msgid "Failed to read a file from the archive." msgstr "No se pudo leer un archivo del archivo comprimido." +#: includes/class-style-package.php:310 msgid "Failed to write an extracted file." msgstr "No se pudo escribir un archivo extraído." +#: includes/class-style-package.php:396 msgid "config.xml is not valid XML." msgstr "config.xml no es XML válido." +#: includes/class-style-package.php:401 msgid "config.xml must declare a element." msgstr "config.xml debe declarar un elemento ." +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 msgid "Style not found." msgstr "Estilo no encontrado." +#: includes/class-styles-service.php:343 msgid "Failed to create style directory." msgstr "No se pudo crear el directorio del estilo." +#: includes/class-styles-service.php:357 msgid "The uploaded style does not contain any stylesheet." msgstr "El estilo subido no contiene ninguna hoja de estilos." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocesar archivo eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -524,6 +743,7 @@ msgstr[0] "%d archivo eXeLearning reprocesado." msgstr[1] "%d archivos eXeLearning reprocesados." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -531,119 +751,260 @@ msgstr[0] "%d elemento omitido (no es un archivo eXeLearning)." msgstr[1] "%d elementos omitidos (no son archivos eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "%d archivo no se pudo reprocesar." msgstr[1] "%d archivos no se pudieron reprocesar." +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Información de eXeLearning" +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "archivo fuente" +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportado" +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licencia:" +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Idioma:" +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipo:" +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Vista previa no disponible" +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Este es un archivo fuente de eXeLearning v2 (.elp). Para ver el contenido, ábrelo en eXeLearning y expórtalo como HTML." +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Vista previa en nueva pestaña" +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Procesar como eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Archivo eXeLearning (aún sin procesar)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Procesando…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Este archivo no se pudo procesar como eXeLearning." +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Vista previa del contenido eXeLearning" +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadatos de eXeLearning" +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Abrir en nueva pestaña" +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipo de recurso:" +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID de archivo eXeLearning no válido." +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Archivo eXeLearning no encontrado." +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Este es un archivo fuente que no puede previsualizarse directamente. Descárgalo para abrirlo con eXeLearning." +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descargar archivo fuente" +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Ver a pantalla completa" +#: public/views/elp-list.php:112 msgid "Select eXeLearning File" msgstr "Seleccionar archivo eXeLearning" +#: public/views/elp-list.php:113 msgid "Use this file" msgstr "Usar este archivo" +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Contenido eXeLearning" +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Sube o selecciona un archivo .elpx de tu biblioteca de medios" +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Subir archivo .elpx" +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca de medios" +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Altura (px)" +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostrar el conmutador de Modo Docente" +#: assets/js/elp-upload.js:425 msgid "Download options" msgstr "Opciones de descarga" +#: assets/js/elp-upload.js:427 msgid "Show download button" msgstr "Mostrar el botón de descarga" +#: assets/js/elp-upload.js:435 msgid "Available formats" msgstr "Formatos disponibles" +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Cambiar archivo" +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Eliminar" +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Este es un archivo fuente de eXeLearning v2. El contenido se mostrará en el frontend si hay HTML exportado disponible." +#: public/class-shortcodes.php:341 msgid "Load interactive content" msgstr "Cargar contenido interactivo" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Ayuda" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incrusta un paquete .elpx subido en cualquier lugar con el código corto [exelearning], referenciando el archivo por su ID de adjunto en la Biblioteca de medios." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Ejemplos de código corto" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributos" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atributo" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Por defecto" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descripción" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obligatorio. ID de adjunto del paquete .elpx en la Biblioteca de medios." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Altura de la previsualización, en píxeles." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Cuando se activa, el contenido se carga con el modo docente activo." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Si se muestra el botón para conmutar el modo docente." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Cuando se activa, muestra un botón de descarga multiformato." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "todos" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formatos separados por comas a ofrecer: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Muestra la captura de pantalla del paquete: no, poster (clic para cargar) u only (solo imagen). Requiere eXeLearning 4.0.1 o superior." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hooks para desarrolladores" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "La salida del código corto se puede personalizar con los filtros exelearning_shortcode_atts, exelearning_preview_url y exelearning_shortcode_output, entre otras acciones y filtros." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referencia completa del código corto" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referencia de hooks para desarrolladores" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Paquete IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" diff --git a/languages/exelearning-eu-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-eu-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..4a494e8 --- /dev/null +++ b/languages/exelearning-eu-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "eu", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Ezarpenak" + ], + "Edit in eXeLearning": [ + "Editatu eXeLearningen" + ], + "No preview available": [ + "Aurrebista ez dago eskuragarri" + ], + "eXeLearning Content": [ + "eXeLearning edukia" + ], + "Upload or select a .elpx file from your media library": [ + "Igo edo hautatu .elpx fitxategia zure multimedia liburutegitik" + ], + "Upload .elpx File": [ + "Igo .elpx fitxategia" + ], + "Media Library": [ + "Multimedia liburutegia" + ], + "Height (px)": [ + "Altuera (px)" + ], + "Change file": [ + "Aldatu fitxategia" + ], + "Remove": [ + "Kendu" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Hau eXeLearning v2 iturburu fitxategia da. Edukia frontend-ean bistaratuko da esportatutako HTML eskuragarri badago." + ], + "Show Teacher Mode toggler": [ + "Erakutsi Irakasle Moduaren txandakatzailea" + ], + "More download formats": [ + "Deskarga-formatu gehiago" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instalatu eXeLearning editorea pluginaren ezarpen-orritik formatu hau gaitzeko." + ], + "Download failed. Please try again.": [ + "Deskargak huts egin du. Saiatu berriro." + ], + "Download .elpx": [ + ".elpx deskargatu" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "IMS paketea (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Deskarga-aukerak" + ], + "Show download button": [ + "Erakutsi deskarga-botoia" + ], + "Available formats": [ + "Formatu erabilgarriak" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-eu.mo b/languages/exelearning-eu.mo index 56900e2..e64588e 100644 Binary files a/languages/exelearning-eu.mo and b/languages/exelearning-eu.mo differ diff --git a/languages/exelearning-eu.po b/languages/exelearning-eu.po index 1579125..00e4f0d 100644 --- a/languages/exelearning-eu.po +++ b/languages/exelearning-eu.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Ezarpenak" @@ -24,10 +24,13 @@ msgstr "Ezarpenak" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Ezabatu" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Izenburua" @@ -36,12 +39,11 @@ msgstr "Izenburua" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Egoera" msgid "Edit" msgstr "Editatu" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Errorea: eXeLearning edukia ez da aurkitu" @@ -77,32 +79,32 @@ msgstr "Errorea: eXeLearning edukia ez da aurkitu" msgid "Edit eXeLearning File" msgstr "Editatu eXeLearning fitxategia" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "eXeLearning edukiaren aurrebista" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "eXeLearning metadatuak" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Ireki fitxa berrian" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Lizentzia:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Hizkuntza:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Baliabide mota:" @@ -118,40 +120,41 @@ msgstr "Erabili fitxategi hau" msgid "Invalid nonce." msgstr "Nonce baliogabea." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Baimen nahikorik ez." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Errorea eXeLearning editorearen txantiloia kargatzean." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Txantiloi errorea" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Gordetzen..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "WordPressen behar bezala gorde da" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Gorde WordPressen" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Proiektua kargatzen..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Errorea" @@ -172,12 +175,12 @@ msgstr "Fitxategia ez da aurkitu." msgid "Access denied." msgstr "Sarbidea ukatua." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "eXeLearning eduki hau iturburu fitxategia da eta ezin da zuzenean aurreikusi." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Deskargatu fitxategia" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Ez duzu orrialde honetara sartzeko baimenik." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Ez da erantskinik zehaztu." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Fitxategi hau ez da eXeLearning fitxategia (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Ez duzu fitxategi hau editatzeko baimenik." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editatu eXeLearningen" @@ -222,47 +227,52 @@ msgstr "Editatu eXeLearningen" msgid "Close" msgstr "Itxi" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Ez duzu fitxategi hau irakurtzeko baimenik." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Ez da fitxategirik igo." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Fitxategia igotzeak huts egin du." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Fitxategia behar bezala sortu da." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "Eranskin ID baliogabea." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Jatorrizko fitxategia ez da aurkitu." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Hau ez da eXeLearning fitxategia (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Errorea fitxategia gordetzean." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Fitxategia behar bezala gorde da." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Errorea ateratako fitxategien direktorioa sortzean." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Aurrebista ez dago eskuragarri" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Hau eXeLearning v2 iturburu fitxategia da (.elp). Edukia ikusteko, ireki eXeLearningen eta esportatu HTML gisa." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "eXeLearning fitxategi ID baliogabea." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "eXeLearning fitxategia ez da aurkitu." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Hau iturburu fitxategia da eta ezin da zuzenean aurreikusi. Deskargatu eXeLearningekin irekitzeko." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Deskargatu iturburu fitxategia" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Ikusi pantaila osoan" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "eXeLearning informazioa" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Bertsioa:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Mota:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Aurrebista fitxa berrian" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "eXeLearning edukia" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Igo edo hautatu .elpx fitxategia zure multimedia liburutegitik" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Igo .elpx fitxategia" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Multimedia liburutegia" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Altuera (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Aldatu fitxategia" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Kendu" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Hau eXeLearning v2 iturburu fitxategia da. Edukia frontend-ean bistaratuko da esportatutako HTML eskuragarri badago." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "iturburu fitxategia" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "esportatua" @@ -376,11 +387,11 @@ msgstr "Fitxategi hau eXeLearningen bertsio zaharrago batekin sortu zen eta ez d msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "Fitxategia ez da baliozko eXeLearning fitxategia (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "Fitxategiaren kopia moztuta dagoela dirudi." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Erakutsi Irakasle Moduaren txandakatzailea" @@ -394,168 +405,172 @@ msgstr "Mesedez, itxaron fitxategia gordetzen den bitartean." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Gorde gabeko aldaketak dituzu. Ziur zaude itxi nahi duzula?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editorea txertatua" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "Editore txertatua beharrezkoa da eXeLearning fitxategiak editatzeko." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Mesedez, instalatu beheko botoia erabiliz." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Egoera:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalatuta" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalazio-data:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Eguneratu azken bertsiora" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Instalatu gabe" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "eXeLearning editore txertatua ez dago instalatuta. Azken bertsioa automatikoki deskargatu eta instalatu dezakezu GitHub-etik." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Deskargatu eta instalatu editorea" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Garatzaileek editorea iturburu-kodetik ere konpilatu dezakete %s erabiliz." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Saiatu berriro" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instalatzen..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Editorea deskargatzen eta instalatzen. Minutu bat behar izan dezake..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Ireki editorea" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "Instalazioak huts egin du." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Sare-errorea. Mesedez, egiaztatu konexioa eta saiatu berriro." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "Segurtasun-egiaztapenak huts egin du. Mesedez, freskatu orria eta saiatu berriro." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Ez duzu editorea instalatzeko baimenik." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Instalazio bat abian da dagoeneko. Mesedez, itxaron." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "eXeLearning editorea v%s ondo instalatu da." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Ezin izan da GitHub-era konektatu: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "GitHub APIak %d egoera itzuli du. Mesedez, saiatu geroago." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Ezin izan da GitHub-eko azken bertsioaren informazioa aztertu." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Bertsio-etiketa formatu ustekabea: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Errorea editorearen paketea deskargatzean: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "Deskargatutako fitxategia ez da ZIP artxibo baliogarria." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Ezin izan da aldi baterako direktorioa sortu erauzketarako." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Errorea editorearen paketea erauztean: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "Deskargatutako paketeak ez ditu editorearen espero ziren fitxategiak. Ezin izan da index.html aurkitu." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Editorearen paketeari index.html falta zaio." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Editorearen paketeari espero ziren baliabide-direktorioak falta zaizkio (app, libs edo files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Ezin izan da dist direktorioa sortu." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Ezin izan da editorearen uneko instalazioaren segurtasun-kopia egin." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Errorea editorearen fitxategiak pluginaren direktoriora kopiatzean." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Ezin izan da eXeLearning fitxategia diskoan aurkitu." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Birprozesatu eXeLearning fitxategia" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "eXeLearning fitxategi %d birprozesatu da." msgstr[1] "%d eXeLearning fitxategi birprozesatu dira." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "elementu %d saltatu da (ez da eXeLearning fitxategia)." msgstr[1] "%d elementu saltatu dira (ez dira eXeLearning fitxategiak)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "ezin izan da fitxategi %d birprozesatu." msgstr[1] "ezin izan dira %d fitxategi birprozesatu." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Prozesatu eXeLearning gisa" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "eXeLearning fitxategia (oraindik prozesatu gabe)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Prozesatzen…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Fitxategi hau ezin izan da eXeLearning gisa prozesatu." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Laguntza" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Txertatu igotako .elpx pakete bat edonon [exelearning] kode laburrarekin, fitxategia Multimedia Liburutegiko eranskin IDaren bidez aipatuz." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Kode laburraren adibideak" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributuak" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atributua" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Lehenetsia" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Deskribapena" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr ".elpx paketearen Multimedia Liburutegiko eranskin IDa. Beharrezkoa." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Aurrebistaren altuera, pixeletan." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Gaituta dagoenean, edukia irakasle modua aktibatuta kargatzen da." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Irakasle moduaren txandakatze-botoia erakusten den ala ez." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Gaituta dagoenean, formatu anitzeko deskarga-botoia erakusten du." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "guztiak" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Komaz bereizitako formatuak eskaintzeko: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Erakutsi paketearen pantaila-argazkia: no, poster (egin klik kargatzeko) edo only (irudia soilik). eXeLearning 4.0.1 edo berriagoa behar du." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Garatzaileentzako hook-ak" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "Kode laburraren irteera exelearning_shortcode_atts, exelearning_preview_url eta exelearning_shortcode_output iragazkiekin pertsonaliza daiteke, beste ekintza eta iragazki batzuen artean." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Kode laburraren erreferentzia osoa" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Garatzaileentzako hook-en erreferentzia" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Estiloak" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Igo eXeLearning estilo-paketeak eta kontrolatu txertatutako editoreak zein estilo erakusten dituen." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Inportazio-politika" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Erabiltzaileek inportatutako estiloak blokeatu" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Gaituta dagoenean, txertatutako editoreak «Erabiltzaile-estiloak» fitxa ezkutatzen du eta isilean uko egiten dio inportatutako .elpx proiektu batean sartutako estilo bat instalatzeari. Erabiltzaileek beheko administratzaileak onartutako zerrendatik bakarrik aukera dezakete. Honek eXeLearning ONLINE_THEMES_INSTALL=false portaera islatzen du." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Igo estilo berri bat" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Igo estiloa" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Fitxategiaren gehienezko tamaina: %s. config.xml baliodun bat duten .zip paketeak soilik onartzen dira." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Igotako estiloak" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Oraindik ez dago igotako estilorik." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Bertsioa" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Gaituta" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Ekintzak" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Estilo integratuak" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Estilo integratuak ez daude erabilgarri txertatutako editorea instalatuta ez dagoelako." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Desgaitutako estilo integratuak editoretik ezkutatzen dira. Igotako estiloak edozein unetan desgaitu edo ezaba daitezke. Falta den estilo bat aipatzen duten proiektuek editorearen estilo lehenetsia erabiltzen dute." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Igotzen…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Estiloa instalatu da." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Igoerak huts egin du." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Sare-errorea." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Eguneratzeak huts egin du." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Estilo hau ezabatu? Ekintza hau ezin da desegin." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Estiloa ezabatu da." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Ezabatzeak huts egin du." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "Igotako fitxategia ezin da atzitu." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Estiloaren IDa falta da." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Segurtasun-token baliogabea edo falta dena." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Deskarga-formatu gehiago" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instalatu eXeLearning editorea pluginaren ezarpen-orritik formatu hau gaitzeko." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Deskarga prestatzen…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "Deskargak huts egin du. Saiatu berriro." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr ".elpx deskargatu" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "IMS paketea" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Fitxategi honetarako beste gordetze bat abian dago jada. Saiatu berriro laster." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Ez da eranskina aurkitu." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "eXeLearning editore estatikoa ez dago instalatuta." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Ezin izan da editorearen txantiloia kargatu." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "Deskargatutako editore-paketeak osotasun-egiaztapena (SHA-256) gainditu ez eta baztertu egin da." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "Igotako fitxategia ez da ZIP artxibo irakurgarri bat." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "Ezin izan da config.xml artxibotik irakurri." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "Igotako fitxategia falta da edo ezin da irakurri." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "Igotako fitxategia hutsik dago." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "Igotako estiloak gainditu egiten du gehienez onartzen den %s tamaina." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "PHPren ZipArchive luzapena ez dago erabilgarri." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "ZIP artxiboak irakurri ezin diren sarrerak ditu." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Artxibo-sarrera ez segurua baztertu da: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "Artxiboak config.xml bat baino gehiago ditu." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Estilo-paketeari config.xml falta zaio." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "Artxiboak erro-karpeta bakar bat izan behar du edo fitxategi guztiak erroan jarri." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Estilo-paketean onartzen ez den fitxategi mota: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Ezin izan da ZIP artxiboa berriro ireki." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Erauzketa garaian artxibo-sarrera ez segurua baztertu da." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Erauzketa garaian bide-zeharkatzea baztertu da." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Ezin izan da artxibotik direktorio bat sortu." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Ezin izan da artxibotik fitxategi bat irakurri." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Ezin izan da erauzitako fitxategi bat idatzi." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml ez da baliozko XML." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml-ek elementu bat deklaratu behar du." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Ez da estiloa aurkitu." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Ezin izan da estiloaren direktorioa sortu." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "Igotako estiloak ez du estilo-orririk." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Kargatu eduki interaktiboa" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "IMS paketea (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Deskarga-aukerak" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Erakutsi deskarga-botoia" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formatu erabilgarriak" diff --git a/languages/exelearning-gl_ES-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-gl_ES-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..bd8a632 --- /dev/null +++ b/languages/exelearning-gl_ES-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "gl_ES", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Axustes" + ], + "Edit in eXeLearning": [ + "Editar en eXeLearning" + ], + "No preview available": [ + "Vista previa non dispo\u00f1ible" + ], + "eXeLearning Content": [ + "Contido eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Sube ou selecciona un ficheiro .elpx da t\u00faa biblioteca de medios" + ], + "Upload .elpx File": [ + "Subir ficheiro .elpx" + ], + "Media Library": [ + "Biblioteca de medios" + ], + "Height (px)": [ + "Altura (px)" + ], + "Change file": [ + "Cambiar ficheiro" + ], + "Remove": [ + "Eliminar" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Este \u00e9 un ficheiro fonte de eXeLearning v2. O contido mostrarase no frontend se hai HTML exportado dispo\u00f1ible." + ], + "Show Teacher Mode toggler": [ + "Mostrar o conmutador de Modo Profesor" + ], + "More download formats": [ + "M\u00e1is formatos de descarga" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instala o editor de eXeLearning desde a p\u00e1xina de configuraci\u00f3n do complemento para habilitar este formato." + ], + "Download failed. Please try again.": [ + "A descarga fallou. T\u00e9ntao de novo." + ], + "Download .elpx": [ + "Descargar .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Paquete IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Opci\u00f3ns de descarga" + ], + "Show download button": [ + "Amosar o bot\u00f3n de descarga" + ], + "Available formats": [ + "Formatos dispo\u00f1ibles" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-gl_ES.mo b/languages/exelearning-gl_ES.mo index e556980..14a9852 100644 Binary files a/languages/exelearning-gl_ES.mo and b/languages/exelearning-gl_ES.mo differ diff --git a/languages/exelearning-gl_ES.po b/languages/exelearning-gl_ES.po index 2664121..812cb16 100644 --- a/languages/exelearning-gl_ES.po +++ b/languages/exelearning-gl_ES.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Axustes" @@ -24,10 +24,13 @@ msgstr "Axustes" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Eliminar" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Título" @@ -36,12 +39,11 @@ msgstr "Título" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Estado" msgid "Edit" msgstr "Editar" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Erro: contido de eXeLearning non atopado" @@ -77,32 +79,32 @@ msgstr "Erro: contido de eXeLearning non atopado" msgid "Edit eXeLearning File" msgstr "Editar ficheiro eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Vista previa do contido eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadatos de eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Abrir nunha nova pestana" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licenza:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Idioma:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipo de recurso:" @@ -118,40 +120,41 @@ msgstr "Usar este ficheiro" msgid "Invalid nonce." msgstr "Nonce non válido." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permisos insuficientes." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Erro ao cargar o modelo do editor de eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Erro de modelo" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Gardando..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Gardado en WordPress correctamente" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Gardar en WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Cargando proxecto..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Erro" @@ -172,12 +175,12 @@ msgstr "Ficheiro non atopado." msgid "Access denied." msgstr "Acceso denegado." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Este contido de eXeLearning é un ficheiro fonte e non se pode previsualizar directamente." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descargar ficheiro" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Non tes permiso para acceder a esta páxina." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Non se especificou ningún adxunto." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Este ficheiro non é un ficheiro eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Non tes permiso para editar este ficheiro." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editar en eXeLearning" @@ -222,47 +227,52 @@ msgstr "Editar en eXeLearning" msgid "Close" msgstr "Pechar" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Non tes permiso para ler este ficheiro." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Non se subiu ningún ficheiro." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Erro ao subir o ficheiro." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Ficheiro creado correctamente." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID de adxunto non válido." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Ficheiro orixinal non atopado." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Este non é un ficheiro eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Erro ao gardar o ficheiro." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Ficheiro gardado correctamente." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Erro ao crear o directorio para os ficheiros extraídos." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Vista previa non dispoñible" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Este é un ficheiro fonte de eXeLearning v2 (.elp). Para ver o contido, ábreo en eXeLearning e expórtao como HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID de ficheiro eXeLearning non válido." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Ficheiro eXeLearning non atopado." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Este é un ficheiro fonte que non se pode previsualizar directamente. Descárgao para abrilo con eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descargar ficheiro fonte" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Ver a pantalla completa" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Información de eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versión:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipo:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Vista previa nunha nova pestana" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Contido eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Sube ou selecciona un ficheiro .elpx da túa biblioteca de medios" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Subir ficheiro .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca de medios" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Altura (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Cambiar ficheiro" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Eliminar" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Este é un ficheiro fonte de eXeLearning v2. O contido mostrarase no frontend se hai HTML exportado dispoñible." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "ficheiro fonte" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportado" @@ -376,11 +387,11 @@ msgstr "Este ficheiro foi creado cunha versión anterior de eXeLearning e non é msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "O ficheiro non é un ficheiro válido de eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "A copia do ficheiro parece estar truncada." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostrar o conmutador de Modo Profesor" @@ -394,168 +405,172 @@ msgstr "Por favor, agarde mentres se garda o ficheiro." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Ten cambios sen gardar. Está seguro de que desexa pechar?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrado" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "O editor integrado é necesario para editar ficheiros eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Por favor, instáleo usando o botón de abaixo." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Estado:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalado" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalado o:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Actualizar á última versión" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Non instalado" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "O editor integrado de eXeLearning non está instalado. Podes descargar e instalar a última versión automaticamente dende GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descargar e instalar o editor" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Os desenvolvedores tamén poden compilar o editor dende o código fonte usando %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Tentar de novo" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Instalando..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Descargando e instalando o editor. Isto pode levar un minuto..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Abrir editor" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "A instalación fallou." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Erro de rede. Por favor, comproba a túa conexión e téntao de novo." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "A verificación de seguridade fallou. Por favor, recarga a páxina e téntao de novo." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Non tes permiso para instalar o editor." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Xa hai unha instalación en curso. Por favor, agarda." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor de eXeLearning v%s instalado correctamente." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Non se puido conectar a GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "A API de GitHub devolveu o estado %d. Por favor, téntao máis tarde." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Non se puido analizar a información da última versión de GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Formato de etiqueta de versión inesperado: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Erro ao descargar o paquete do editor: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "O ficheiro descargado non é un arquivo ZIP válido." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Non se puido crear o directorio temporal para a extracción." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Erro ao extraer o paquete do editor: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "O paquete descargado non contén os ficheiros esperados do editor. Non se atopou index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Ao paquete do editor fáltalle index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Ao paquete do editor fáltanlle os directorios de recursos esperados (app, libs ou files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Non se puido crear o directorio dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Non se puido facer copia de seguridade da instalación actual do editor." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Erro ao copiar os ficheiros do editor ao directorio do complemento." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Non se atopou o ficheiro eXeLearning no disco." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocesar o ficheiro eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d ficheiro eXeLearning reprocesado." msgstr[1] "%d ficheiros eXeLearning reprocesados." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d elemento omitido (non é un ficheiro eXeLearning)." msgstr[1] "%d elementos omitidos (non son ficheiros eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "Non se puido reprocesar %d ficheiro." msgstr[1] "Non se puideron reprocesar %d ficheiros." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Procesar como eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Ficheiro eXeLearning (aínda sen procesar)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Procesando…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Non se puido procesar este ficheiro como eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Axuda" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incorpora en calquera lugar un paquete .elpx subido co código curto [exelearning], referenciando o ficheiro polo seu ID de anexo na Biblioteca multimedia." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Exemplos de código curto" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributos" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atributo" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Predeterminado" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descrición" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obrigatorio. ID de anexo do paquete .elpx na Biblioteca multimedia." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Altura da vista previa, en píxeles." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Cando se activa, o contido cárgase co modo docente activo." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Se se amosa o botón para conmutar o modo docente." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Cando se activa, amosa un botón de descarga multiformato." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "todos" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formatos separados por comas a ofrecer: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Amosar a captura de pantalla do paquete: no, poster (preme para cargar) ou only (só imaxe). Require eXeLearning 4.0.1 ou superior." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hooks para desenvolvedores" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "A saída do código curto pode personalizarse cos filtros exelearning_shortcode_atts, exelearning_preview_url e exelearning_shortcode_output, entre outras accións e filtros." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referencia completa do código curto" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referencia dos hooks para programadores" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Estilos" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Sube paquetes de estilos de eXeLearning e controla que estilos amosa o editor incrustado." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Política de importación" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Bloquear os estilos importados por usuarios" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Cando se activa, o editor incrustado agocha a pestana «Estilos de usuario» e négase silenciosamente a instalar un estilo incluído nun proxecto .elpx importado. Os usuarios só poden escoller da lista aprobada polo administrador de embaixo. Isto reproduce o comportamento eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Subir un novo estilo" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Subir estilo" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Tamaño máximo do ficheiro: %s. Só se aceptan paquetes .zip que conteñan un config.xml válido." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Estilos subidos" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Aínda non hai estilos subidos." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versión" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Habilitado" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Accións" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Estilos integrados" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Os estilos integrados non están dispoñibles porque o editor incrustado non está instalado." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Os estilos integrados desactivados agóchanse do editor. Os estilos subidos pódense desactivar ou eliminar en calquera momento. Os proxectos existentes que referencian un estilo que falta usan o estilo predeterminado do editor." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Subindo…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Estilo instalado." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Produciuse un erro ao subir." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Erro de rede." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Produciuse un erro ao actualizar." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Eliminar este estilo? Esta acción non se pode desfacer." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Estilo eliminado." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Produciuse un erro ao eliminar." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "Non se pode acceder ao ficheiro subido." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Falta o identificador do estilo." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Testemuño de seguranza non válido ou ausente." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Máis formatos de descarga" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instala o editor de eXeLearning desde a páxina de configuración do complemento para habilitar este formato." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Preparando a descarga…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "A descarga fallou. Téntao de novo." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Descargar .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Paquete IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Xa hai un gardado en curso para este ficheiro. Téntao de novo dentro dun momento." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Non se atopou o anexo." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "O editor estático de eXeLearning non está instalado." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Non se puido cargar o modelo do editor." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "O paquete do editor descargado non superou a comprobación de integridade (SHA-256) e descartouse." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "O ficheiro subido non é un arquivo ZIP lexible." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "Non se puido ler config.xml do arquivo." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "O ficheiro subido falta ou non se pode ler." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "O ficheiro subido está baleiro." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "O estilo subido supera o tamaño máximo permitido de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "A extensión ZipArchive de PHP non está dispoñible." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "O arquivo ZIP contén entradas ilexibles." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Rexeitouse unha entrada de arquivo insegura: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "O arquivo contén máis dun config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Ao paquete de estilo fáltalle config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "O arquivo debe conter unha única carpeta raíz ou situar todos os ficheiros na raíz." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tipo de ficheiro non permitido no paquete de estilo: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Non se puido reabrir o arquivo ZIP." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Rexeitouse unha entrada de arquivo insegura durante a extracción." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Rexeitouse un salto de ruta durante a extracción." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Non se puido crear un directorio do arquivo." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Non se puido ler un ficheiro do arquivo." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Non se puido escribir un ficheiro extraído." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml non é XML válido." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml debe declarar un elemento ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Non se atopou o estilo." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Non se puido crear o directorio do estilo." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "O estilo subido non contén ningunha folla de estilo." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Cargar contido interactivo" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Paquete IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opcións de descarga" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Amosar o botón de descarga" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formatos dispoñibles" diff --git a/languages/exelearning-it_IT-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-it_IT-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..24c74bb --- /dev/null +++ b/languages/exelearning-it_IT-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "it_IT", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Impostazioni" + ], + "Edit in eXeLearning": [ + "Modifica in eXeLearning" + ], + "No preview available": [ + "Nessuna anteprima disponibile" + ], + "eXeLearning Content": [ + "Contenuto eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Carica o seleziona un file .elpx dalla tua libreria multimediale" + ], + "Upload .elpx File": [ + "Carica file .elpx" + ], + "Media Library": [ + "Libreria multimediale" + ], + "Height (px)": [ + "Altezza (px)" + ], + "Change file": [ + "Cambia file" + ], + "Remove": [ + "Rimuovi" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Questo \u00e8 un file sorgente eXeLearning v2. Il contenuto sar\u00e0 visualizzato nel frontend se \u00e8 disponibile l'HTML esportato." + ], + "Show Teacher Mode toggler": [ + "Mostra il commutatore Modalit\u00e0 Docente" + ], + "More download formats": [ + "Altri formati di download" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Installa l'editor eXeLearning dalla pagina delle impostazioni del plugin per abilitare questo formato." + ], + "Download failed. Please try again.": [ + "Download non riuscito. Riprova." + ], + "Download .elpx": [ + "Scarica .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Pacchetto IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Opzioni di download" + ], + "Show download button": [ + "Mostra il pulsante di download" + ], + "Available formats": [ + "Formati disponibili" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-it_IT.mo b/languages/exelearning-it_IT.mo index 00d8e55..39f673d 100644 Binary files a/languages/exelearning-it_IT.mo and b/languages/exelearning-it_IT.mo differ diff --git a/languages/exelearning-it_IT.po b/languages/exelearning-it_IT.po index 091adf1..e03b310 100644 --- a/languages/exelearning-it_IT.po +++ b/languages/exelearning-it_IT.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Impostazioni" @@ -24,10 +24,13 @@ msgstr "Impostazioni" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Elimina" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Titolo" @@ -36,12 +39,11 @@ msgstr "Titolo" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Stato" msgid "Edit" msgstr "Modifica" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Errore: contenuto eXeLearning non trovato" @@ -77,32 +79,32 @@ msgstr "Errore: contenuto eXeLearning non trovato" msgid "Edit eXeLearning File" msgstr "Modifica file eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Anteprima del contenuto eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadati di eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Apri in una nuova scheda" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licenza:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Lingua:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipo di risorsa:" @@ -118,40 +120,41 @@ msgstr "Usa questo file" msgid "Invalid nonce." msgstr "Nonce non valido." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permessi insufficienti." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Errore nel caricamento del modello dell'editor eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Errore del modello" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Salvataggio in corso..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Salvato in WordPress con successo" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Salva in WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Caricamento progetto..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Errore" @@ -172,12 +175,12 @@ msgstr "File non trovato." msgid "Access denied." msgstr "Accesso negato." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Questo contenuto eXeLearning è un file sorgente e non può essere visualizzato in anteprima direttamente." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Scarica file" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Non hai il permesso di accedere a questa pagina." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Nessun allegato specificato." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Questo file non è un file eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Non hai il permesso di modificare questo file." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Modifica in eXeLearning" @@ -222,47 +227,52 @@ msgstr "Modifica in eXeLearning" msgid "Close" msgstr "Chiudi" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Non hai il permesso di leggere questo file." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Nessun file caricato." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Caricamento file fallito." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "File creato con successo." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID allegato non valido." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "File originale non trovato." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Questo non è un file eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Errore nel salvataggio del file." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "File salvato con successo." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Errore nella creazione della directory per i file estratti." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Nessuna anteprima disponibile" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Questo è un file sorgente eXeLearning v2 (.elp). Per visualizzare il contenuto, aprilo in eXeLearning ed esportalo come HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID file eXeLearning non valido." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "File eXeLearning non trovato." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Questo è un file sorgente che non può essere visualizzato in anteprima direttamente. Scaricalo per aprirlo con eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Scarica file sorgente" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Visualizza a schermo intero" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informazioni eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versione:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipo:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Anteprima in una nuova scheda" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Contenuto eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Carica o seleziona un file .elpx dalla tua libreria multimediale" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Carica file .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Libreria multimediale" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Altezza (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Cambia file" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Rimuovi" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Questo è un file sorgente eXeLearning v2. Il contenuto sarà visualizzato nel frontend se è disponibile l'HTML esportato." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "file sorgente" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "esportato" @@ -376,11 +387,11 @@ msgstr "Questo file è stato creato con una versione precedente di eXeLearning e msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "Il file non è un file eXeLearning valido (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "La copia del file sembra essere troncata." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostra il commutatore Modalità Docente" @@ -394,168 +405,172 @@ msgstr "Attendere prego, il file è in fase di salvataggio." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Hai modifiche non salvate. Sei sicuro di voler chiudere?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrato" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "L'editor integrato è necessario per modificare i file eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Installalo utilizzando il pulsante qui sotto." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Stato:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Installato" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Installato il:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Aggiorna all'ultima versione" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Non installato" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "L'editor integrato di eXeLearning non è installato. Puoi scaricare e installare l'ultima versione automaticamente da GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Scarica e installa l'editor" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Gli sviluppatori possono anche compilare l'editor dal codice sorgente usando %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Riprova" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Installazione in corso..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Download e installazione dell'editor in corso. Potrebbe richiedere un minuto..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Apri editor" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "Installazione fallita." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Errore di rete. Controlla la connessione e riprova." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "Verifica di sicurezza fallita. Ricarica la pagina e riprova." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Non hai i permessi per installare l'editor." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Un'installazione è già in corso. Attendi." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor di eXeLearning v%s installato con successo." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Impossibile connettersi a GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "L'API di GitHub ha restituito lo stato %d. Riprova più tardi." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Impossibile analizzare le informazioni dell'ultima versione da GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Formato del tag di rilascio imprevisto: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Errore durante il download del pacchetto dell'editor: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "Il file scaricato non è un archivio ZIP valido." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Impossibile creare la directory temporanea per l'estrazione." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Errore durante l'estrazione del pacchetto dell'editor: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "Il pacchetto scaricato non contiene i file previsti dell'editor. Impossibile trovare index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Nel pacchetto dell'editor manca index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Nel pacchetto dell'editor mancano le directory di risorse previste (app, libs o files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Impossibile creare la directory dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Impossibile effettuare il backup dell'installazione attuale dell'editor." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Errore durante la copia dei file dell'editor nella directory del plugin." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Impossibile trovare il file eXeLearning sul disco." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Rielabora file eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d file eXeLearning rielaborato." msgstr[1] "%d file eXeLearning rielaborati." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d elemento ignorato (non è un file eXeLearning)." msgstr[1] "%d elementi ignorati (non sono file eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "Impossibile rielaborare %d file." msgstr[1] "Impossibile rielaborare %d file." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Elabora come eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "File eXeLearning (non ancora elaborato)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Elaborazione…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Impossibile elaborare questo file come eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Aiuto" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incorpora ovunque un pacchetto .elpx caricato con lo shortcode [exelearning], facendo riferimento al file tramite il suo ID allegato nella Libreria media." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Esempi di shortcode" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Attributi" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Attributo" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Predefinito" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descrizione" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obbligatorio. ID allegato del pacchetto .elpx nella Libreria media." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Altezza dell'anteprima, in pixel." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Se attivato, il contenuto viene caricato con la modalità docente attiva." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Indica se viene mostrato il pulsante di attivazione della modalità docente." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Se attivato, mostra un pulsante di download multiformato." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "tutti" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formati separati da virgole da offrire: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Mostra lo screenshot del pacchetto: no, poster (clic per caricare) o only (solo immagine). Richiede eXeLearning 4.0.1 o successivo." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hook per sviluppatori" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "L'output dello shortcode può essere personalizzato con i filtri exelearning_shortcode_atts, exelearning_preview_url ed exelearning_shortcode_output, tra le altre azioni e filtri." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Riferimento completo dello shortcode" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Riferimento dei hook per sviluppatori" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Stili" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Carica pacchetti di stile eXeLearning e controlla quali stili espone l'editor incorporato." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Criteri di importazione" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Blocca gli stili importati dagli utenti" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Se attivato, l'editor incorporato nasconde la scheda «Stili utente» e rifiuta silenziosamente di installare uno stile incluso in un progetto .elpx importato. Gli utenti possono scegliere solo dall'elenco approvato dall'amministratore qui sotto. Ciò rispecchia il comportamento di eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Carica un nuovo stile" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Carica stile" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Dimensione massima del file: %s. Sono accettati solo pacchetti .zip contenenti un config.xml valido." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Stili caricati" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Nessuno stile caricato." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "ID" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versione" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Abilitato" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Azioni" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Stili integrati" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Gli stili integrati non sono disponibili perché l'editor incorporato non è installato." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Gli stili integrati disabilitati sono nascosti nell'editor. Gli stili caricati possono essere disabilitati o eliminati in qualsiasi momento. I progetti esistenti che fanno riferimento a uno stile mancante usano lo stile predefinito dell'editor." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Caricamento…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Stile installato." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Caricamento non riuscito." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Errore di rete." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Aggiornamento non riuscito." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Eliminare questo stile? Questa operazione non può essere annullata." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Stile eliminato." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Eliminazione non riuscita." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "Il file caricato non è accessibile." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "ID dello stile mancante." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Token di sicurezza non valido o mancante." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Altri formati di download" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Installa l'editor eXeLearning dalla pagina delle impostazioni del plugin per abilitare questo formato." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Preparazione del download…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "Download non riuscito. Riprova." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Scarica .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Pacchetto IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "È già in corso un altro salvataggio per questo file. Riprova tra poco." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Allegato non trovato." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "Editor statico eXeLearning non installato." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Impossibile caricare il modello dell'editor." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "Il pacchetto dell'editor scaricato non ha superato il controllo di integrità (SHA-256) ed è stato scartato." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "Il file caricato non è un archivio ZIP leggibile." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "Impossibile leggere config.xml dall'archivio." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "Il file caricato è mancante o illeggibile." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "Il file caricato è vuoto." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "Lo stile caricato supera la dimensione massima consentita di %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "L'estensione PHP ZipArchive non è disponibile." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "L'archivio ZIP contiene voci illeggibili." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Voce di archivio non sicura rifiutata: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "L'archivio contiene più di un config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Nel pacchetto di stile manca config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "L'archivio deve contenere un'unica cartella radice o collocare tutti i file nella radice." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tipo di file non consentito nel pacchetto di stile: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Impossibile riaprire l'archivio ZIP." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Voce di archivio non sicura rifiutata durante l'estrazione." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Attraversamento di percorso rifiutato durante l'estrazione." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Impossibile creare una directory dall'archivio." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Impossibile leggere un file dall'archivio." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Impossibile scrivere un file estratto." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml non è XML valido." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml deve dichiarare un elemento ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Stile non trovato." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Impossibile creare la directory dello stile." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "Lo stile caricato non contiene alcun foglio di stile." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Carica contenuto interattivo" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Pacchetto IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opzioni di download" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Mostra il pulsante di download" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formati disponibili" diff --git a/languages/exelearning-pt_PT-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-pt_PT-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..b6965fd --- /dev/null +++ b/languages/exelearning-pt_PT-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "pt_PT", + "plural-forms": "nplurals=2; plural=(n != 1);" + }, + "Settings": [ + "Defini\u00e7\u00f5es" + ], + "Edit in eXeLearning": [ + "Editar no eXeLearning" + ], + "No preview available": [ + "Pr\u00e9-visualiza\u00e7\u00e3o n\u00e3o dispon\u00edvel" + ], + "eXeLearning Content": [ + "Conte\u00fado eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "Carregue ou selecione um ficheiro .elpx da sua biblioteca multim\u00e9dia" + ], + "Upload .elpx File": [ + "Carregar ficheiro .elpx" + ], + "Media Library": [ + "Biblioteca multim\u00e9dia" + ], + "Height (px)": [ + "Altura (px)" + ], + "Change file": [ + "Alterar ficheiro" + ], + "Remove": [ + "Remover" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Este \u00e9 um ficheiro fonte eXeLearning v2. O conte\u00fado ser\u00e1 apresentado no frontend se houver HTML exportado dispon\u00edvel." + ], + "Show Teacher Mode toggler": [ + "Mostrar o comutador do Modo Professor" + ], + "More download formats": [ + "Mais formatos de transfer\u00eancia" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instale o editor eXeLearning na p\u00e1gina de defini\u00e7\u00f5es do plugin para ativar este formato." + ], + "Download failed. Please try again.": [ + "A transfer\u00eancia falhou. Tente novamente." + ], + "Download .elpx": [ + "Transferir .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Pacote IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Op\u00e7\u00f5es de transfer\u00eancia" + ], + "Show download button": [ + "Mostrar o bot\u00e3o de transfer\u00eancia" + ], + "Available formats": [ + "Formatos dispon\u00edveis" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-pt_PT.mo b/languages/exelearning-pt_PT.mo index f8018f3..81cb13e 100644 Binary files a/languages/exelearning-pt_PT.mo and b/languages/exelearning-pt_PT.mo differ diff --git a/languages/exelearning-pt_PT.po b/languages/exelearning-pt_PT.po index 2dd74ef..e932a62 100644 --- a/languages/exelearning-pt_PT.po +++ b/languages/exelearning-pt_PT.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Definições" @@ -24,10 +24,13 @@ msgstr "Definições" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Eliminar" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Título" @@ -36,12 +39,11 @@ msgstr "Título" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Estado" msgid "Edit" msgstr "Editar" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Erro: conteúdo eXeLearning não encontrado" @@ -77,32 +79,32 @@ msgstr "Erro: conteúdo eXeLearning não encontrado" msgid "Edit eXeLearning File" msgstr "Editar ficheiro eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Pré-visualização do conteúdo eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadados do eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Abrir num novo separador" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licença:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Idioma:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tipo de recurso:" @@ -118,40 +120,41 @@ msgstr "Usar este ficheiro" msgid "Invalid nonce." msgstr "Nonce inválido." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permissões insuficientes." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Erro ao carregar o modelo do editor eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Erro de modelo" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "A guardar..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Guardado no WordPress com sucesso" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Guardar no WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "A carregar projeto..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Erro" @@ -172,12 +175,12 @@ msgstr "Ficheiro não encontrado." msgid "Access denied." msgstr "Acesso negado." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Este conteúdo eXeLearning é um ficheiro fonte e não pode ser pré-visualizado diretamente." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descarregar ficheiro" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Não tem permissão para aceder a esta página." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Nenhum anexo especificado." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Este ficheiro não é um ficheiro eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Não tem permissão para editar este ficheiro." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editar no eXeLearning" @@ -222,47 +227,52 @@ msgstr "Editar no eXeLearning" msgid "Close" msgstr "Fechar" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Não tem permissão para ler este ficheiro." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Nenhum ficheiro carregado." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Erro ao carregar o ficheiro." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Ficheiro criado com sucesso." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID de anexo inválido." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Ficheiro original não encontrado." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Este não é um ficheiro eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Erro ao guardar o ficheiro." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Ficheiro guardado com sucesso." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Erro ao criar o diretório para os ficheiros extraídos." @@ -278,93 +288,94 @@ msgid_plural "eXeLearning (%s)" msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Pré-visualização não disponível" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Este é um ficheiro fonte eXeLearning v2 (.elp). Para ver o conteúdo, abra-o no eXeLearning e exporte-o como HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID de ficheiro eXeLearning inválido." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Ficheiro eXeLearning não encontrado." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Este é um ficheiro fonte que não pode ser pré-visualizado diretamente. Descarregue-o para abrir com o eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descarregar ficheiro fonte" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Ver em ecrã inteiro" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informações do eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versão:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tipo:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Pré-visualizar num novo separador" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Conteúdo eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Carregue ou selecione um ficheiro .elpx da sua biblioteca multimédia" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Carregar ficheiro .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca multimédia" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Altura (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Alterar ficheiro" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Remover" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Este é um ficheiro fonte eXeLearning v2. O conteúdo será apresentado no frontend se houver HTML exportado disponível." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "ficheiro fonte" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportado" @@ -376,11 +387,11 @@ msgstr "Este ficheiro foi criado com uma versão anterior do eXeLearning e não msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "O ficheiro não é um ficheiro eXeLearning válido (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "A cópia do ficheiro parece estar truncada." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Mostrar o comutador do Modo Professor" @@ -394,168 +405,172 @@ msgstr "Por favor, aguarde enquanto o ficheiro está a ser guardado." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Tem alterações não guardadas. Tem a certeza de que pretende fechar?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrado" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "O editor integrado é necessário para editar ficheiros eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Por favor, instale-o usando o botão abaixo." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Estado:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalado" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalado em:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Atualizar para a última versão" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Não instalado" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "O editor integrado do eXeLearning não está instalado. Pode descarregar e instalar a última versão automaticamente a partir do GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descarregar e instalar o editor" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Os programadores também podem compilar o editor a partir do código-fonte usando %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Tentar novamente" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "A instalar..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "A descarregar e instalar o editor. Isto pode demorar um minuto..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Abrir editor" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "A instalação falhou." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Erro de rede. Por favor, verifique a sua ligação e tente novamente." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "A verificação de segurança falhou. Por favor, recarregue a página e tente novamente." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Não tem permissão para instalar o editor." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "Já existe uma instalação em curso. Por favor, aguarde." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editor do eXeLearning v%s instalado com sucesso." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Não foi possível ligar ao GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "A API do GitHub devolveu o estado %d. Por favor, tente mais tarde." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Não foi possível analisar a informação da última versão do GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Formato de etiqueta de versão inesperado: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Falha ao descarregar o pacote do editor: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "O ficheiro descarregado não é um arquivo ZIP válido." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Não foi possível criar o diretório temporário para extração." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Falha ao extrair o pacote do editor: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "O pacote descarregado não contém os ficheiros esperados do editor. Não foi possível encontrar index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "O pacote do editor não contém index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "O pacote do editor não contém os diretórios de recursos esperados (app, libs ou files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Não foi possível criar o diretório dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Não foi possível fazer cópia de segurança da instalação atual do editor." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Falha ao copiar os ficheiros do editor para o diretório do plugin." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Não foi possível encontrar o ficheiro eXeLearning no disco." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocessar ficheiro eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -563,6 +578,7 @@ msgstr[0] "%d ficheiro eXeLearning reprocessado." msgstr[1] "%d ficheiros eXeLearning reprocessados." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -570,20 +586,425 @@ msgstr[0] "%d item ignorado (não é um ficheiro eXeLearning)." msgstr[1] "%d itens ignorados (não são ficheiros eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "Não foi possível reprocessar %d ficheiro." msgstr[1] "Não foi possível reprocessar %d ficheiros." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Processar como eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Ficheiro eXeLearning (ainda não processado)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "A processar…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Não foi possível processar este ficheiro como eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Ajuda" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Incorpore um pacote .elpx carregado em qualquer lugar com o shortcode [exelearning], referenciando o ficheiro pelo seu ID de anexo na Biblioteca de Média." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Exemplos de shortcode" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atributos" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atributo" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Predefinido" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descrição" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obrigatório. ID de anexo do pacote .elpx na Biblioteca de Média." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Altura da pré-visualização, em pixels." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Quando ativado, o conteúdo carrega com o modo professor ativo." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Define se o botão de alternância do modo professor é mostrado." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Quando ativado, mostra um botão de transferência multiformato." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "todos" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formatos separados por vírgulas a oferecer: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Mostrar a captura de ecrã do pacote: no, poster (clique para carregar) ou only (apenas imagem). Requer eXeLearning 4.0.1 ou superior." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hooks para programadores" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "A saída do shortcode pode ser personalizada com os filtros exelearning_shortcode_atts, exelearning_preview_url e exelearning_shortcode_output, entre outras ações e filtros." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referência completa do shortcode" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referência dos hooks para programadores" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Estilos" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Carregue pacotes de estilo eXeLearning e controle quais estilos o editor incorporado expõe." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Política de importação" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Bloquear estilos importados por utilizadores" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Quando ativado, o editor incorporado oculta o separador «Estilos de utilizador» e recusa silenciosamente instalar um estilo incluído num projeto .elpx importado. Os utilizadores só podem escolher na lista aprovada pelo administrador abaixo. Isto reproduz o comportamento eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Carregar um novo estilo" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Carregar estilo" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Tamanho máximo do ficheiro: %s. Apenas são aceites pacotes .zip que contenham um config.xml válido." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Estilos carregados" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Ainda não há estilos carregados." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "ID" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versão" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Ativado" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Ações" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Estilos incorporados" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Os estilos incorporados não estão disponíveis porque o editor incorporado não está instalado." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Os estilos incorporados desativados ficam ocultos no editor. Os estilos carregados podem ser desativados ou eliminados a qualquer momento. Os projetos existentes que referenciam um estilo em falta usam o estilo predefinido do editor." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "A carregar…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Estilo instalado." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Falha no carregamento." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Erro de rede." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Falha na atualização." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Eliminar este estilo? Esta ação não pode ser desfeita." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Estilo eliminado." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Falha ao eliminar." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "O ficheiro carregado não está acessível." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "ID de estilo em falta." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Token de segurança inválido ou em falta." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Mais formatos de transferência" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instale o editor eXeLearning na página de definições do plugin para ativar este formato." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "A preparar a transferência…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "A transferência falhou. Tente novamente." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Transferir .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Pacote IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Já está em curso outra gravação para este ficheiro. Tente novamente daqui a pouco." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Anexo não encontrado." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "Editor estático eXeLearning não instalado." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Falha ao carregar o modelo do editor." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "O pacote do editor transferido falhou na verificação de integridade (SHA-256) e foi descartado." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "O ficheiro carregado não é um arquivo ZIP legível." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "Não foi possível ler config.xml do arquivo." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "O ficheiro carregado está em falta ou ilegível." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "O ficheiro carregado está vazio." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "O estilo carregado excede o tamanho máximo permitido de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "A extensão PHP ZipArchive não está disponível." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "O arquivo ZIP contém entradas ilegíveis." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Entrada de arquivo insegura rejeitada: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "O arquivo contém mais do que um config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Falta config.xml no pacote de estilo." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "O arquivo deve conter uma única pasta raiz ou colocar todos os ficheiros na raiz." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tipo de ficheiro não permitido no pacote de estilo: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Falha ao reabrir o arquivo ZIP." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Entrada de arquivo insegura recusada durante a extração." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Travessia de caminho recusada durante a extração." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Falha ao criar um diretório a partir do arquivo." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Falha ao ler um ficheiro do arquivo." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Falha ao escrever um ficheiro extraído." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml não é XML válido." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml deve declarar um elemento ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Estilo não encontrado." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Falha ao criar o diretório do estilo." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "O estilo carregado não contém nenhuma folha de estilo." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Carregar conteúdo interativo" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Pacote IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opções de transferência" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Mostrar o botão de transferência" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formatos disponíveis" diff --git a/languages/exelearning-ro_RO-4cf813b039eac98ce62f176afa8fc8fe.json b/languages/exelearning-ro_RO-4cf813b039eac98ce62f176afa8fc8fe.json new file mode 100644 index 0000000..7665876 --- /dev/null +++ b/languages/exelearning-ro_RO-4cf813b039eac98ce62f176afa8fc8fe.json @@ -0,0 +1,84 @@ +{ + "translation-revision-date": "2025-11-29 00:20+0000", + "generator": "WP-CLI\/2.12.0", + "source": "assets\/js\/elp-upload.js", + "domain": "messages", + "locale_data": { + "messages": { + "": { + "domain": "messages", + "lang": "ro_RO", + "plural-forms": "nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);" + }, + "Settings": [ + "Set\u0103ri" + ], + "Edit in eXeLearning": [ + "Editeaz\u0103 \u00een eXeLearning" + ], + "No preview available": [ + "Previzualizare indisponibil\u0103" + ], + "eXeLearning Content": [ + "Con\u021binut eXeLearning" + ], + "Upload or select a .elpx file from your media library": [ + "\u00cenc\u0103rca\u021bi sau selecta\u021bi un fi\u0219ier .elpx din biblioteca media" + ], + "Upload .elpx File": [ + "\u00cencarc\u0103 fi\u0219ier .elpx" + ], + "Media Library": [ + "Biblioteca media" + ], + "Height (px)": [ + "\u00cen\u0103l\u021bime (px)" + ], + "Change file": [ + "Schimb\u0103 fi\u0219ierul" + ], + "Remove": [ + "Elimin\u0103" + ], + "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available.": [ + "Acesta este un fi\u0219ier surs\u0103 eXeLearning v2. Con\u021binutul va fi afi\u0219at \u00een frontend dac\u0103 HTML-ul exportat este disponibil." + ], + "Show Teacher Mode toggler": [ + "Afi\u0219eaz\u0103 comutatorul Mod Profesor" + ], + "More download formats": [ + "Mai multe formate de desc\u0103rcare" + ], + "Install the eXeLearning editor from the plugin settings page to enable this format.": [ + "Instaleaz\u0103 editorul eXeLearning din pagina de set\u0103ri a pluginului pentru a activa acest format." + ], + "Download failed. Please try again.": [ + "Desc\u0103rcarea a e\u0219uat. \u00cencerca\u021bi din nou." + ], + "Download .elpx": [ + "Descarc\u0103 .elpx" + ], + "Web (_web.zip)": [ + "Web (_web.zip)" + ], + "SCORM 1.2 (_scorm.zip)": [ + "SCORM 1.2 (_scorm.zip)" + ], + "IMS Package (_ims.zip)": [ + "Pachet IMS (_ims.zip)" + ], + "EPUB3 (.epub)": [ + "EPUB3 (.epub)" + ], + "Download options": [ + "Op\u021biuni de desc\u0103rcare" + ], + "Show download button": [ + "Afi\u0219eaz\u0103 butonul de desc\u0103rcare" + ], + "Available formats": [ + "Formate disponibile" + ] + } + } +} \ No newline at end of file diff --git a/languages/exelearning-ro_RO.mo b/languages/exelearning-ro_RO.mo index b2fbb91..3f54144 100644 Binary files a/languages/exelearning-ro_RO.mo and b/languages/exelearning-ro_RO.mo differ diff --git a/languages/exelearning-ro_RO.po b/languages/exelearning-ro_RO.po index 626e2f7..d1be9ca 100644 --- a/languages/exelearning-ro_RO.po +++ b/languages/exelearning-ro_RO.po @@ -16,7 +16,7 @@ msgstr "" #: admin/class-admin-settings.php:39 #: public/views/elp-list.php:63 -#: assets/js/elp-upload.js:207 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "Setări" @@ -24,10 +24,13 @@ msgstr "Setări" msgid "Date" msgstr "Data" +#: admin/class-admin-settings.php:249 #: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "Șterge" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 #: includes/class-elp-list-table.php:49 msgid "Title" msgstr "Titlu" @@ -36,12 +39,11 @@ msgstr "Titlu" #: exelearning.php #: admin/class-admin-settings.php:51 #: includes/class-mime-types.php:73 -#: includes/integrations/class-media-library.php:230 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "eXeLearning" #. Plugin URI of the plugin -#. Author URI of the plugin #: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "https://github.com/exelearning/wp-exelearning" @@ -69,7 +71,7 @@ msgstr "Stare" msgid "Edit" msgstr "Editează" -#: includes/class-elp-upload-block.php:162 +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "Eroare: conținutul eXeLearning nu a fost găsit" @@ -77,32 +79,32 @@ msgstr "Eroare: conținutul eXeLearning nu a fost găsit" msgid "Edit eXeLearning File" msgstr "Editează fișierul eXeLearning" -#: includes/integrations/class-media-library.php:138 +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "Previzualizare conținut eXeLearning" -#: includes/integrations/class-media-library.php:149 +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "Metadate eXeLearning" -#: includes/integrations/class-media-library.php:174 +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "Deschide într-o filă nouă" -#: includes/integrations/class-media-library.php:63 -#: includes/integrations/class-media-library.php:217 -#: includes/integrations/class-media-library.php:256 +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "Licență:" -#: includes/integrations/class-media-library.php:64 -#: includes/integrations/class-media-library.php:218 -#: includes/integrations/class-media-library.php:260 +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "Limbă:" -#: includes/integrations/class-media-library.php:219 -#: includes/integrations/class-media-library.php:264 +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "Tip de resursă:" @@ -118,40 +120,41 @@ msgstr "Folosește acest fișier" msgid "Invalid nonce." msgstr "Nonce invalid." +#: admin/class-admin-styles.php:164 #: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "Permisiuni insuficiente." -#: admin/views/editor-bootstrap.php:85 +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "Eroare la încărcarea șablonului editorului eXeLearning." -#: admin/views/editor-bootstrap.php:86 +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "Eroare de șablon" -#: admin/views/editor-bootstrap.php:93 +#: admin/views/editor-bootstrap.php:96 #: includes/class-exelearning-editor.php:178 #: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "Se salvează..." -#: admin/views/editor-bootstrap.php:94 +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "Salvat în WordPress cu succes" -#: admin/views/editor-bootstrap.php:95 +#: admin/views/editor-bootstrap.php:98 #: includes/class-exelearning-editor.php:177 #: includes/class-exelearning-editor.php:210 #: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "Salvează în WordPress" -#: admin/views/editor-bootstrap.php:96 +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "Se încarcă proiectul..." -#: admin/views/editor-bootstrap.php:97 +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "Eroare" @@ -172,12 +175,12 @@ msgstr "Fișier negăsit." msgid "Access denied." msgstr "Acces refuzat." -#: includes/class-elp-upload-block.php:183 +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "Acest conținut eXeLearning este un fișier sursă și nu poate fi previzualizat direct." -#: includes/class-elp-upload-block.php:185 -#: public/class-shortcodes.php:120 +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "Descarcă fișierul" @@ -195,24 +198,26 @@ msgid "You do not have permission to access this page." msgstr "Nu aveți permisiunea de a accesa această pagină." #: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "Niciun atașament specificat." #: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "Acest fișier nu este un fișier eXeLearning (.elpx)." #: includes/class-exelearning-editor.php:137 -#: includes/class-exelearning-rest-api.php:128 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "Nu aveți permisiunea de a edita acest fișier." #: includes/class-exelearning-editor.php:175 #: includes/class-exelearning-editor.php:208 -#: includes/integrations/class-media-library.php:69 -#: includes/integrations/class-media-library.php:198 -#: assets/js/elp-upload.js:229 -#: assets/js/elp-upload.js:237 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "Editează în eXeLearning" @@ -222,47 +227,52 @@ msgstr "Editează în eXeLearning" msgid "Close" msgstr "Închide" -#: includes/class-exelearning-rest-api.php:148 +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "Nu aveți permisiunea de a citi acest fișier." -#: includes/class-exelearning-rest-api.php:177 -#: includes/class-exelearning-rest-api.php:376 +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "Niciun fișier încărcat." -#: includes/class-exelearning-rest-api.php:189 -#: includes/class-exelearning-rest-api.php:387 +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "Încărcarea fișierului a eșuat." -#: includes/class-exelearning-rest-api.php:260 +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "Fișier creat cu succes." -#: includes/class-exelearning-rest-api.php:359 -#: includes/class-exelearning-rest-api.php:501 +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "ID atașament invalid." -#: includes/class-exelearning-rest-api.php:407 +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "Fișierul original nu a fost găsit." -#: includes/class-exelearning-rest-api.php:416 -#: includes/class-exelearning-rest-api.php:514 +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "Acesta nu este un fișier eXeLearning (.elpx)." -#: includes/class-exelearning-rest-api.php:305 +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "Eroare la salvarea fișierului." -#: includes/class-exelearning-rest-api.php:481 +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "Fișier salvat cu succes." -#: includes/class-exelearning-rest-api.php:574 +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "Eroare la crearea directorului pentru fișierele extrase." @@ -279,93 +289,94 @@ msgstr[0] "eXeLearning (%s)" msgstr[1] "eXeLearning (%s)" msgstr[2] "eXeLearning (%s)" -#: includes/integrations/class-media-library.php:66 -#: includes/integrations/class-media-library.php:177 -#: assets/js/elp-upload.js:311 +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "Previzualizare indisponibilă" -#: includes/integrations/class-media-library.php:67 -#: includes/integrations/class-media-library.php:178 +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "Acesta este un fișier sursă eXeLearning v2 (.elp). Pentru a vizualiza conținutul, deschideți-l în eXeLearning și exportați-l ca HTML." -#: public/class-shortcodes.php:53 +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "ID fișier eXeLearning invalid." -#: public/class-shortcodes.php:59 +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "Fișier eXeLearning negăsit." -#: public/class-shortcodes.php:118 +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "Acesta este un fișier sursă care nu poate fi previzualizat direct. Descărcați-l pentru a-l deschide cu eXeLearning." -#: public/class-shortcodes.php:201 +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "Descarcă fișierul sursă" -#: public/class-shortcodes.php:202 +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "Vizualizare pe ecran complet" -#: includes/integrations/class-media-library.php:59 +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "Informații eXeLearning" -#: admin/class-admin-settings.php:105 -#: includes/integrations/class-media-library.php:60 +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "Versiune:" -#: includes/integrations/class-media-library.php:65 +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "Tip:" -#: includes/integrations/class-media-library.php:68 +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "Previzualizare într-o filă nouă" -#: assets/js/elp-upload.js:138 -#: assets/js/elp-upload.js:168 -#: assets/js/elp-upload.js:288 +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "Conținut eXeLearning" -#: assets/js/elp-upload.js:169 +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "Încărcați sau selectați un fișier .elpx din biblioteca media" -#: assets/js/elp-upload.js:182 +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "Încarcă fișier .elpx" -#: assets/js/elp-upload.js:195 +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "Biblioteca media" -#: assets/js/elp-upload.js:209 +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "Înălțime (px)" -#: assets/js/elp-upload.js:247 +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "Schimbă fișierul" -#: assets/js/elp-upload.js:254 +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "Elimină" -#: assets/js/elp-upload.js:313 +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "Acesta este un fișier sursă eXeLearning v2. Conținutul va fi afișat în frontend dacă HTML-ul exportat este disponibil." -#: includes/integrations/class-media-library.php:61 +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "fișier sursă" -#: includes/integrations/class-media-library.php:62 +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "exportat" @@ -377,11 +388,11 @@ msgstr "Acest fișier a fost creat cu o versiune mai veche a eXeLearning și nu msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "Fișierul nu este un fișier eXeLearning valid (.elpx)." -#: includes/class-exelearning-rest-api.php:316 +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "Copia fișierului pare a fi trunchiată." -#: assets/js/elp-upload.js:219 +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "Afișează comutatorul Mod Profesor" @@ -395,168 +406,172 @@ msgstr "Vă rugăm așteptați în timp ce fișierul este salvat." msgid "You have unsaved changes. Are you sure you want to close?" msgstr "Aveți modificări nesalvate. Sunteți sigur că doriți să închideți?" -#: admin/class-admin-settings.php:86 +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "Editor integrat" -#: admin/class-admin-settings.php:91 +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "Editorul integrat este necesar pentru editarea fișierelor eXeLearning." -#: admin/class-admin-settings.php:92 +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "Vă rugăm să îl instalați folosind butonul de mai jos." -#: admin/class-admin-settings.php:100 -#: admin/class-admin-settings.php:123 +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "Stare:" -#: admin/class-admin-settings.php:101 +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "Instalat" -#: admin/class-admin-settings.php:109 +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "Instalat la:" -#: admin/class-admin-settings.php:117 +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "Actualizare la ultima versiune" -#: admin/class-admin-settings.php:124 +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "Neinstalat" -#: admin/class-admin-settings.php:126 +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "Editorul integrat eXeLearning nu este instalat. Puteți descărca și instala automat ultima versiune de pe GitHub." -#: admin/class-admin-settings.php:131 +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "Descarcă și instalează editorul" #. translators: %s: make build-editor command -#: admin/class-admin-settings.php:146 +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "Dezvoltatorii pot compila editorul din codul sursă folosind %s." -#: admin/class-admin-settings.php:169 +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "Reîncercați" -#: admin/class-admin-settings.php:179 +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "Se instalează..." -#: admin/class-admin-settings.php:182 +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "Se descarcă și instalează editorul. Acest lucru poate dura un minut..." -#: admin/class-admin-settings.php:199 +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "Deschide editorul" -#: admin/class-admin-settings.php:203 +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "Instalarea a eșuat." -#: admin/class-admin-settings.php:207 +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "Eroare de rețea. Vă rugăm să verificați conexiunea și să reîncercați." -#: includes/class-static-editor-installer.php:95 +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "Verificarea de securitate a eșuat. Vă rugăm să reîncărcați pagina și să reîncercați." -#: includes/class-static-editor-installer.php:102 +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "Nu aveți permisiunea de a instala editorul." -#: includes/class-static-editor-installer.php:110 +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "O instalare este deja în curs. Vă rugăm să așteptați." #. translators: %s: editor version -#: includes/class-static-editor-installer.php:131 +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "Editorul eXeLearning v%s a fost instalat cu succes." #. translators: %s: error message -#: includes/class-static-editor-installer.php:221 +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "Nu s-a putut conecta la GitHub: %s" #. translators: %d: HTTP status code -#: includes/class-static-editor-installer.php:233 +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "API-ul GitHub a returnat starea %d. Vă rugăm să reîncercați mai târziu." -#: includes/class-static-editor-installer.php:243 +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "Nu s-au putut analiza informațiile ultimei versiuni de pe GitHub." #. translators: %s: tag name -#: includes/class-static-editor-installer.php:255 +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "Format neașteptat al etichetei de versiune: %s" #. translators: %s: error message -#: includes/class-static-editor-installer.php:291 +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "Eroare la descărcarea pachetului editorului: %s" -#: includes/class-static-editor-installer.php:312 +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "Fișierul descărcat nu este o arhivă ZIP validă." -#: includes/class-static-editor-installer.php:334 +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "Nu s-a putut crea directorul temporar pentru extracție." #. translators: %s: error message -#: includes/class-static-editor-installer.php:346 +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "Eroare la extragerea pachetului editorului: %s" -#: includes/class-static-editor-installer.php:393 +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "Pachetul descărcat nu conține fișierele așteptate ale editorului. Nu s-a găsit index.html." -#: includes/class-static-editor-installer.php:411 +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "Pachetului editorului îi lipsește index.html." -#: includes/class-static-editor-installer.php:427 +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "Pachetului editorului îi lipsesc directoarele de resurse așteptate (app, libs sau files)." -#: includes/class-static-editor-installer.php:453 +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "Nu s-a putut crea directorul dist." -#: includes/class-static-editor-installer.php:463 +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "Nu s-a putut face o copie de siguranță a instalării curente a editorului." -#: includes/class-static-editor-installer.php:491 +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "Eroare la copierea fișierelor editorului în directorul pluginului." +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "Fișierul eXeLearning nu a putut fi găsit pe disc." +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "Reprocesează fișierul eXeLearning" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -565,6 +580,7 @@ msgstr[1] "%d fișiere eXeLearning reprocesate." msgstr[2] "%d de fișiere eXeLearning reprocesate." #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -573,6 +589,7 @@ msgstr[1] "%d elemente omise (nu sunt fișiere eXeLearning)." msgstr[2] "%d de elemente omise (nu sunt fișiere eXeLearning)." #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." @@ -580,14 +597,418 @@ msgstr[0] "%d fișier nu a putut fi reprocesat." msgstr[1] "%d fișiere nu au putut fi reprocesate." msgstr[2] "%d de fișiere nu au putut fi reprocesate." +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "Procesează ca eXeLearning" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "Fișier eXeLearning (încă neprocesat)" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "Se procesează…" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "Acest fișier nu a putut fi procesat ca eXeLearning." + +#. Author URI of the plugin +#: exelearning.php +msgid "https://exelearning.net/" +msgstr "https://exelearning.net/" + +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "Ajutor" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "Încorporează oriunde un pachet .elpx încărcat cu shortcode-ul [exelearning], referențiind fișierul prin ID-ul de atașament din Biblioteca media." + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "Exemple de shortcode" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "Atribute" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "Atribut" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "Implicit" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "Descriere" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "Obligatoriu. ID-ul de atașament al pachetului .elpx din Biblioteca media." + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "Înălțimea previzualizării, în pixeli." + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "Când este activat, conținutul se încarcă cu modul profesor activ." + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "Dacă este afișat butonul de comutare a modului profesor." + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "Când este activat, afișează un buton de descărcare în mai multe formate." + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "toate" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "Formate separate prin virgulă de oferit: elpx, html5, scorm12, ims, epub3." + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "Afișează captura de ecran a pachetului: no, poster (clic pentru încărcare) sau only (doar imagine). Necesită eXeLearning 4.0.1 sau mai nou." + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "Hook-uri pentru dezvoltatori" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "Rezultatul shortcode-ului poate fi personalizat cu filtrele exelearning_shortcode_atts, exelearning_preview_url și exelearning_shortcode_output, printre alte acțiuni și filtre." + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "Referință completă a shortcode-ului" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "Referință pentru hook-urile dezvoltatorilor" + +#: admin/class-admin-settings.php:180 +msgid "Styles" +msgstr "Stiluri" + +#: admin/class-admin-settings.php:182 +msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." +msgstr "Încarcă pachete de stiluri eXeLearning și controlează ce stiluri expune editorul încorporat." + +#: admin/class-admin-settings.php:185 +msgid "Import policy" +msgstr "Politică de import" + +#: admin/class-admin-settings.php:189 +msgid "Block user-imported styles" +msgstr "Blochează stilurile importate de utilizatori" + +#: admin/class-admin-settings.php:193 +msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." +msgstr "Când este activat, editorul încorporat ascunde fila „Stiluri utilizator” și refuză în tăcere să instaleze un stil inclus într-un proiect .elpx importat. Utilizatorii pot alege doar din lista aprobată de administrator de mai jos. Aceasta reproduce comportamentul eXeLearning ONLINE_THEMES_INSTALL=false." + +#: admin/class-admin-settings.php:196 +msgid "Upload a new style" +msgstr "Încarcă un stil nou" + +#: admin/class-admin-settings.php:201 +msgid "Upload style" +msgstr "Încarcă stilul" + +#. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 +#, php-format +msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." +msgstr "Dimensiunea maximă a fișierului: %s. Sunt acceptate doar pachete .zip care conțin un config.xml valid." + +#: admin/class-admin-settings.php:217 +msgid "Uploaded styles" +msgstr "Stiluri încărcate" + +#: admin/class-admin-settings.php:219 +msgid "No uploaded styles yet." +msgstr "Încă nu există stiluri încărcate." + +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 +msgid "Id" +msgstr "Id" + +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 +msgid "Version" +msgstr "Versiune" + +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 +msgid "Enabled" +msgstr "Activat" + +#: admin/class-admin-settings.php:229 +msgid "Actions" +msgstr "Acțiuni" + +#: admin/class-admin-settings.php:258 +msgid "Built-in styles" +msgstr "Stiluri integrate" + +#: admin/class-admin-settings.php:261 +msgid "Built-in styles are not available because the embedded editor is not installed." +msgstr "Stilurile integrate nu sunt disponibile deoarece editorul încorporat nu este instalat." + +#: admin/class-admin-settings.php:295 +msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." +msgstr "Stilurile integrate dezactivate sunt ascunse în editor. Stilurile încărcate pot fi dezactivate sau șterse oricând. Proiectele existente care referențiază un stil lipsă folosesc stilul implicit al editorului." + +#: admin/class-admin-settings.php:341 +msgid "Uploading…" +msgstr "Se încarcă…" + +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 +msgid "Style installed." +msgstr "Stil instalat." + +#: admin/class-admin-settings.php:347 +msgid "Upload failed." +msgstr "Încărcarea a eșuat." + +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 +msgid "Network error." +msgstr "Eroare de rețea." + +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 +msgid "Update failed." +msgstr "Actualizarea a eșuat." + +#: admin/class-admin-settings.php:404 +msgid "Delete this style? This cannot be undone." +msgstr "Ștergeți acest stil? Această acțiune nu poate fi anulată." + +#: admin/class-admin-settings.php:413 +msgid "Style deleted." +msgstr "Stil șters." + +#: admin/class-admin-settings.php:415 +msgid "Delete failed." +msgstr "Ștergerea a eșuat." + +#: admin/class-admin-styles.php:59 +msgid "Uploaded file is not accessible." +msgstr "Fișierul încărcat nu este accesibil." + +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 +msgid "Missing style id." +msgstr "Lipsește ID-ul stilului." + +#: admin/class-admin-styles.php:168 +msgid "Invalid or missing security token." +msgstr "Token de securitate invalid sau lipsă." + +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 +msgid "More download formats" +msgstr "Mai multe formate de descărcare" + +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 +msgid "Install the eXeLearning editor from the plugin settings page to enable this format." +msgstr "Instalează editorul eXeLearning din pagina de setări a pluginului pentru a activa acest format." + +#: includes/class-download-button-renderer.php:207 +msgid "Preparing download…" +msgstr "Se pregătește descărcarea…" + +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 +msgid "Download failed. Please try again." +msgstr "Descărcarea a eșuat. Încercați din nou." + +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 +msgid "Download .elpx" +msgstr "Descarcă .elpx" + +#: includes/class-download-formats.php:38 +msgid "Web" +msgstr "Web" + +#: includes/class-download-formats.php:45 +msgid "SCORM 1.2" +msgstr "SCORM 1.2" + +#: includes/class-download-formats.php:52 +msgid "IMS Package" +msgstr "Pachet IMS" + +#: includes/class-download-formats.php:59 +msgid "EPUB3" +msgstr "EPUB3" + +#: includes/class-exelearning-rest-api.php:351 +msgid "Another save is already in progress for this file. Please retry shortly." +msgstr "Pentru acest fișier este deja în curs o altă salvare. Reîncercați în scurt timp." + +#: includes/class-export-bootstrap.php:124 +msgid "Attachment not found." +msgstr "Atașamentul nu a fost găsit." + +#: includes/class-export-bootstrap.php:142 +msgid "Static eXeLearning editor not installed." +msgstr "Editorul static eXeLearning nu este instalat." + +#: includes/class-export-bootstrap.php:147 +msgid "Failed to load editor template." +msgstr "Încărcarea șablonului editorului a eșuat." + +#: includes/class-static-editor-installer.php:396 +msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." +msgstr "Pachetul editorului descărcat nu a trecut verificarea de integritate (SHA-256) și a fost eliminat." + +#: includes/class-style-package.php:67 +msgid "The uploaded file is not a readable ZIP archive." +msgstr "Fișierul încărcat nu este o arhivă ZIP lizibilă." + +#: includes/class-style-package.php:85 +msgid "config.xml could not be read from the archive." +msgstr "config.xml nu a putut fi citit din arhivă." + +#: includes/class-style-package.php:108 +msgid "Uploaded file is missing or unreadable." +msgstr "Fișierul încărcat lipsește sau este ilizibil." + +#: includes/class-style-package.php:112 +msgid "Uploaded file is empty." +msgstr "Fișierul încărcat este gol." + +#. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 +#, php-format +msgid "Uploaded style exceeds the maximum allowed size of %s." +msgstr "Stilul încărcat depășește dimensiunea maximă permisă de %s." + +#: includes/class-style-package.php:125 +msgid "The ZipArchive PHP extension is not available." +msgstr "Extensia PHP ZipArchive nu este disponibilă." + +#: includes/class-style-package.php:144 +msgid "The ZIP archive contains unreadable entries." +msgstr "Arhiva ZIP conține intrări ilizibile." + +#. translators: %s: offending entry name. +#: includes/class-style-package.php:153 +#, php-format +msgid "Rejected unsafe archive entry: %s" +msgstr "Intrare de arhivă nesigură respinsă: %s" + +#: includes/class-style-package.php:166 +msgid "The archive contains more than one config.xml." +msgstr "Arhiva conține mai mult de un config.xml." + +#: includes/class-style-package.php:175 +msgid "The style package is missing config.xml." +msgstr "Pachetului de stil îi lipsește config.xml." + +#: includes/class-style-package.php:203 +msgid "The archive must contain a single root folder or place all files at the root." +msgstr "Arhiva trebuie să conțină un singur folder rădăcină sau să plaseze toate fișierele în rădăcină." + +#. translators: %s: offending filename. +#: includes/class-style-package.php:211 +#, php-format +msgid "File type not allowed in style package: %s" +msgstr "Tip de fișier nepermis în pachetul de stil: %s" + +#: includes/class-style-package.php:232 +msgid "Failed to reopen ZIP archive." +msgstr "Redeschiderea arhivei ZIP a eșuat." + +#: includes/class-style-package.php:243 +msgid "Refused unsafe archive entry during extraction." +msgstr "Intrare de arhivă nesigură refuzată în timpul extragerii." + +#: includes/class-style-package.php:290 +msgid "Refused path traversal during extraction." +msgstr "Traversare de cale refuzată în timpul extragerii." + +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 +msgid "Failed to create a directory from the archive." +msgstr "Crearea unui director din arhivă a eșuat." + +#: includes/class-style-package.php:306 +msgid "Failed to read a file from the archive." +msgstr "Citirea unui fișier din arhivă a eșuat." + +#: includes/class-style-package.php:310 +msgid "Failed to write an extracted file." +msgstr "Scrierea unui fișier extras a eșuat." + +#: includes/class-style-package.php:396 +msgid "config.xml is not valid XML." +msgstr "config.xml nu este XML valid." + +#: includes/class-style-package.php:401 +msgid "config.xml must declare a element." +msgstr "config.xml trebuie să declare un element ." + +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 +msgid "Style not found." +msgstr "Stilul nu a fost găsit." + +#: includes/class-styles-service.php:343 +msgid "Failed to create style directory." +msgstr "Crearea directorului de stil a eșuat." + +#: includes/class-styles-service.php:357 +msgid "The uploaded style does not contain any stylesheet." +msgstr "Stilul încărcat nu conține nicio foaie de stil." + +#: public/class-shortcodes.php:341 +msgid "Load interactive content" +msgstr "Încarcă conținut interactiv" + +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "Web (_web.zip)" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "SCORM 1.2 (_scorm.zip)" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "Pachet IMS (_ims.zip)" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "EPUB3 (.epub)" + +#: assets/js/elp-upload.js:425 +msgid "Download options" +msgstr "Opțiuni de descărcare" + +#: assets/js/elp-upload.js:427 +msgid "Show download button" +msgstr "Afișează butonul de descărcare" + +#: assets/js/elp-upload.js:435 +msgid "Available formats" +msgstr "Formate disponibile" diff --git a/languages/exelearning.pot b/languages/exelearning.pot index 9c69184..9bc54fa 100644 --- a/languages/exelearning.pot +++ b/languages/exelearning.pot @@ -14,508 +14,803 @@ msgstr "" "X-Domain: exelearning\n" #. Plugin Name of the plugin +#: exelearning.php +#: admin/class-admin-settings.php:51 +#: includes/class-mime-types.php:73 +#: includes/integrations/class-media-library.php:382 msgid "eXeLearning" msgstr "" #. Plugin URI of the plugin +#: exelearning.php msgid "https://github.com/exelearning/wp-exelearning" msgstr "" #. Description of the plugin +#: exelearning.php msgid "Plugin to support eXeLearning .elp files in WordPress. Upload, manage and embed eXeLearning content." msgstr "" #. Author of the plugin +#: exelearning.php msgid "INTEF" msgstr "" #. Author URI of the plugin +#: exelearning.php msgid "https://exelearning.net/" msgstr "" +#: admin/class-admin-settings.php:39 +#: public/views/elp-list.php:63 +#: assets/js/elp-upload.js:401 msgid "Settings" msgstr "" +#: admin/class-admin-settings.php:50 +#: admin/class-admin-settings.php:64 msgid "eXeLearning Settings" msgstr "" +#: admin/class-admin-settings.php:86 +msgid "Help" +msgstr "" + +#: admin/class-admin-settings.php:88 +msgid "Embed an uploaded .elpx package anywhere with the [exelearning] shortcode, referencing the file by its Media Library attachment ID." +msgstr "" + +#: admin/class-admin-settings.php:91 +msgid "Shortcode examples" +msgstr "" + +#: admin/class-admin-settings.php:95 +msgid "Attributes" +msgstr "" + +#: admin/class-admin-settings.php:99 +msgid "Attribute" +msgstr "" + +#: admin/class-admin-settings.php:100 +msgid "Default" +msgstr "" + +#: admin/class-admin-settings.php:101 +msgid "Description" +msgstr "" + +#: admin/class-admin-settings.php:108 +msgid "Required. Media Library attachment ID of the .elpx package." +msgstr "" + +#: admin/class-admin-settings.php:113 +msgid "Height of the preview, in pixels." +msgstr "" + +#: admin/class-admin-settings.php:118 +msgid "When enabled, the content loads with teacher mode active." +msgstr "" + +#: admin/class-admin-settings.php:123 +msgid "Whether the teacher-mode toggle button is shown." +msgstr "" + +#: admin/class-admin-settings.php:128 +msgid "When enabled, shows a multi-format download button." +msgstr "" + +#: admin/class-admin-settings.php:132 +msgid "all" +msgstr "" + +#: admin/class-admin-settings.php:133 +msgid "Comma-separated formats to offer: elpx, html5, scorm12, ims, epub3." +msgstr "" + +#: admin/class-admin-settings.php:138 +msgid "Show the package screenshot: no, poster (click to load), or only (image only). Requires eXeLearning 4.0.1 or newer." +msgstr "" + +#: admin/class-admin-settings.php:143 +msgid "Developer hooks" +msgstr "" + +#: admin/class-admin-settings.php:145 +msgid "The shortcode output can be customized with the exelearning_shortcode_atts, exelearning_preview_url, and exelearning_shortcode_output filters, among other actions and filters." +msgstr "" + +#: admin/class-admin-settings.php:150 +msgid "Full shortcode reference" +msgstr "" + +#: admin/class-admin-settings.php:154 +msgid "Developer hooks reference" +msgstr "" + +#: admin/class-admin-settings.php:180 msgid "Styles" msgstr "" +#: admin/class-admin-settings.php:182 msgid "Upload eXeLearning style packages and control which styles the embedded editor exposes." msgstr "" +#: admin/class-admin-settings.php:185 msgid "Import policy" msgstr "" +#: admin/class-admin-settings.php:189 msgid "Block user-imported styles" msgstr "" +#: admin/class-admin-settings.php:193 msgid "When enabled, the embedded editor hides the \"User styles\" tab and silently refuses to install a style bundled inside an imported .elpx project. Users may only choose from the admin-approved list below. This mirrors the eXeLearning ONLINE_THEMES_INSTALL=false behavior." msgstr "" +#: admin/class-admin-settings.php:196 msgid "Upload a new style" msgstr "" +#: admin/class-admin-settings.php:201 msgid "Upload style" msgstr "" #. translators: %s: human-readable max file size. +#: admin/class-admin-settings.php:208 #, php-format msgid "Maximum file size: %s. Only .zip packages containing a valid config.xml are accepted." msgstr "" +#: admin/class-admin-settings.php:217 msgid "Uploaded styles" msgstr "" +#: admin/class-admin-settings.php:219 msgid "No uploaded styles yet." msgstr "" +#: admin/class-admin-settings.php:224 +#: admin/class-admin-settings.php:267 +#: includes/class-elp-list-table.php:49 msgid "Title" msgstr "" +#: admin/class-admin-settings.php:225 +#: admin/class-admin-settings.php:268 msgid "Id" msgstr "" +#: admin/class-admin-settings.php:226 +#: admin/class-admin-settings.php:269 msgid "Version" msgstr "" +#: admin/class-admin-settings.php:227 +#: admin/class-admin-settings.php:457 msgid "Installed" msgstr "" +#: admin/class-admin-settings.php:228 +#: admin/class-admin-settings.php:244 +#: admin/class-admin-settings.php:270 +#: admin/class-admin-settings.php:285 msgid "Enabled" msgstr "" +#: admin/class-admin-settings.php:229 msgid "Actions" msgstr "" +#: admin/class-admin-settings.php:249 +#: includes/class-elp-list-table.php:109 msgid "Delete" msgstr "" +#: admin/class-admin-settings.php:258 msgid "Built-in styles" msgstr "" +#: admin/class-admin-settings.php:261 msgid "Built-in styles are not available because the embedded editor is not installed." msgstr "" +#: admin/class-admin-settings.php:295 msgid "Disabled built-in styles are hidden from the editor. Uploaded styles can be disabled or deleted at any time. Existing projects that reference a missing style fall back to the editor default." msgstr "" +#: admin/class-admin-settings.php:341 msgid "Uploading…" msgstr "" +#: admin/class-admin-settings.php:344 +#: admin/class-admin-styles.php:71 msgid "Style installed." msgstr "" +#: admin/class-admin-settings.php:347 msgid "Upload failed." msgstr "" +#: admin/class-admin-settings.php:350 +#: admin/class-admin-settings.php:372 +#: admin/class-admin-settings.php:393 +#: admin/class-admin-settings.php:418 msgid "Network error." msgstr "" +#: admin/class-admin-settings.php:368 +#: admin/class-admin-settings.php:389 msgid "Update failed." msgstr "" +#: admin/class-admin-settings.php:404 msgid "Delete this style? This cannot be undone." msgstr "" +#: admin/class-admin-settings.php:413 msgid "Style deleted." msgstr "" +#: admin/class-admin-settings.php:415 msgid "Delete failed." msgstr "" +#: admin/class-admin-settings.php:442 msgid "Embedded Editor" msgstr "" +#: admin/class-admin-settings.php:447 msgid "The embedded editor is required to edit eXeLearning files." msgstr "" +#: admin/class-admin-settings.php:448 msgid "Please install it using the button below." msgstr "" +#: admin/class-admin-settings.php:456 +#: admin/class-admin-settings.php:479 msgid "Status:" msgstr "" +#: admin/class-admin-settings.php:461 +#: includes/integrations/class-media-library.php:186 msgid "Version:" msgstr "" +#: admin/class-admin-settings.php:465 msgid "Installed on:" msgstr "" +#: admin/class-admin-settings.php:473 msgid "Update to Latest Version" msgstr "" +#: admin/class-admin-settings.php:480 msgid "Not installed" msgstr "" +#: admin/class-admin-settings.php:482 msgid "The embedded eXeLearning editor is not installed. You can download and install the latest version automatically from GitHub." msgstr "" +#: admin/class-admin-settings.php:487 msgid "Download & Install Editor" msgstr "" #. translators: %s: make build-editor command +#: admin/class-admin-settings.php:502 #, php-format msgid "Developers can also build the editor from source using %s." msgstr "" +#: admin/class-admin-settings.php:525 msgid "Try Again" msgstr "" +#: admin/class-admin-settings.php:535 msgid "Installing..." msgstr "" +#: admin/class-admin-settings.php:538 msgid "Downloading and installing the editor. This may take a minute..." msgstr "" +#: admin/class-admin-settings.php:555 msgid "Open Editor" msgstr "" +#: admin/class-admin-settings.php:559 msgid "Installation failed." msgstr "" +#: admin/class-admin-settings.php:563 msgid "Network error. Please check your connection and try again." msgstr "" +#: admin/class-admin-styles.php:42 +#: includes/class-exelearning-rest-api.php:227 +#: includes/class-exelearning-rest-api.php:581 msgid "No file uploaded." msgstr "" +#: admin/class-admin-styles.php:50 +#: includes/class-exelearning-rest-api.php:239 +#: includes/class-exelearning-rest-api.php:592 msgid "File upload failed." msgstr "" +#: admin/class-admin-styles.php:59 msgid "Uploaded file is not accessible." msgstr "" +#: admin/class-admin-styles.php:87 +#: admin/class-admin-styles.php:106 +#: admin/class-admin-styles.php:130 msgid "Missing style id." msgstr "" +#: admin/class-admin-styles.php:164 +#: admin/class-admin-upload.php:41 msgid "Insufficient permissions." msgstr "" +#: admin/class-admin-styles.php:168 msgid "Invalid or missing security token." msgstr "" +#: admin/class-admin-upload.php:36 msgid "Invalid nonce." msgstr "" +#: admin/views/editor-bootstrap.php:88 msgid "Failed to load eXeLearning editor template." msgstr "" +#: admin/views/editor-bootstrap.php:89 msgid "Template Error" msgstr "" +#: admin/views/editor-bootstrap.php:96 +#: includes/class-exelearning-editor.php:178 +#: includes/class-exelearning-editor.php:211 msgid "Saving..." msgstr "" +#: admin/views/editor-bootstrap.php:97 msgid "Saved to WordPress successfully" msgstr "" +#: admin/views/editor-bootstrap.php:98 +#: includes/class-exelearning-editor.php:177 +#: includes/class-exelearning-editor.php:210 +#: includes/class-exelearning-editor.php:240 msgid "Save to WordPress" msgstr "" +#: admin/views/editor-bootstrap.php:99 msgid "Loading project..." msgstr "" +#: admin/views/editor-bootstrap.php:100 msgid "Error" msgstr "" +#: includes/class-content-proxy.php:112 msgid "Invalid content identifier." msgstr "" +#: includes/class-content-proxy.php:137 msgid "Invalid file path." msgstr "" +#: includes/class-content-proxy.php:149 msgid "File not found." msgstr "" +#: includes/class-content-proxy.php:164 +#: includes/class-content-proxy.php:172 msgid "Access denied." msgstr "" +#: includes/class-download-button-renderer.php:107 +#: assets/js/elp-upload.js:180 msgid "More download formats" msgstr "" +#: includes/class-download-button-renderer.php:138 +#: includes/class-download-button-renderer.php:209 +#: assets/js/elp-upload.js:79 msgid "Install the eXeLearning editor from the plugin settings page to enable this format." msgstr "" +#: includes/class-download-button-renderer.php:207 msgid "Preparing download…" msgstr "" +#: includes/class-download-button-renderer.php:208 +#: assets/js/elp-upload.js:136 msgid "Download failed. Please try again." msgstr "" +#: includes/class-download-formats.php:31 +#: assets/js/elp-upload.js:36 msgid "Download .elpx" msgstr "" +#: includes/class-download-formats.php:38 msgid "Web" msgstr "" +#: includes/class-download-formats.php:45 msgid "SCORM 1.2" msgstr "" +#: includes/class-download-formats.php:52 msgid "IMS Package" msgstr "" +#: includes/class-download-formats.php:59 msgid "EPUB3" msgstr "" +#: includes/class-elp-file-service.php:84 msgid "This file was created with an older version of eXeLearning and is not compatible. Please open it with eXeLearning 3.x and save it again." msgstr "" +#: includes/class-elp-file-service.php:90 msgid "The file is not a valid eXeLearning file (.elpx)." msgstr "" +#: includes/class-elp-list-table.php:50 msgid "Date" msgstr "" +#: includes/class-elp-list-table.php:51 msgid "Status" msgstr "" +#: includes/class-elp-list-table.php:108 msgid "Edit" msgstr "" +#: includes/class-elp-reprocessor.php:57 +#: includes/class-exelearning-rest-api.php:564 +#: includes/class-exelearning-rest-api.php:697 msgid "Invalid attachment ID." msgstr "" +#: includes/class-elp-reprocessor.php:66 msgid "The eXeLearning file could not be found on disk." msgstr "" +#: includes/class-elp-reprocessor.php:75 +#: includes/class-exelearning-rest-api.php:621 +#: includes/class-exelearning-rest-api.php:710 msgid "This is not an eXeLearning file (.elpx)." msgstr "" +#: includes/class-elp-reprocessor.php:310 +#: includes/class-elp-upload-handler.php:105 msgid "Failed to create directory for extracted files." msgstr "" +#: includes/class-elp-upload-block.php:154 msgid "Error: eXeLearning content not found" msgstr "" +#: includes/class-elp-upload-block.php:234 +#: public/class-shortcodes.php:190 msgid "Download file" msgstr "" +#: includes/class-elp-upload-block.php:247 msgid "This eXeLearning content is a source file and cannot be previewed directly." msgstr "" +#: includes/class-exelearning-editor.php:82 +#: includes/class-exelearning-editor.php:83 msgid "eXeLearning Editor" msgstr "" +#: includes/class-exelearning-editor.php:112 msgid "Security check failed." msgstr "" +#: includes/class-exelearning-editor.php:117 msgid "You do not have permission to access this page." msgstr "" +#: includes/class-exelearning-editor.php:124 +#: includes/class-export-bootstrap.php:111 msgid "No attachment specified." msgstr "" +#: includes/class-exelearning-editor.php:132 +#: includes/class-export-bootstrap.php:130 msgid "This file is not an eXeLearning file (.elpx)." msgstr "" +#: includes/class-exelearning-editor.php:137 +#: includes/class-exelearning-rest-api.php:178 msgid "You do not have permission to edit this file." msgstr "" +#: includes/class-exelearning-editor.php:175 +#: includes/class-exelearning-editor.php:208 +#: includes/integrations/class-media-library.php:195 +#: includes/integrations/class-media-library.php:350 +#: assets/js/elp-upload.js:423 +#: assets/js/elp-upload.js:463 msgid "Edit in eXeLearning" msgstr "" +#: includes/class-exelearning-editor.php:176 +#: includes/class-exelearning-editor.php:209 +#: includes/class-exelearning-editor.php:243 msgid "Close" msgstr "" +#: includes/class-exelearning-editor.php:179 +#: includes/class-exelearning-editor.php:212 msgid "Please wait while the file is being saved." msgstr "" +#: includes/class-exelearning-editor.php:180 +#: includes/class-exelearning-editor.php:213 msgid "You have unsaved changes. Are you sure you want to close?" msgstr "" +#: includes/class-exelearning-editor.php:235 msgid "Edit eXeLearning File" msgstr "" +#: includes/class-exelearning-rest-api.php:198 msgid "You do not have permission to read this file." msgstr "" +#: includes/class-exelearning-rest-api.php:311 msgid "File created successfully." msgstr "" +#: includes/class-exelearning-rest-api.php:351 msgid "Another save is already in progress for this file. Please retry shortly." msgstr "" +#: includes/class-exelearning-rest-api.php:442 msgid "Failed to save the file." msgstr "" +#: includes/class-exelearning-rest-api.php:454 msgid "File copy appears truncated." msgstr "" +#: includes/class-exelearning-rest-api.php:612 msgid "Original file not found." msgstr "" +#: includes/class-exelearning-rest-api.php:677 msgid "File saved successfully." msgstr "" +#: includes/class-export-bootstrap.php:124 msgid "Attachment not found." msgstr "" +#: includes/class-export-bootstrap.php:142 msgid "Static eXeLearning editor not installed." msgstr "" +#: includes/class-export-bootstrap.php:147 msgid "Failed to load editor template." msgstr "" +#: includes/class-mime-types.php:74 msgid "Manage eXeLearning Files" msgstr "" #. translators: %s: number of files +#: includes/class-mime-types.php:76 #, php-format msgid "eXeLearning (%s)" msgid_plural "eXeLearning (%s)" msgstr[0] "" msgstr[1] "" +#: includes/class-static-editor-installer.php:102 msgid "Security check failed. Please refresh the page and try again." msgstr "" +#: includes/class-static-editor-installer.php:109 msgid "You do not have permission to install the editor." msgstr "" +#: includes/class-static-editor-installer.php:117 msgid "An installation is already in progress. Please wait." msgstr "" #. translators: %s: editor version +#: includes/class-static-editor-installer.php:138 #, php-format msgid "eXeLearning editor v%s installed successfully." msgstr "" #. translators: %s: error message +#: includes/class-static-editor-installer.php:295 #, php-format msgid "Could not connect to GitHub: %s" msgstr "" #. translators: %d: HTTP status code +#: includes/class-static-editor-installer.php:307 #, php-format msgid "GitHub API returned status %d. Please try again later." msgstr "" +#: includes/class-static-editor-installer.php:317 msgid "Could not parse the latest release information from GitHub." msgstr "" #. translators: %s: tag name +#: includes/class-static-editor-installer.php:329 #, php-format msgid "Unexpected release tag format: %s" msgstr "" #. translators: %s: error message +#: includes/class-static-editor-installer.php:365 #, php-format msgid "Failed to download the editor package: %s" msgstr "" +#: includes/class-static-editor-installer.php:396 msgid "The downloaded editor package failed its integrity (SHA-256) check and was discarded." msgstr "" +#: includes/class-static-editor-installer.php:472 msgid "The downloaded file is not a valid ZIP archive." msgstr "" +#: includes/class-static-editor-installer.php:494 msgid "Could not create temporary directory for extraction." msgstr "" #. translators: %s: error message +#: includes/class-static-editor-installer.php:506 #, php-format msgid "Failed to extract the editor package: %s" msgstr "" +#: includes/class-static-editor-installer.php:553 msgid "The downloaded package does not contain the expected editor files. Could not find index.html." msgstr "" +#: includes/class-static-editor-installer.php:571 msgid "The editor package is missing index.html." msgstr "" +#: includes/class-static-editor-installer.php:587 msgid "The editor package is missing expected asset directories (app, libs, or files)." msgstr "" +#: includes/class-static-editor-installer.php:613 msgid "Could not create the dist directory." msgstr "" +#: includes/class-static-editor-installer.php:623 msgid "Could not back up the existing editor installation." msgstr "" +#: includes/class-static-editor-installer.php:651 msgid "Failed to copy editor files to the plugin directory." msgstr "" +#: includes/class-style-package.php:67 msgid "The uploaded file is not a readable ZIP archive." msgstr "" +#: includes/class-style-package.php:85 msgid "config.xml could not be read from the archive." msgstr "" +#: includes/class-style-package.php:108 msgid "Uploaded file is missing or unreadable." msgstr "" +#: includes/class-style-package.php:112 msgid "Uploaded file is empty." msgstr "" #. translators: %s: human-readable maximum size. +#: includes/class-style-package.php:119 #, php-format msgid "Uploaded style exceeds the maximum allowed size of %s." msgstr "" +#: includes/class-style-package.php:125 msgid "The ZipArchive PHP extension is not available." msgstr "" +#: includes/class-style-package.php:144 msgid "The ZIP archive contains unreadable entries." msgstr "" #. translators: %s: offending entry name. +#: includes/class-style-package.php:153 #, php-format msgid "Rejected unsafe archive entry: %s" msgstr "" +#: includes/class-style-package.php:166 msgid "The archive contains more than one config.xml." msgstr "" +#: includes/class-style-package.php:175 msgid "The style package is missing config.xml." msgstr "" +#: includes/class-style-package.php:203 msgid "The archive must contain a single root folder or place all files at the root." msgstr "" #. translators: %s: offending filename. +#: includes/class-style-package.php:211 #, php-format msgid "File type not allowed in style package: %s" msgstr "" +#: includes/class-style-package.php:232 msgid "Failed to reopen ZIP archive." msgstr "" +#: includes/class-style-package.php:243 msgid "Refused unsafe archive entry during extraction." msgstr "" +#: includes/class-style-package.php:290 msgid "Refused path traversal during extraction." msgstr "" +#: includes/class-style-package.php:297 +#: includes/class-style-package.php:301 msgid "Failed to create a directory from the archive." msgstr "" +#: includes/class-style-package.php:306 msgid "Failed to read a file from the archive." msgstr "" +#: includes/class-style-package.php:310 msgid "Failed to write an extracted file." msgstr "" +#: includes/class-style-package.php:396 msgid "config.xml is not valid XML." msgstr "" +#: includes/class-style-package.php:401 msgid "config.xml must declare a element." msgstr "" +#: includes/class-styles-service.php:244 +#: includes/class-styles-service.php:293 msgid "Style not found." msgstr "" +#: includes/class-styles-service.php:343 msgid "Failed to create style directory." msgstr "" +#: includes/class-styles-service.php:357 msgid "The uploaded style does not contain any stylesheet." msgstr "" +#: includes/integrations/class-media-library.php:49 msgid "Reprocess eXeLearning file" msgstr "" #. translators: %d: number of files reprocessed. +#: includes/integrations/class-media-library.php:129 #, php-format msgid "%d eXeLearning file reprocessed." msgid_plural "%d eXeLearning files reprocessed." @@ -523,6 +818,7 @@ msgstr[0] "" msgstr[1] "" #. translators: %d: number of items skipped. +#: includes/integrations/class-media-library.php:137 #, php-format msgid "%d item skipped (not an eXeLearning file)." msgid_plural "%d items skipped (not eXeLearning files)." @@ -530,119 +826,184 @@ msgstr[0] "" msgstr[1] "" #. translators: %d: number of files that failed. +#: includes/integrations/class-media-library.php:145 #, php-format msgid "%d file could not be reprocessed." msgid_plural "%d files could not be reprocessed." msgstr[0] "" msgstr[1] "" +#: includes/integrations/class-media-library.php:185 msgid "eXeLearning Info" msgstr "" +#: includes/integrations/class-media-library.php:187 msgid "source file" msgstr "" +#: includes/integrations/class-media-library.php:188 msgid "exported" msgstr "" +#: includes/integrations/class-media-library.php:189 +#: includes/integrations/class-media-library.php:369 +#: includes/integrations/class-media-library.php:408 msgid "License:" msgstr "" +#: includes/integrations/class-media-library.php:190 +#: includes/integrations/class-media-library.php:370 +#: includes/integrations/class-media-library.php:412 msgid "Language:" msgstr "" +#: includes/integrations/class-media-library.php:191 msgid "Type:" msgstr "" +#: includes/integrations/class-media-library.php:192 +#: includes/integrations/class-media-library.php:329 +#: assets/js/elp-upload.js:544 msgid "No preview available" msgstr "" +#: includes/integrations/class-media-library.php:193 +#: includes/integrations/class-media-library.php:330 msgid "This is an eXeLearning v2 source file (.elp). To view the content, open it in eXeLearning and export it as HTML." msgstr "" +#: includes/integrations/class-media-library.php:194 msgid "Preview in new tab" msgstr "" +#: includes/integrations/class-media-library.php:196 msgid "Process as eXeLearning" msgstr "" +#: includes/integrations/class-media-library.php:197 msgid "eXeLearning file (not processed yet)" msgstr "" +#: includes/integrations/class-media-library.php:198 msgid "Processing…" msgstr "" +#: includes/integrations/class-media-library.php:199 msgid "This file could not be processed as eXeLearning." msgstr "" +#: includes/integrations/class-media-library.php:290 msgid "eXeLearning Content Preview" msgstr "" +#: includes/integrations/class-media-library.php:301 msgid "eXeLearning Metadata" msgstr "" +#: includes/integrations/class-media-library.php:326 msgid "Open in new tab" msgstr "" +#: includes/integrations/class-media-library.php:371 +#: includes/integrations/class-media-library.php:416 msgid "Resource Type:" msgstr "" +#: public/class-shortcodes.php:80 msgid "Invalid eXeLearning file ID." msgstr "" +#: public/class-shortcodes.php:86 msgid "eXeLearning file not found." msgstr "" +#: public/class-shortcodes.php:202 msgid "This is a source file that cannot be previewed directly. Download it to open with eXeLearning." msgstr "" +#: public/class-shortcodes.php:277 +#: public/class-shortcodes.php:321 msgid "Download source file" msgstr "" +#: public/class-shortcodes.php:341 msgid "Load interactive content" msgstr "" +#: public/class-shortcodes.php:379 msgid "View fullscreen" msgstr "" +#: public/views/elp-list.php:112 msgid "Select eXeLearning File" msgstr "" +#: public/views/elp-list.php:113 msgid "Use this file" msgstr "" +#: assets/js/elp-upload.js:37 +msgid "Web (_web.zip)" +msgstr "" + +#: assets/js/elp-upload.js:38 +msgid "SCORM 1.2 (_scorm.zip)" +msgstr "" + +#: assets/js/elp-upload.js:39 +msgid "IMS Package (_ims.zip)" +msgstr "" + +#: assets/js/elp-upload.js:40 +msgid "EPUB3 (.epub)" +msgstr "" + +#: assets/js/elp-upload.js:332 +#: assets/js/elp-upload.js:362 +#: assets/js/elp-upload.js:521 msgid "eXeLearning Content" msgstr "" +#: assets/js/elp-upload.js:363 msgid "Upload or select a .elpx file from your media library" msgstr "" +#: assets/js/elp-upload.js:376 msgid "Upload .elpx File" msgstr "" +#: assets/js/elp-upload.js:389 msgid "Media Library" msgstr "" +#: assets/js/elp-upload.js:403 msgid "Height (px)" msgstr "" +#: assets/js/elp-upload.js:413 msgid "Show Teacher Mode toggler" msgstr "" +#: assets/js/elp-upload.js:425 msgid "Download options" msgstr "" +#: assets/js/elp-upload.js:427 msgid "Show download button" msgstr "" +#: assets/js/elp-upload.js:435 msgid "Available formats" msgstr "" +#: assets/js/elp-upload.js:473 msgid "Change file" msgstr "" +#: assets/js/elp-upload.js:480 msgid "Remove" msgstr "" +#: assets/js/elp-upload.js:546 msgid "This is an eXeLearning v2 source file. The content will be displayed on the frontend if exported HTML is available." msgstr "" diff --git a/readme.txt b/readme.txt index be9d863..8487b96 100644 --- a/readme.txt +++ b/readme.txt @@ -21,6 +21,28 @@ For more information, see the [full documentation on GitHub](https://github.com/ 1. Upload the plugin files to the `/wp-content/plugins/exelearning` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. +== Frequently Asked Questions == + += How do I embed an eXeLearning file? = + +Upload your `.elpx` file to the Media Library, then embed it either with the eXeLearning Gutenberg block or with the shortcode `[exelearning id="123"]`, replacing `123` with the attachment ID of your file. You can also find this help under Settings → eXeLearning. + += What attributes does the [exelearning] shortcode support? = + +`id` (required), `height`, `teacher_mode`, `teacher_mode_visible`, `show_download`, `download_formats` and `screenshot`. See the full shortcode reference at https://github.com/exelearning/wp-exelearning/blob/main/docs/SHORTCODES.md. + += How do I start content in teacher mode? = + +Add `teacher_mode="1"` to the shortcode, for example `[exelearning id="123" teacher_mode="1"]`. Use `teacher_mode_visible="0"` to also hide the teacher-mode toggle. + += How do I show the package screenshot? = + +Use `screenshot="poster"` to show the screenshot as a clickable poster that loads the content on click, or `screenshot="only"` to show just the image. Packages built with eXeLearning 4.0.1 or newer ship a screenshot; older packages fall back to the normal embed. + += Are there developer hooks? = + +Yes. The plugin exposes actions and filters (all prefixed with `exelearning_`) for ELPX extraction, metadata, REST saves, shortcode rendering, styles and editor installation. See https://github.com/exelearning/wp-exelearning/blob/main/docs/HOOKS.md. + == Changelog == = 0.0.0 = diff --git a/tests/unit/AdminSettingsTest.php b/tests/unit/AdminSettingsTest.php index 1e5838e..6b2dd57 100644 --- a/tests/unit/AdminSettingsTest.php +++ b/tests/unit/AdminSettingsTest.php @@ -171,4 +171,34 @@ public function test_add_action_links_url_format() { $this->assertStringContainsString( 'options-general.php', $result[0] ); $this->assertStringContainsString( 'page=exelearning-settings', $result[0] ); } + + /** + * Test display_settings_page outputs the help section with shortcode usage. + */ + public function test_display_settings_page_outputs_help_section() { + $user_id = $this->factory->user->create( array( 'role' => 'administrator' ) ); + wp_set_current_user( $user_id ); + + ob_start(); + $this->settings->display_settings_page(); + $output = ob_get_clean(); + + $this->assertStringContainsString( 'exelearning-help-card', $output ); + $this->assertStringContainsString( '[exelearning', $output ); + } + + /** + * Test the help section links to the GitHub shortcode and hooks references. + */ + public function test_display_settings_page_help_links_to_docs() { + $user_id = $this->factory->user->create( array( 'role' => 'administrator' ) ); + wp_set_current_user( $user_id ); + + ob_start(); + $this->settings->display_settings_page(); + $output = ob_get_clean(); + + $this->assertStringContainsString( 'docs/SHORTCODES.md', $output ); + $this->assertStringContainsString( 'docs/HOOKS.md', $output ); + } } diff --git a/tests/unit/BlockTranslationsTest.php b/tests/unit/BlockTranslationsTest.php new file mode 100644 index 0000000..cdf6661 --- /dev/null +++ b/tests/unit/BlockTranslationsTest.php @@ -0,0 +1,89 @@ +languages_dir() . '/exelearning-es_ES-*.json' ); + $this->assertNotEmpty( $files, 'No es_ES JS translation JSON file was generated.' ); + + $combined = ''; + foreach ( $files as $file ) { + $combined .= file_get_contents( $file ); // phpcs:ignore + } + + // Panel strings (already literal) and the format labels (previously a + // variable, now literal) must all be present and translated. + $this->assertStringContainsString( 'Opciones de descarga', $combined ); + $this->assertStringContainsString( 'Formatos disponibles', $combined ); + $this->assertStringContainsString( 'Descargar .elpx', $combined ); + } + + /** + * The block must opt into standard script translations (no manual injection). + */ + public function test_block_uses_standard_script_translations() { + $source = file_get_contents( dirname( __DIR__, 2 ) . '/includes/class-elp-upload-block.php' ); // phpcs:ignore + + $this->assertStringContainsString( 'wp_set_script_translations', $source ); + $this->assertStringNotContainsString( 'inject_block_translations', $source ); + } + + /** + * WordPress must actually resolve the block's script translations for es_ES. + * + * This guards the script `src`/JSON `md5` alignment: an unnormalized URL + * (e.g. "includes/../assets/...") would make `load_script_textdomain()` + * compute a md5 that does not match the make-json output, so no translation + * loads even though the JSON file exists. + */ + public function test_block_script_translations_resolve_for_es_es() { + $block = new ExeLearning_Elp_Upload_Block(); + $block->enqueue_block_scripts(); + + switch_to_locale( 'es_ES' ); + $json = load_script_textdomain( + 'exelearning-elp-block', + 'exelearning', + EXELEARNING_PLUGIN_DIR . 'languages' + ); + restore_previous_locale(); + + $this->assertNotEmpty( $json, 'WordPress could not resolve the block script translations.' ); + $this->assertStringContainsString( 'Opciones de descarga', $json ); + } +}