diff --git a/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTML.php b/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTML.php index 7a6ca424e6b8..416f4122a23a 100644 --- a/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTML.php +++ b/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTML.php @@ -56,7 +56,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt("exp_html"); + return $this->lng->txt("exp_format_dropdown-html"); } public function onExportOptionSelected( diff --git a/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTMLWithComments.php b/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTMLWithComments.php index c4d56214e880..42a7a5ded6e4 100644 --- a/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTMLWithComments.php +++ b/components/ILIAS/Blog/classes/class.ilBlogExportOptionHTMLWithComments.php @@ -57,7 +57,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return "HTML (" . $this->lng->txt("blog_incl_comments") . ")"; + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt("exp_format_dropdown-html") . " (" . $this->lng->txt("blog_incl_comments") . ")"; } public function onExportOptionSelected( diff --git a/components/ILIAS/Export/classes/class.ilExportExportOptionXML.php b/components/ILIAS/Export/classes/class.ilExportExportOptionXML.php index f2c932a44643..2a87877c89f8 100644 --- a/components/ILIAS/Export/classes/class.ilExportExportOptionXML.php +++ b/components/ILIAS/Export/classes/class.ilExportExportOptionXML.php @@ -76,7 +76,7 @@ public function isPublicAccessPossible(): bool public function getLabel(): string { - return $this->lng->txt("exp_create_file") . " (xml)"; + return $this->lng->txt("exp_format_dropdown-xml"); } public function onExportOptionSelected( diff --git a/components/ILIAS/Export/classes/class.ilExportGUI.php b/components/ILIAS/Export/classes/class.ilExportGUI.php index f4ccc521df44..82e25622d6cd 100755 --- a/components/ILIAS/Export/classes/class.ilExportGUI.php +++ b/components/ILIAS/Export/classes/class.ilExportGUI.php @@ -203,7 +203,7 @@ final protected function displayExportFiles(): void } if (count($infos) === 1) { $this->toolbar->addComponent($this->ui_services->factory()->button()->standard( - array_keys($infos)[0], + sprintf($this->lng->txt("exp_export_single_option"), array_keys($infos)[0]), array_values($infos)[0] )); } diff --git a/components/ILIAS/Forum/classes/class.ilForumExportOptionHTML.php b/components/ILIAS/Forum/classes/class.ilForumExportOptionHTML.php index 374c113f9dd1..20c8cefb29c4 100644 --- a/components/ILIAS/Forum/classes/class.ilForumExportOptionHTML.php +++ b/components/ILIAS/Forum/classes/class.ilForumExportOptionHTML.php @@ -52,7 +52,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt('exp_html'); + return $this->lng->txt('exp_format_dropdown-html'); } public function onExportOptionSelected(ilExportHandlerConsumerContextInterface $context): void diff --git a/components/ILIAS/Glossary/classes/class.ilGlossaryExportOptionHTML.php b/components/ILIAS/Glossary/classes/class.ilGlossaryExportOptionHTML.php index 34c10b6de504..8141aab6113b 100644 --- a/components/ILIAS/Glossary/classes/class.ilGlossaryExportOptionHTML.php +++ b/components/ILIAS/Glossary/classes/class.ilGlossaryExportOptionHTML.php @@ -1,7 +1,5 @@ lng->loadLanguageModule('exp'); - return $this->lng->txt("exp_html"); + return $this->lng->txt("exp_format_dropdown-html"); } public function onExportOptionSelected( diff --git a/components/ILIAS/HTMLLearningModule/classes/class.ilHTLMExportOptionHTML.php b/components/ILIAS/HTMLLearningModule/classes/class.ilHTLMExportOptionHTML.php index 3383e64c32a4..a29c5a2c4828 100644 --- a/components/ILIAS/HTMLLearningModule/classes/class.ilHTLMExportOptionHTML.php +++ b/components/ILIAS/HTMLLearningModule/classes/class.ilHTLMExportOptionHTML.php @@ -53,7 +53,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt("exp_html"); + return $this->lng->txt("exp_format_dropdown-html"); } public function onExportOptionSelected( diff --git a/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionHTML.php b/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionHTML.php index 17f91bb7be65..8fc33f77f78e 100644 --- a/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionHTML.php +++ b/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionHTML.php @@ -64,7 +64,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt("exp_html"); + return $this->lng->txt("exp_format_dropdown-html"); } public function onDeleteFiles( diff --git a/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionXML.php b/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionXML.php index 6406ecac55d5..ced93f15a019 100644 --- a/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionXML.php +++ b/components/ILIAS/LearningModule/classes/class.ilLearningModuleExportOptionXML.php @@ -63,7 +63,7 @@ public function isPublicAccessPossible(): bool public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt("exp_xml"); + return $this->lng->txt("exp_format_dropdown-xml"); } public function onExportOptionSelected(\ILIAS\Export\ExportHandler\I\Consumer\Context\HandlerInterface $context): void diff --git a/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMaster.php b/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMaster.php index 5717bea9491b..44fffbc81380 100644 --- a/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMaster.php +++ b/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMaster.php @@ -54,7 +54,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return "XML (" . $this->lng->txt("mep_master_language_only") . ")"; + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt("exp_format_dropdown-xml") . " (" . $this->lng->txt("mep_master_language_only") . ")"; } public function onDownloadFiles( diff --git a/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMasterNoMedia.php b/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMasterNoMedia.php index c9bd0a72f766..01c9d35e6037 100644 --- a/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMasterNoMedia.php +++ b/components/ILIAS/MediaPool/classes/class.ilMediaPoolExportOptionXMLMasterNoMedia.php @@ -54,6 +54,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { + $this->lng->loadLanguageModule('exp'); return "XML (" . $this->lng->txt("mep_master_language_only_no_media") . ")"; } diff --git a/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXLS.php b/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXLS.php index 494a1295387e..a16dde4d3022 100644 --- a/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXLS.php +++ b/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXLS.php @@ -55,7 +55,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return $this->lng->txt('simple_xls'); + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt('exp_format_dropdown-xls'); } public function isObjectSupported(ObjectId $object_id): bool diff --git a/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXML.php b/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXML.php index bed7947c1e8d..223afa6e4f2c 100644 --- a/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXML.php +++ b/components/ILIAS/OrgUnit/classes/class.ilOrgUnitExportOptionXML.php @@ -61,7 +61,8 @@ public function isObjectSupported(ObjectId $object_id): bool public function getLabel(): string { - return $this->lng->txt('simple_xml'); + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt('exp_format_dropdown-xml'); } public function onExportOptionSelected(ilExportHandlerConsumerContextInterface $context): void diff --git a/components/ILIAS/Test/classes/class.ilTestExportOptionARC.php b/components/ILIAS/Test/classes/class.ilTestExportOptionARC.php index e6ffd0eb7bf7..44267fefb8cd 100644 --- a/components/ILIAS/Test/classes/class.ilTestExportOptionARC.php +++ b/components/ILIAS/Test/classes/class.ilTestExportOptionARC.php @@ -57,6 +57,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { + $this->lng->loadLanguageModule('assessment'); return $this->lng->txt('ass_create_export_test_archive'); } diff --git a/components/ILIAS/Test/classes/class.ilTestExportOptionXML.php b/components/ILIAS/Test/classes/class.ilTestExportOptionXML.php index 2ed200f43ceb..f33cae674a97 100644 --- a/components/ILIAS/Test/classes/class.ilTestExportOptionXML.php +++ b/components/ILIAS/Test/classes/class.ilTestExportOptionXML.php @@ -55,7 +55,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return $this->lng->txt('ass_create_export_file'); + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt("exp_format_dropdown-xml"); } public function onDeleteFiles( diff --git a/components/ILIAS/Test/classes/class.ilTestExportOptionXMLRES.php b/components/ILIAS/Test/classes/class.ilTestExportOptionXMLRES.php index fc96c348a1bb..daf5a37b38ca 100644 --- a/components/ILIAS/Test/classes/class.ilTestExportOptionXMLRES.php +++ b/components/ILIAS/Test/classes/class.ilTestExportOptionXMLRES.php @@ -55,7 +55,9 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return $this->lng->txt('ass_create_export_file_with_results'); + $this->lng->loadLanguageModule('exp'); + $this->lng->loadLanguageModule('assessment'); + return $this->lng->txt("exp_format_dropdown-xml") . " (" . $this->lng->txt('ass_create_export_file_with_results') . ")"; } public function onDeleteFiles( diff --git a/components/ILIAS/TestQuestionPool/classes/class.ilTestQuestionPoolExportOptionXML.php b/components/ILIAS/TestQuestionPool/classes/class.ilTestQuestionPoolExportOptionXML.php index 59d41fbf8896..366655f94c8e 100644 --- a/components/ILIAS/TestQuestionPool/classes/class.ilTestQuestionPoolExportOptionXML.php +++ b/components/ILIAS/TestQuestionPool/classes/class.ilTestQuestionPoolExportOptionXML.php @@ -55,7 +55,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return "{$this->lng->txt('exp_create_file')} (xml)"; + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt('exp_format_dropdown-xml'); } public function onDeleteFiles( diff --git a/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTML.php b/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTML.php index d040f8c9c449..079e72be7511 100644 --- a/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTML.php +++ b/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTML.php @@ -56,7 +56,7 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { $this->lng->loadLanguageModule('exp'); - return $this->lng->txt('exp_html'); + return $this->lng->txt('exp_format_dropdown-html'); } public function onExportOptionSelected(ilExportHandlerConsumerContextInterface $context): void diff --git a/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTMLWithComments.php b/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTMLWithComments.php index 3d3229327bd3..29335971a1e5 100644 --- a/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTMLWithComments.php +++ b/components/ILIAS/Wiki/classes/class.ilWikiExportOptionHTMLWithComments.php @@ -55,7 +55,8 @@ public function getSupportedRepositoryObjectTypes(): array public function getLabel(): string { - return "HTML (" . $this->lng->txt("wiki_incl_comments") . ")"; + $this->lng->loadLanguageModule('exp'); + return $this->lng->txt("exp_format_dropdown-html") . " (" . $this->lng->txt("wiki_incl_comments") . ")"; } public function isObjectSupported(ObjectId $object_id): bool diff --git a/lang/ilias_de.lang b/lang/ilias_de.lang index d72c76301b78..a831f36028b2 100644 --- a/lang/ilias_de.lang +++ b/lang/ilias_de.lang @@ -505,10 +505,8 @@ assessment#:#ass_comments#:#Kommentare assessment#:#ass_competence_respect_level_ordering#:#Bitte beachten Sie, dass die Kompetenz-Schwellenwerte gemäß der Reihenfolge der Kompetenzstufen in aufsteigender Reihenfolge definiert werden müssen. assessment#:#ass_completion_by_submission#:#Bestehen durch Abgabe assessment#:#ass_completion_by_submission_info#:#Falls aktiviert, führt die Abgabe einer Lösungsdatei zur Vergabe der Maximalpunktzahl für diese Frage. Die Bewertung kann jederzeit manuell angepasst werden. Das Ändern dieser Einstellung hat keine nachträglichen Auswirkungen auf bereits eingereichte Lösungen. -assessment#:#ass_create_export_file#:#Erstelle Exportdatei -assessment#:#ass_create_export_file_with_results#:#Erstelle Exportdatei (inkl. Teilnehmerergebnisse) -assessment#:#ass_create_export_test_archive#:#Erstelle Archivdatei für Test -assessment#:#ass_create_export_test_results#:#Erstelle Ergebnisdatei +assessment#:#ass_create_export_file_with_results#:#inkl. Teilnehmerergebnisse +assessment#:#ass_create_export_test_archive#:#als Archivdatei assessment#:#ass_create_question#:#Frage erstellen assessment#:#ass_imap_hint#:#Hinweis (angezeigt als Tooltip) assessment#:#ass_imap_map_file_not_readable#:#Die hochgeladene Imagemap kann nicht gelesen werden. @@ -9756,7 +9754,12 @@ exp#:#exp_create_file#:#Exportdatei erzeugen exp#:#exp_error_disabled#:#Der Export von Container-Objekten ist deaktiviert. Bei Fragen wenden Sie sich bitte an die technische Betreuung. exp#:#exp_error_too_many_objects#:#Der Export überschreitet die maximal erlaubte Zahl an Objekten (%1). Bitte wählen Sie eine kleinere Anzahl an Objekten. exp#:#exp_export_files#:#Exportdateien +exp#:#exp_export_single_option#:#Export %s exp#:#exp_file_created#:#Eine Exportdatei wurde erstellt. +exp#:#exp_format_dropdown-csv#:#als CSV +exp#:#exp_format_dropdown-html#:#als HTML +exp#:#exp_format_dropdown-xls#:#als XLS +exp#:#exp_format_dropdown-xml#:#als XML exp#:#exp_html#:#HTML exp#:#exp_import_validation_err_no_matching_xsd#:#Eine Schema Datei für Version %s existiert nicht. exp#:#exp_print_pdf#:#Drucken/PDF diff --git a/lang/ilias_en.lang b/lang/ilias_en.lang index 143e97267024..97301c3370ba 100755 --- a/lang/ilias_en.lang +++ b/lang/ilias_en.lang @@ -505,10 +505,8 @@ assessment#:#ass_comments#:#Comments assessment#:#ass_competence_respect_level_ordering#:#Please note that the competence thresholds have to be defined in an ascending order according to the available competence levels. assessment#:#ass_completion_by_submission#:#Completed by Submission assessment#:#ass_completion_by_submission_info#:#If enabled, the submission of at least one file causes the completion of this question by granting the maximum score for this question. The score could be manually changed later. Switching this setting does not effect already submitted solutions. -assessment#:#ass_create_export_file#:#Create Test Export File -assessment#:#ass_create_export_file_with_results#:#Create Test Export File (incl. Participant Results) -assessment#:#ass_create_export_test_archive#:#Create Test Archive File -assessment#:#ass_create_export_test_results#:#Create Test Results Export File +assessment#:#ass_create_export_file_with_results#:#incl. Participant Results +assessment#:#ass_create_export_test_archive#:#as Archive File assessment#:#ass_create_question#:#Create Question assessment#:#ass_imap_hint#:#Hint to be shown as Tooltip assessment#:#ass_imap_map_file_not_readable#:#The uploaded image map could not be read. @@ -9756,8 +9754,14 @@ exercise#:#exc_your_submission#:#Your Submission exp#:#exp_create_file#:#Create Export File exp#:#exp_error_disabled#:#The export feature is disabled for containers. You may contact your system administrator. exp#:#exp_error_too_many_objects#:#The export exceeds the maximum number of allowerd objects (%1). Please select a lower number of objects. +exp#:#exp_export_dropdown#:#Export exp#:#exp_export_files#:#Export Files +exp#:#exp_export_single_option#:#Export %s exp#:#exp_file_created#:#The export file has been created. +exp#:#exp_format_dropdown-csv#:#as CSV +exp#:#exp_format_dropdown-html#:#as HTML +exp#:#exp_format_dropdown-xls#:#as XLS +exp#:#exp_format_dropdown-xml#:#as XML exp#:#exp_html#:#HTML exp#:#exp_import_validation_err_no_matching_xsd#:#No valid schema file for version %s exists. exp#:#exp_print_pdf#:#Print/PDF @@ -9769,7 +9773,6 @@ exp#:#export_created#:#A new export file has been created. exp#:#export_files_deleted#:#The selected export files have been deleted. exp#:#export_options#:#Export Options exp#:#export_type#:#Export Type -export#:#exp_export_dropdown#:#Export export#:#exp_file#:#File Name export#:#exp_public_access#:#Public Access export#:#exp_size#:#File Size (MB)