[ticket/246] Fix misspellings in portal files

B3P-246
This commit is contained in:
Marc Alexander
2014-06-08 23:45:11 +02:00
parent 1ac06334b0
commit c4ab45ade1
6 changed files with 7 additions and 9 deletions

View File

@@ -175,7 +175,7 @@ class main
continue;
}
// Do not try to load non-existant modules
// Do not try to load non-existent modules
if (!isset($this->modules[$row['module_classname']]))
{
if (file_exists("{$this->includes_path}modules/portal_{$row['module_classname']}{$this->php_ext}"))

View File

@@ -2,14 +2,12 @@
/**
*
* @package Board3 Portal v2.1
* @copyright (c) 2013 Board3 Group ( www.board3.de )
* @copyright (c) 2014 Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
// this file is not really needed, when empty it can be ommitted
// however you can override the default methods and add custom
// installation logic
// This file is needed for phpBB3 to properly register the extension
namespace board3\portal;

View File

@@ -453,7 +453,7 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
break;
default:
// this shouldn't happend @todo: use trigger_error()
// this shouldn't happen but default to announcements
$pagination_type = 'ap';
$anker = '#a';
}

View File

@@ -322,7 +322,7 @@ class portal_upload
/**
* @author Michal Nazarewicz (from the php manual)
* Creates all non-existant directories in a path
* Creates all non-existent directories in a path
* @param $path - path to create
* @param $mode - CHMOD the new dir to these permissions
* @return bool

View File

@@ -351,7 +351,7 @@ class phpbb_trim_message_bbcodes
}
/**
* Get the length of the content (substract code for smilie and url parsing)
* Get the length of the content (subtract code for smilie and url parsing)
*
* @param string $content Message to get the content length from
* Exp: <markup>text<markup2>

View File

@@ -98,7 +98,7 @@ $lang = array_merge($lang, array(
'LINK_ADDED' => 'Der Link wurde erfolgreich eingetragen',
'LINK_UPDATED' => 'Der Link wurde erfolgreich geändert',
'LOG_PORTAL_LINK_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />&raquo; Link hinzu gefügt: %s ',
'LOG_PORTAL_LINK_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />&raquo; Link hinzugefügt: %s ',
'LOG_PORTAL_LINK_UPDATED' => '<strong>Portal-Einstellungen geändert</strong><br />&raquo; Link geändert: %s ',
'LOG_PORTAL_LINK_REMOVED' => '<strong>Portal-Einstellungen geändert</strong><br />&raquo; Link gelöscht: %s ',
'LOG_PORTAL_EVENT_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />&raquo; Termin eingetragen: %s ',