aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-27 00:30:59 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-27 00:30:59 +0000
commit5a6f39905247887c01889a35288a2bf6d2820b34 (patch)
treee7332655151429a383036a8c954d34bf8cc032e5 /phpBB
parent7d7c3a53fbdf2a818db6a1001b79d265455d68a4 (diff)
downloadforums-5a6f39905247887c01889a35288a2bf6d2820b34.tar
forums-5a6f39905247887c01889a35288a2bf6d2820b34.tar.gz
forums-5a6f39905247887c01889a35288a2bf6d2820b34.tar.bz2
forums-5a6f39905247887c01889a35288a2bf6d2820b34.tar.xz
forums-5a6f39905247887c01889a35288a2bf6d2820b34.zip
A 'not quite a Pauls up' + short date format
git-svn-id: file:///svn/phpbb/trunk@1460 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/language/lang_english/lang_main.php61
-rw-r--r--phpBB/memberlist.php2
-rw-r--r--phpBB/viewtopic.php2
3 files changed, 54 insertions, 11 deletions
diff --git a/phpBB/language/lang_english/lang_main.php b/phpBB/language/lang_english/lang_main.php
index 4206da5a69..8e5ea288d6 100644
--- a/phpBB/language/lang_english/lang_main.php
+++ b/phpBB/language/lang_english/lang_main.php
@@ -36,7 +36,7 @@ $lang['ENCODING'] = "utf-8";
$lang['DIRECTION'] = "LTR";
$lang['LEFT'] = "LEFT";
$lang['RIGHT'] = "RIGHT";
-
+$lang['DATE_FORMAT'] = "d M Y"; // This should be changed to the default date format for your language, php date() format
//
// Common, these terms are used
@@ -114,6 +114,8 @@ $lang['Click_return_group'] = "Click %sHere%s to return to group information";
$lang['Admin_panel'] = "Go to Administration Panel";
+$lang['Board_disable'] = "Sorry but this board is currently unavailable, please try again later";
+
//
// Global Header strings
@@ -221,6 +223,8 @@ $lang['Rules_vote_can'] = "You <b>can</b> vote in polls in this forum";
$lang['Rules_vote_cannot'] = "You <b>cannot</b> vote in polls in this forum";
$lang['Rules_moderate'] = "You <b>can</b> %smoderate this forum%s"; // %s replaced by a href links, do not remove!
+$lang['No_topics_post_one'] = "There are no posts in this forum<br />Click on the <b>Post New Topic</b> link on this page to post one";
+
//
// Viewtopic
@@ -449,7 +453,7 @@ $lang['Occupation'] = "Occupation";
$lang['Poster_rank'] = "Poster rank";
$lang['Total_posts'] = "Total posts";
-$lang['User_post_pct_stats'] = "%d%% of total"; // 15% of total
+$lang['User_post_pct_stats'] = "%.2f%% of total"; // 1.25% of total
$lang['User_post_day_stats'] = "%.2f posts per day"; // 1.5 posts per day
$lang['Search_user_posts'] = "Find all posts by %s"; // Find all posts by username
@@ -696,6 +700,11 @@ $lang['Users_granted_access'] = "<b>users granted special access</b>";
$lang['Moderators'] = "<b>moderators</b>";
$lang['Administrators'] = "<b>administrators</b>";
+$lang['Not_Moderator'] = "You are not a moderator of this forum";
+$lang['Not_Authorised'] = "Not Authorised";
+
+$lang['You_been_banned'] = "You have been banned from this forum<br />Please contact the webmaster or board administrator for more information";
+
//
// Viewonline
@@ -836,6 +845,47 @@ $lang['tz']['10'] = "(GMT +10:00 hours) Melbourne, Papua New Guinea, Sydney, Vla
$lang['tz']['11'] = "(GMT +11:00 hours) Magadan, New Caledonia, Solomon Islands";
$lang['tz']['12'] = "(GMT +12:00 hours) Auckland, Wellington, Fiji, Marshall Island";
+$lang['days_long'][0] = "Sunday";
+$lang['days_long'][1] = "Monday";
+$lang['days_long'][2] = "Tuesday";
+$lang['days_long'][3] = "Wednesday";
+$lang['days_long'][4] = "Thursday";
+$lang['days_long'][5] = "Friday";
+$lang['days_long'][6] = "Saturday";
+
+$lang['days_short'][0] = "Sun";
+$lang['days_short'][1] = "Mon";
+$lang['days_short'][2] = "Tue";
+$lang['days_short'][3] = "Web";
+$lang['days_short'][4] = "Thu";
+$lang['days_short'][5] = "Fri";
+$lang['days_short'][6] = "Sat";
+
+$lang['months_long'][0] = "January";
+$lang['months_long'][1] = "February";
+$lang['months_long'][2] = "March";
+$lang['months_long'][3] = "April";
+$lang['months_long'][4] = "May";
+$lang['months_long'][5] = "June";
+$lang['months_long'][6] = "July";
+$lang['months_long'][7] = "August";
+$lang['months_long'][8] = "September";
+$lang['months_long'][9] = "October";
+$lang['months_long'][10] = "November";
+$lang['months_long'][11] = "December";
+
+$lang['months_short'][0] = "Jan";
+$lang['months_short'][1] = "Feb";
+$lang['months_short'][2] = "Mar";
+$lang['months_short'][3] = "Apr";
+$lang['months_short'][4] = "May";
+$lang['months_short'][5] = "Jun";
+$lang['months_short'][6] = "Jul";
+$lang['months_short'][7] = "Aug";
+$lang['months_short'][8] = "Sep";
+$lang['months_short'][9] = "Oct";
+$lang['months_short'][10] = "Nov";
+$lang['months_short'][11] = "Dec";
//
// Errors (not related to a
@@ -844,10 +894,6 @@ $lang['tz']['12'] = "(GMT +12:00 hours) Auckland, Wellington, Fiji, Marshall Isl
$lang['Information'] = "Information";
$lang['Critical_Information'] = "Critical Information";
-$lang['You_been_banned'] = "You have been banned from this forum<br />Please contact the webmaster or board administrator for more information";
-$lang['No_topics_post_one'] = "There are no posts in this forum<br />Click on the <b>Post New Topic</b> link on this page to post one";
-$lang['Board_disable'] = "Sorry but this board is currently unavailable, please try again later";
-
$lang['General_Error'] = "General Error";
$lang['Critical_Error'] = "Critical Error";
$lang['An_error_occured'] = "An Error Occured";
@@ -855,9 +901,6 @@ $lang['A_critical_error'] = "A Critical Error Occured";
$lang['Error_login'] = "You have specified an incorrect or inactive username or an invalid password";
-$lang['Not_Moderator'] = "You are not a moderator of this forum";
-$lang['Not_Authorised'] = "Not Authorised";
-
//
// That's all Folks!
// -------------------------------------------------
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 9bcb177e72..793e3e8288 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -172,7 +172,7 @@ if(($selected_members = $db->sql_numrows($result)) > 0)
$from = (!empty($members[$i]['user_from'])) ? stripslashes($members[$i]['user_from']) : "&nbsp;";
- $joined = create_date($board_config['default_dateformat'], $members[$i]['user_regdate'], $board_config['board_timezone']);
+ $joined = create_date($lang['DATE_FORMAT'], $members[$i]['user_regdate'], $board_config['board_timezone']);
$posts = ($members[$i]['user_posts']) ? $members[$i]['user_posts'] : 0;
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index eaa6cd210c..5869f0e6df 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -719,7 +719,7 @@ for($i = 0; $i < $total_posts; $i++)
$poster_from = ($postrow[$i]['user_from'] && $postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Location'] . ": " . $postrow[$i]['user_from'] : "";
- $poster_joined = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Joined'] . ": " . create_date($board_config['default_dateformat'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : "";
+ $poster_joined = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Joined'] . ": " . create_date($lang['DATE_FORMAT'], $postrow[$i]['user_regdate'], $board_config['board_timezone']) : "";
if( $postrow[$i]['user_avatar_type'] && $poster_id != ANONYMOUS )
{