[ticket/649] Properly load language for permission settings in ACP

B3P-649
This commit is contained in:
Marc Alexander
2015-09-13 23:03:10 +02:00
parent 0845725ded
commit 12781a6fc8
13 changed files with 248 additions and 23 deletions

View File

@@ -42,7 +42,4 @@ $lang = array_merge($lang, array(
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Portaalinstellingen veranderd</strong><br />&raquo; Evenement gewijzigd: %s ',
'LOG_PORTAL_EVENT_REMOVED' => '<strong>Portaalinstellingen veranderd</strong><br />&raquo; Evenement verwijderd: %s ',
'LOG_PORTAL_CONFIG' => '<strong>Portaalinstellingen veranderd</strong><br />&raquo; %s',
// Adding the permissions
'ACL_A_MANAGE_PORTAL' => 'Kan portaalinstellingen wijzigen',
'ACL_U_VIEW_PORTAL' => 'Kan portaal bekijken',
));

View File

@@ -0,0 +1,39 @@
<?php
/**
*
* @package Board3 Portal v2.1
* @copyright (c) 2015 Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// 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(
// Adding the permissions
'ACL_A_MANAGE_PORTAL' => 'Kan portaalinstellingen wijzigen',
'ACL_U_VIEW_PORTAL' => 'Kan portaal bekijken',
));