diff options
author | raul | 2014-07-01 16:34:38 +0200 |
---|---|---|
committer | raul | 2014-07-01 16:34:38 +0200 |
commit | 615bbd53ab498da25f7da4d87ced09bd4188e2c9 (patch) | |
tree | cc233226a9b972c7e36cb3875298c45330b3847c /modules/sysconfig/addmodule_custom.inc.php | |
parent | [i18n] final templates with the mustache tags (diff) | |
download | slx-admin-615bbd53ab498da25f7da4d87ced09bd4188e2c9.tar.gz slx-admin-615bbd53ab498da25f7da4d87ced09bd4188e2c9.tar.xz slx-admin-615bbd53ab498da25f7da4d87ced09bd4188e2c9.zip |
[i18n] changed the hardcoded texts in the sysconfig modules to the i18n system
Diffstat (limited to 'modules/sysconfig/addmodule_custom.inc.php')
-rw-r--r-- | modules/sysconfig/addmodule_custom.inc.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/sysconfig/addmodule_custom.inc.php b/modules/sysconfig/addmodule_custom.inc.php index 11e385d4..561049ca 100644 --- a/modules/sysconfig/addmodule_custom.inc.php +++ b/modules/sysconfig/addmodule_custom.inc.php @@ -6,12 +6,8 @@ * fancy is happening. */ -Page_SysConfig::addModule('custom', 'CustomModule_UploadForm', 'Erweitertes Modul', - 'Mit einem Erweiterten Modul ist es möglich, beliebige Dateien zum Grundsystem hinzuzufügen.' - . ' Nutzen Sie dieses Modul, um z.B. spezielle Konfigurationsdateien auf den Client PCs zu' - . ' verwenden, die sich nicht mit einem der anderen Wizards erstellen lässt.' - . ' Das Hinzufügen eines Erweiterten Moduls erfordert in der Regel zumindest grundlegende' - . ' Systemkenntnisse im Linuxbereich.', Dictionary::translate('lang_generic'), false, 100 +Page_SysConfig::addModule('custom', 'CustomModule_UploadForm', Dictionary::translate('lang_generic'), + Dictionary::translate('lang_addCustomModuleInfo'), Dictionary::translate('lang_generic'), false, 100 ); class CustomModule_UploadForm extends AddModule_Base @@ -20,7 +16,7 @@ class CustomModule_UploadForm extends AddModule_Base protected function renderInternal() { Session::set('mod_temp', false); - Render::addDialog('Eigenes Modul hinzufügen', false, 'sysconfig/custom-upload', array( + Render::addDialog(Dictionary::translate('lang_addCustomModule'), false, 'sysconfig/custom-upload', array( 'step' => 'CustomModule_ProcessUpload' )); } @@ -92,7 +88,7 @@ class CustomModule_ProcessUpload extends AddModule_Base $list[] = $file; } } - Render::addDialog('Eigenes Modul hinzufügen', false, 'sysconfig/custom-fileselect', array( + Render::addDialog(Dictionary::translate('lang_addCustomModule'), false, 'sysconfig/custom-fileselect', array( 'step' => 'CustomModule_CompressModule', 'files' => $list, )); |