Added check to prevent adding a module more than once

Few small bugfixes
This commit is contained in:
Marc Alexander
2011-04-23 18:48:56 +02:00
parent ff8f71fc60
commit a3c23052bf
16 changed files with 40 additions and 34 deletions

View File

@@ -71,6 +71,7 @@ $lang = array_merge($lang, array(
'MODULE_RESET' => 'Modul Einstellungen zurücksetzen',
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!',
'MODULE_STATUS' => 'Aktiviere Modul',
'MODULE_ADD_ONCE' => 'Diese Modul kann nur ein Mal hinzugefügt werden.',
// general
'ACP_PORTAL' => 'Portal',

View File

@@ -33,7 +33,8 @@ if (empty($lang) || !is_array($lang))
// 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_BOTS' => 'Letzte Bots',
'LAST_VISITED_BOTS' => 'Die letzten %s Bots',
'LAST_VISITED_BOTS' => 'Die letzten Bots',
'LAST_VISITED_BOTS_CNT' => 'Die letzten %s Bots',
// ACP
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',

View File

@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
'MODULE_RESET' => 'Reset module configuration',
'MODULE_RESET_EXP' => 'This will reset all settings to the default!',
'MODULE_STATUS' => 'Enable module',
'MODULE_ADD_ONCE' => 'This module can only be added once.',
// general
'ACP_PORTAL' => 'Portal',

View File

@@ -33,7 +33,8 @@ if (empty($lang) || !is_array($lang))
// 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_BOTS' => 'Latest Bots',
'LAST_VISITED_BOTS' => 'Last %s visited bots',
'LAST_VISITED_BOTS' => 'Last visited bots',
'LAST_VISITED_BOTS_CNT' => 'Last %s visited bots',
// ACP
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',