Added module language files to German language folder -- still need to be translated;

Fixed undefined error in acp_portal.php caused by old code; 
Fixed undefined error in portal.php if Portal is accessed after it has been uninstalled -- now it redirects to Index;
This commit is contained in:
Marc Alexander
2010-11-30 09:01:57 +00:00
parent 3c4285a504
commit c196b2b0c5
29 changed files with 1173 additions and 182 deletions

View File

@@ -33,14 +33,10 @@ if (empty($lang) || !is_array($lang))
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
// @todo: check for unneeded language variables
// @todo: change language variables to English ones
// not possible: merge into mods/portal/
$lang = array_merge($lang, array(
// Portal Modules
'ACP_PORTAL_MODULES' => 'Portal Modules',
'ACP_PORTAL_MODULES_EXP' => 'You can manage your portal modules here. If you turn off all modules, please also disable the Portal.',
'ACP_PORTAL_MODULES_EXP' => 'You can manage your portal modules here. If you turn off all modules, please also disable the Portal.',
'MODULE_POS_TOP' => 'Top',
'MODULE_POS_LEFT' => 'Left column',
@@ -49,9 +45,10 @@ $lang = array_merge($lang, array(
'MODULE_POS_BOTTOM' => 'Bottom',
'ADD_MODULE' => 'Add module',
'CHOOSE_MODULE' => 'Choose module',
'CHOOSE_MODULE_EXP' => 'Choose a module from the drop-down list',
'CHOOSE_MODULE_EXP' => 'Choose a module from the drop-down list',
'SUCCESS_ADD' => 'The module was added successfully.',
'SUCCESS_DELETE' => 'The module was removed successfully.',
'NO_MODULES' => 'No modules have been detected.',
'MODULE_OPTIONS' => 'Module options',
'MODULE_NAME' => 'Module name',

View File

@@ -37,6 +37,5 @@ if (empty($lang) || !is_array($lang))
// Common
$lang = array_merge($lang, array(
'PORTAL' => 'Portal',
'NO_MODULES' => 'No modules have been detected.',
));
?>

View File

@@ -31,22 +31,21 @@ if (empty($lang) || !is_array($lang))
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
'LATEST_ANNOUNCEMENTS' => 'Latest global announcements',
'GLOBAL_ANNOUNCEMENTS' => 'Global announcements',
'GLOBAL_ANNOUNCEMENT' => 'Global announcement',
'VIEW_LATEST_ANNOUNCEMENT' => '1 announcement',
'VIEW_LATEST_ANNOUNCEMENTS' => '%d announcements',
'READ_FULL' => 'Read all',
'NO_ANNOUNCEMENTS' => 'No global announcements',
'POSTED_BY' => 'Poster',
'COMMENTS' => 'Comments',
'VIEW_COMMENTS' => 'View comments',
'POST_REPLY' => 'Write comments',
'TOPIC_VIEWS' => 'Views',
'JUMP_NEWEST' => 'Jump to newest post',
'JUMP_FIRST' => 'Jump to first post',
'JUMP_TO_POST' => 'Jump to post',
'BACK' => 'Back',
'LATEST_ANNOUNCEMENTS' => 'Latest global announcements',
'GLOBAL_ANNOUNCEMENTS' => 'Global announcements',
'GLOBAL_ANNOUNCEMENT' => 'Global announcement',
'VIEW_LATEST_ANNOUNCEMENT' => '1 announcement',
'VIEW_LATEST_ANNOUNCEMENTS' => '%d announcements',
'READ_FULL' => 'Read all',
'NO_ANNOUNCEMENTS' => 'No global announcements',
'POSTED_BY' => 'Poster',
'COMMENTS' => 'Comments',
'VIEW_COMMENTS' => 'View comments',
'POST_REPLY' => 'Write comments',
'TOPIC_VIEWS' => 'Views',
'JUMP_NEWEST' => 'Jump to newest post',
'JUMP_FIRST' => 'Jump to first post',
'JUMP_TO_POST' => 'Jump to post',
// ACP
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Global announcements settings',