From 615bbd53ab498da25f7da4d87ced09bd4188e2c9 Mon Sep 17 00:00:00 2001 From: raul Date: Tue, 1 Jul 2014 11:34:38 -0300 Subject: [i18n] changed the hardcoded texts in the sysconfig modules to the i18n system --- modules/sysconfig/addmodule_custom.inc.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'modules/sysconfig/addmodule_custom.inc.php') 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, )); -- cgit v1.2.3-55-g7522