aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2013-04-21 16:14:33 +0200
committerGaëtan Muller <m.gaetan89@gmail.com>2013-04-21 17:38:49 +0200
commit802fbbb444a580698b130fa54754d26c12321c00 (patch)
treef618602098ef97be82171746f229ac58cb47cbaf
parent453f98f6d3528ee0598581973f8c8a9bbcdcb25a (diff)
downloadforums-802fbbb444a580698b130fa54754d26c12321c00.tar
forums-802fbbb444a580698b130fa54754d26c12321c00.tar.gz
forums-802fbbb444a580698b130fa54754d26c12321c00.tar.bz2
forums-802fbbb444a580698b130fa54754d26c12321c00.tar.xz
forums-802fbbb444a580698b130fa54754d26c12321c00.zip
[ticket/9975] Translate missing style error message
The error message about missing style data was not translated PHPBB3-9975
-rw-r--r--phpBB/includes/session.php2
-rw-r--r--phpBB/language/en/common.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index b93f2ff65e..fe5357f32e 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1661,7 +1661,7 @@ class user extends session
if (!$this->theme)
{
- trigger_error('Could not get style data', E_USER_ERROR);
+ trigger_error('NO_STYLE_DATA', E_USER_ERROR);
}
// Now parse the cfg file and cache it
diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index 6dd390ed24..baf398b146 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -391,6 +391,7 @@ $lang = array_merge($lang, array(
'NO_POSTS_TIME_FRAME' => 'No posts exist inside this topic for the selected time frame.',
'NO_FEED_ENABLED' => 'Feeds are not available on this board.',
'NO_FEED' => 'The requested feed is not available.',
+ 'NO_STYLE_DATA' => 'Could not get style data',
'NO_SUBJECT' => 'No subject specified', // Used for posts having no subject defined but displayed within management pages.
'NO_SUCH_SEARCH_MODULE' => 'The specified search backend doesn’t exist.',
'NO_SUPPORTED_AUTH_METHODS' => 'No supported authentication methods.',