Skip to content

Commit

Permalink
Export: adds lang var for export button
Browse files Browse the repository at this point in the history
  • Loading branch information
chlulei committed Dec 19, 2024
1 parent 97026cb commit 923b952
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/ILIAS/Export/classes/class.ilExportGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ final protected function displayExportFiles(): void
}
if (count($infos) === 1) {
$this->toolbar->addComponent($this->ui_services->factory()->button()->standard(
$this->lng->txt("exp_export_dropdown") . " " . array_keys($infos)[0],
sprintf($this->lng->txt("exp_export_single_option"), array_keys($infos)[0]),
array_values($infos)[0]
));
}
Expand Down
1 change: 1 addition & 0 deletions lang/ilias_de.lang
Original file line number Diff line number Diff line change
Expand Up @@ -9756,6 +9756,7 @@ 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
Expand Down
1 change: 1 addition & 0 deletions lang/ilias_en.lang
Original file line number Diff line number Diff line change
Expand Up @@ -9758,6 +9758,7 @@ exp#:#exp_error_disabled#:#The export feature is disabled for containers. You ma
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-arc#:#as ARCHIVE
exp#:#exp_format_dropdown-csv#:#as CSV
Expand Down

0 comments on commit 923b952

Please sign in to comment.