Skip to content

Commit

Permalink
Export: update export option lang vars
Browse files Browse the repository at this point in the history
  • Loading branch information
chlulei committed Dec 19, 2024
1 parent 923b952 commit 0ea760b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions components/ILIAS/Test/classes/class.ilTestExportOptionARC.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function getSupportedRepositoryObjectTypes(): array

public function getLabel(): string
{
$this->lng->loadLanguageModule('exp');
return $this->lng->txt('exp_format_dropdown-arc');
$this->lng->loadLanguageModule('assessment');
return $this->lng->txt('ass_create_export_test_archive');
}

public function onDeleteFiles(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ public function getSupportedRepositoryObjectTypes(): array
public function getLabel(): string
{
$this->lng->loadLanguageModule('exp');
$this->lng->loadLanguageModule('assessment');
return $this->lng->txt("exp_format_dropdown-xml") . " (" . $this->lng->txt('ass_create_export_file') . ")";
return $this->lng->txt("exp_format_dropdown-xml");
}

public function onDeleteFiles(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getExportOptionId(): string

public function getSupportedRepositoryObjectTypes(): array
{
return ['tst', 'crs'];
return ['tst'];
}

public function getLabel(): string
Expand Down
7 changes: 3 additions & 4 deletions lang/ilias_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -9760,6 +9758,7 @@ 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.
Expand Down
7 changes: 2 additions & 5 deletions lang/ilias_en.lang
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -9760,7 +9758,6 @@ 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-arc#:#as ARCHIVE
exp#:#exp_format_dropdown-csv#:#as CSV
exp#:#exp_format_dropdown-html#:#as HTML
exp#:#exp_format_dropdown-xls#:#as XLS
Expand Down

0 comments on commit 0ea760b

Please sign in to comment.