1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

#220 - First batch of forum LAN rewrite: forum, viewforum, viewtopic and post are done. Work in progress! (#6)

This commit is contained in:
Moc
2013-06-12 21:37:54 +02:00
parent 0e75ada2a9
commit ff2c2e5c6d
37 changed files with 666 additions and 442 deletions

View File

@@ -1,19 +1,263 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/languages/English/lan_forum.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
*
* Forum plugin - frontend language file
*
*/
define("e_PAGETITLE", "Forum");
// MAJOR REWRITE IN PROGRESS BY MOC, DO NOT EDIT THIS FILE UNTIL THIS MESSAGE HAS BEEN REMOVED PLEASE!
/*
Even though all the forum LAN's are shared accross the entire plugin, here's some general direction:
- 0xxx => forum.php
- 1xxx => forum_viewforum.php
- 2xxx => forum_viewtopic.php
- 3xxx => forum_post.php
This is done to offer flexibility when changing or adding in new LAN defines.
vf, vt, etc. in the comments refer to the LAN defined in the previously separate language files:
vf = viewforum, vt = viewtopic, p = post, etc.
*/
define("e_PAGETITLE", "Forum");
// forum.php (forum_template)
define("LAN_FORUM_0001", "Forum"); // LAN_46
define("LAN_FORUM_0002", "Topics"); // LAN_47 / FORLAN_21
define("LAN_FORUM_0003", "Replies"); // LAN_48 / LAN_55
define("LAN_FORUM_0004", "Last Post"); // LAN_49 / FORLAN_22 / LAN_57
define("LAN_FORUM_0005", "This forum is restricted to administrators only"); // LAN_406
define("LAN_FORUM_0006", "This forum is restricted to members only"); // LAN_407
define("LAN_FORUM_0007", "This is a read-only forum"); // LAN_408
define("LAN_FORUM_0008", "This is a class restricted forum"); // LAN_409
define("LAN_FORUM_0009", "Information"); // LAN_191
define("LAN_FORUM_0010", "Top Posters"); // LAN_429
define("LAN_FORUM_0011", "Most Active Topics"); // LAN_430
define("LAN_FORUM_0012", "My Posts"); // LAN_431
define("LAN_FORUM_0013", "My Settings"); // LAN_432
define("LAN_FORUM_0014", "My Profile"); // LAN_435
define("LAN_FORUM_0015", "My Uploads"); // FORLAN_442
define("LAN_FORUM_0016", "Forum Rules"); // LAN_433
define("LAN_FORUM_0017", "View forum statistics"); // LAN_441
define("LAN_FORUM_0018", "Welcome"); // LAN_30
define("LAN_FORUM_0019", "There are no new posts"); // LAN_31
define("LAN_FORUM_0020", "There is one new post "); // LAN_32
define("LAN_FORUM_0021", "There are"); // LAN_33
define("LAN_FORUM_0022", "new posts"); // LAN_34
define("LAN_FORUM_0023", "since your last visit."); // LAN_35
define("LAN_FORUM_0024", "You last visited at "); // LAN_36
define("LAN_FORUM_0025", "It is now"); // LAN_37
//define("LAN_FORUM_0026", ", all times are "); // LAN_38
define("LAN_FORUM_0027", "You have read"); // LAN_196
define("LAN_FORUM_0028", "of these posts."); // LAN_197
define("LAN_FORUM_0029", "All new posts have been read."); // LAN_198
define("LAN_FORUM_0030", "List tracked topics"); // LAN_393
define("LAN_FORUM_0031", "The users of this forum have made a total of [x] posts."); // LAN_192 and LAN_404
define("LAN_FORUM_0032", "topic"); // LAN_411
define("LAN_FORUM_0033", "topics"); // LAN_413
define("LAN_FORUM_0034", "reply"); // LAN_412
define("LAN_FORUM_0035", "replies"); // LAN_414
define("LAN_FORUM_0036", "Who's Online"); // LAN_426
define("LAN_FORUM_0037", "View detailed list"); // LAN_427
define("LAN_FORUM_0038", "(Will open in a new window)"); // LAN_436
define("LAN_FORUM_0039", "New posts"); // LAN_79 // LAN_79 (vf)
define("LAN_FORUM_0040", "No new posts"); // LAN_80 / LAN_80 (vf)
define("LAN_FORUM_0041", "Closed forum"); // LAN_394
//define("LAN_FORUM_0042", "Search"); /// LAN_180 => Generic term, moved to e107_languages/English.php LAN_SEARCH
define("LAN_FORUM_0043", "You can start new topics"); // LAN_204 // FIXME "can / cannot" in bold? 0043-0048
define("LAN_FORUM_0044", "You cannot start new topics"); // LAN_205
define("LAN_FORUM_0045", "You can post replies"); // LAN_206
define("LAN_FORUM_0046", "You cannot post replies"); // LAN_207
define("LAN_FORUM_0047", "You can edit your posts"); // LAN_208
define("LAN_FORUM_0048", "You cannot edit your posts"); // LAN_209
// FIXME LAN - check if this section (0049 - 0055) could use some LAN optimization
define("LAN_FORUM_0049", "Welcome guest"); // LAN_410
define("LAN_FORUM_0050", "These forums can be used by non-registered users, but please be aware that your IP address will be logged if you make a post.<br />To access the full features of this forum you will need to"); // LAN_44 // FIXME <br />
define("LAN_FORUM_0051", "register"); // LAN_437
define("LAN_FORUM_0052", "and login."); // LAN_438
define("LAN_FORUM_0053", "These forums can only be posted to by registered and logged in members, please click"); // LAN_45
define("LAN_FORUM_0054", "here"); // LAN_438
define("LAN_FORUM_0055", "to go to the registration page."); // LAN_440
define("LAN_FORUM_0056", "Restricted Access"); // LAN_405
define("LAN_FORUM_0057", "Mark all posts as read"); // LAN_199
define("LAN_FORUM_0058", "Show new posts"); // LAN_421
// FIXME LAN - check if this section (0059 - 0064) could use some LAN optimization
define("LAN_FORUM_0059", "user is browsing the forums at the moment"); // LAN_415 / LAN_405 (vf)
define("LAN_FORUM_0060", "users are browsing the forums at the moment"); //LAN_416 / LAN_406 (vf)
define("LAN_FORUM_0061", "member"); // LAN_417 / LAN_407 (vf)
define("LAN_FORUM_0062", "members"); // LAN_419 / LAN_409 (vf)
define("LAN_FORUM_0063", "guest"); // LAN_418 / LAN_408 (vf)
define("LAN_FORUM_0064", "guests"); // LAN_420 / LAN_410 (vf)
define("LAN_FORUM_0065", "Newest member:"); // LAN_41
define("LAN_FORUM_0066", "Registered members:"); // LAN_42
define("LAN_FORUM_0067", "No forums yet, please check back soon."); // LAN_51
define("LAN_FORUM_0068", "No forums in this section yet, please check back soon."); // LAN_52
define('LAN_FORUM_0069', 'Sub-forums'); // FORLAN_444
define("LAN_FORUM_0070", "Cancel Topic Tracking"); // LAN_392
define("LAN_FORUM_0071", "Forum Rules"); // LAN_433
define("LAN_FORUM_0072", "No rules defined."); // FORLAN_441
define("LAN_FORUM_0073", "Tracked topics"); // LAN_397
define("LAN_FORUM_0074", "Posted by"); // LAN_423
define("LAN_FORUM_0075", "New topics"); // LAN_424
// starting at LAN_FORUM_1xxx => forum_viewforum.php
define("LAN_FORUM_1001", "Forums"); // LAN_01
define("LAN_FORUM_1002", "Sub-forum"); // FORLAN_20
define("LAN_FORUM_1003", "Topic"); // LAN_55
define("LAN_FORUM_1004", "Starter"); // LAN_54
define("LAN_FORUM_1005", "Views"); // LAN_56
define("LAN_FORUM_1006", "Important Topics"); // LAN_411 (vf)
define("LAN_FORUM_1007", "Forum Topics"); // LAN_412 (vf)
define("LAN_FORUM_1008", "There are no topics in this forum yet."); // LAN_58
define("LAN_FORUM_1009", "This forum is moderated by"); // LAN_404
define("LAN_FORUM_1010", "[popular]"); // LAN_395 (vf)
define("LAN_FORUM_1011", "Sticky"); // LAN_202
define("LAN_FORUM_1012", "Sticky/Closed"); // LAN_203
define("LAN_FORUM_1013", "Announcement"); // LAN_396
define("LAN_FORUM_1014", "Closed thread"); // LAN_81
define("LAN_FORUM_1015", "[user deleted]"); // FORLAN_19 (vf)
define("LAN_FORUM_1016", "Poll"); // FORLAN_23
define("LAN_FORUM_1017", "Go to"); // LAN_401 (p?)
define("LAN_FORUM_1018", "New topic");
define("LAN_FORUM_1019", "Are you sure?"); // new
// starting at LAN_FORUM_2xxx => forum_viewtopic.php
define("LAN_FORUM_2001", "Previous topic"); // LAN_389
define("LAN_FORUM_2002", "Next topic"); // LAN_390
define("LAN_FORUM_2003", "Moderator(s)"); // LAN_321
define("LAN_FORUM_2004", "This topic is now closed"); // LAN_66
define("LAN_FORUM_2005", "Create a new topic"); // new
define("LAN_FORUM_2006", "Post a reply"); // new
define("LAN_FORUM_2007", "Post a quick reply"); // new
define("LAN_FORUM_2008", "HIDDEN - LOGIN AND REPLY TO REVEAL"); // FORLAN_HIDDEN - used in [hide] bbcode?
define("LAN_FORUM_2009", "Are you sure you want to delete this topic and any replies?"); // LAN_409
define("LAN_FORUM_2010", "Are you sure you want to delete this reply?"); // LAN_410
//define("LAN_FORUM_2011", "posted by"); // LAN_410 // LAN_FORUM_0074
define("LAN_FORUM_2012", "No previous topic"); // LAN_404 (vt)
define("LAN_FORUM_2013", "No next topic"); // LAN_405 (vt)
define("LAN_FORUM_2014", "Author"); // LAN_402 (vt)
define("LAN_FORUM_2015", "Post"); // LAN_403 (vt)
define("LAN_FORUM_2016", "Edited"); // LAN_29
define("LAN_FORUM_2017", "by"); // FORLAN_BY
define("LAN_FORUM_2018", "This post has been reported from site"); // LAN_422 (vt)
define("LAN_FORUM_2019", "Message from"); // LAN_425 (vt)
define("LAN_FORUM_2020", "Forum topic report from"); // LAN_421 (vt)
define("LAN_FORUM_2021", "Post has been reported"); // LAN_428
define("LAN_FORUM_2022", "Click here to return to the forum"); // LAN_429
define("LAN_FORUM_2023", "Report this topic to a moderator"); // LAN_414 (vt)
define("LAN_FORUM_2024", "Reporting post in topic"); // LAN_426
define("LAN_FORUM_2025", "Topic title"); // LAN_415
define("LAN_FORUM_2026", "Click to view post"); // LAN_420
define("LAN_FORUM_2027", "The moderator(s) will be made aware of this topic. You may post a message explaining what you found to be objectionable."); // LAN_417
define("LAN_FORUM_2028", "[Do not] use this form to contact the admin for any other reason."); // LAN_418 - [ and ] are replaced by <b> </b>
define("LAN_FORUM_2029", "Send Report"); // LAN_419
// shortcodes/bach/view_shortcodes.php
define("LAN_FORUM_2030", "Back to top"); // LAN_10
define("LAN_FORUM_2031", "Joined"); // LAN_06
define("LAN_FORUM_2032", "Posts"); // LAN_67
define("LAN_FORUM_2033", "Visits to site since registration"); // LAN_09
define("LAN_FORUM_2034", "Website"); // LAN_08
define("LAN_FORUM_2035", "Registered Member"); // LAN_195
define("LAN_FORUM_2036", "Send Private Message"); // new / LAN_399
define("LAN_FORUM_2037", "Post deleted on"); // new
define("LAN_FORUM_2038", "Reason"); // new
define("LAN_FORUM_2039", "Edit"); // LAN_400
define("LAN_FORUM_2040", "Delete"); // LAN_435 (vf)?
define("LAN_FORUM_2041", "Quote"); // LAN_401
define("LAN_FORUM_2042", "Move"); // FORCONF_25 ?
define("LAN_FORUM_2043", "Split"); // new
define("LAN_FORUM_2044", "Email"); // FORLAN_101
define("LAN_FORUM_2045", "Print"); // FORLAN_102
define("LAN_FORUM_2046", "Report"); // LAN_413
// starting at LAN_FORUM_3xxx => forum_post.php
define("LAN_FORUM_3001", "You are not authorized to post to this forum."); // LAN_399 (p)
define("LAN_FORUM_3002", "This topic is locked."); // LAN_397
define("LAN_FORUM_3003", "Replying to"); // LAN_02 (p)
define("LAN_FORUM_3004", "Anonymous"); // LAN_311
define("LAN_FORUM_3005", "Preview"); // LAN_323
define("LAN_FORUM_3006", "Duplicate post"); // LAN_FORUM_2
define("LAN_FORUM_3007", "You left required field(s) blank"); // LAN_27
define("LAN_FORUM_3008", "Unauthorised"); // LAN_95
define("LAN_FORUM_3009", "You are not authorised to edit this forum post."); //LAN_96
define("LAN_FORUM_3010", "Your name"); // LAN_61
define("LAN_FORUM_3011", "Subject"); // LAN_62
define("LAN_FORUM_3012", "Attach file / image"); // LAN_390
define("LAN_FORUM_3013", "Attach file"); // LAN_416
define("LAN_FORUM_3014", "File to attach"); // LAN_392
define("LAN_FORUM_3015", "[Please note]"); // LAN_393 1st half - [ and ] are replaced by <b> </b>
define("LAN_FORUM_3016", "Allowed file types"); // LAN_393 2nd half
define("LAN_FORUM_3017", "Any other file types uploaded will be instantly deleted."); // LAN_394
define("LAN_FORUM_3018", "Maximum file size"); // LAN_395
define("LAN_FORUM_3019", "bytes"); // LAN_396
define("LAN_FORUM_3020", "Add another attachment"); // LAN_417
define("LAN_FORUM_3021", "Uploads disabled: [x] directory is not writable"); // LAN_FORUM_1 - [x] will be replaced automatically
define("LAN_FORUM_3022", "Latest [y] replies"); // LAN_101 and LAN_102 - [y] will be replaced automatically
// shortcodes/bach/post_shortcodes.php
define("LAN_FORUM_3023", "Update topic"); // LAN_77
define("LAN_FORUM_3024", "Update reply"); // LAN_78
define("LAN_FORUM_3025", "Type"); // new
define("LAN_FORUM_3026", "Post topic as"); // LAN_400 (p)
//define("LAN_FORUM_3027", "Type"); // new
// poll - partly in e107_plugins/poll/poll_class.php
define("LAN_FORUM_3028", "Add Poll"); // new
define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386
define("LAN_FORUM_3030", "Poll question"); // LAN_5
define("LAN_FORUM_3031", "Poll answer"); // LAN_391
define("LAN_FORUM_3032", "Add another answer"); // LAN_6
define("LAN_FORUM_3033", "Allow multiple choices?"); // LAN_506
define("LAN_FORUM_3034", "Vote storage method"); // POLLAN_16
define("LAN_FORUM_3035", "Cookie"); // POLLAN_17
define("LAN_FORUM_3036", "IP address"); // POLLAN_18
define("LAN_FORUM_3037", "User ID (only members can vote)"); // POLLAN_19
define("LAN_FORUM_3038", "Normal"); // LAN_1
define("LAN_FORUM_3039", "Sticky"); // LAN_2
define("LAN_FORUM_3040", "Announcement"); // LAN_3
define("LAN_FORUM_3041", "Deactivate emoticons for this post"); // LAN_FORUMPOST_EMOTES
define("LAN_FORUM_3042", "Enable email tracking (email sent when reply is posted)"); // LAN_380
/* THIS WILL BE DELETED ONCE THE REWRITE IS DONE
==================================================
define("LAN_01", "Forums");
define("LAN_02", "Go to page");
define("LAN_03", "Go");
@@ -157,7 +401,7 @@ define("LAN_402", "This forum is read only");
define("LAN_403", "No posts yet");
define("LAN_404", "posts");
define("LAN_405", "Restricted Access");
define("LAN_406", "This forum is restricted to administrators only");
define("LAN_407", "This forum is restricted to members only");
@@ -315,6 +559,6 @@ define("LAN_FORUM_1", "Uploads disabled: ".e_FILE."public directory is not writa
define("LAN_FORUM_2", "Duplicate post");
define('LAN_FORUMPOST_EMOTES', 'Deactivate emoticons for this post');
*/
?>

