Template/Update (Part 40)

* convert 'guides' (listing, viewing, writing & management)
 * don't allow comments on WIP guides
This commit is contained in:
Sarjuuk
2025-08-18 00:22:24 +02:00
parent cb523353fd
commit fef27c58e6
38 changed files with 1437 additions and 1165 deletions

View File

@@ -167,20 +167,20 @@ $lang = array(
'myGuides' => "My Guides",
'editTitle' => "Edit your Guide",
'newTitle' => "Create New Guide",
'author' => "Author",
'spec' => "Specialization",
'author' => "Author: ",
'spec' => "Specialization: ",
'sticky' => "Sticky Status",
'views' => "Views",
'views' => "Views: ",
'patch' => "Patch",
'added' => "Added",
'rating' => "Rating",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] votes) [span id=guiderating][/span]",
'added' => "Added: ",
'rating' => "Rating: ",
'votes' => "[span id=guiderating-value]%.2g[/span]/5 ([span id=guiderating-votes][n5=%d][/span] votes) [span id=guiderating][/span]",
'noVotes' => "not enough votes [span id=guiderating][/span]",
'byAuthor' => "By %s",
'notFound' => "This guide doesn't exist.",
'clTitle' => 'Changelog For "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => 'Status set to %s',
'clCreated' => 'Created',
'clStatusSet' => 'Status set to %s: ',
'clCreated' => 'Created: ',
'clMinorEdit' => 'Minor Edit',
'editor' => array(
'fullTitle' => 'Full Title',
@@ -188,7 +188,7 @@ $lang = array(
'name' => 'Name',
'nameTip' => 'This should be a simple and clear name of what the guide is, for use in places like menus and guide lists.',
'description' => 'Description',
'descriptionTip' => 'Description that will be used for search engines.&lt;br&gt;&lt;br&gt;If left empty, it will be generated automatically.',
'descriptionTip' => "Description that will be used for search engines.<br /> <br />If left empty, it will be generated automatically.",
// 'commentEmail' => 'Comment Emails',
// 'commentEmailTip' => 'Should the author get emailed whenever a user comments on this guide?',
'changelog' => 'Changelog For This Edit',
@@ -203,11 +203,11 @@ $lang = array(
'testGuide' => 'See how your guide will look',
'images' => 'Images',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Your guide is in &quot;Draft&quot; status and you are the only one able to see it. Keep editing it as long as you like, and when you feel it&apos;s ready submit it for review.',
GUIDE_STATUS_REVIEW => 'Your guide is being reviewed.',
GUIDE_STATUS_APPROVED => 'Your guide has been published.',
GUIDE_STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GUIDE_STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
GuideMgr::STATUS_DRAFT => 'Your guide is in &quot;Draft&quot; status and you are the only one able to see it. Keep editing it as long as you like, and when you feel it&apos;s ready submit it for review.',
GuideMgr::STATUS_REVIEW => 'Your guide is being reviewed.',
GuideMgr::STATUS_APPROVED => 'Your guide has been published.',
GuideMgr::STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GuideMgr::STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
)
),
'category' => array(