View File

@@ -9,6 +9,9 @@
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, SUBJECT TO REMOVAL
define("FORCONF_5", "Poll deleted.");
define("FORCONF_6", "Thread deleted");
define("FORCONF_7", "replies deleted");
@@ -41,4 +44,5 @@ define("FORCONF_31", "Rename to:");
define("FORCONF_32", "Rename thread options:");
?>

View File

@@ -10,6 +10,8 @@
+----------------------------------------------------------------------------+
*/
define("FOR_FP_1", "Forum");
// DEPRECATED - up for removal
//define("FOR_FP_1", "Forum");
?>

View File

@@ -9,6 +9,10 @@
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, SUBJECT TO REMOVAL
/*
define("PAGE_NAME", "Forum");
define("LAN_01", "Forums");
@@ -112,5 +116,5 @@ define("LAN_FORUM_1", "Uploads disabled: ".e_FILE."public directory is not writa
define("LAN_FORUM_2", "Duplicate post");
define('LAN_FORUMPOST_EMOTES', 'Deactivate emoticons for this post');
*/
?>

View File

@@ -9,9 +9,10 @@
| $Author$
+----------------------------------------------------------------------------+
*/
// DEPRECATED, MOVED TO ENGLISH_FRONT.PHP - THIS WILL BE REMOVED SOON!
/*
define("PAGE_NAME", "Forum");
// define("LAN_79", "New posts");
//define("LAN_80", " No new posts");
// define("LAN_81", "Closed thread");
@@ -58,6 +59,7 @@ define("LAN_396", "Announcement");
//define("LAN_435", "Delete thread");
//v.617
define("FORLAN_CLOSE", "Thread closed.");
define("FORLAN_OPEN", "Thread reopened.");
define("FORLAN_STICK", "Thread made sticky.");
@@ -81,5 +83,5 @@ define('FORLAN_20', 'Sub-forum');
define('FORLAN_21', 'Threads');
define('FORLAN_22', 'Last Post');
define('FORLAN_23', 'Poll');
*/
?>

View File

@@ -1,5 +1,5 @@
<?php
/*
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
@@ -9,6 +9,7 @@
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "Forum");
// DEPRECATED, UP FOR REMOVAL AFTER REWRITE
//define("PAGE_NAME", "Forum");
?>