mambax7/publisher

View on GitHub
language/english/main.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

/**
 * Module: Publisher
 * Author: The SmartFactory <www.smartfactory.ca>
 * Licence: GNU
 */
define('_MD_PUBLISHER_ADD_FILE_INTRO', "Please fill this form in order to attach a file to this article: '%s'.");
define('_MD_PUBLISHER_ADD_FILE_TITLE', 'Add a file to an article');
define('_MD_PUBLISHER_ADMIN_PAGE', ':: Administrative Section ::');
define('_MD_PUBLISHER_MODIFY', 'Modify');
define('_MD_PUBLISHER_CANCEL', 'Cancel');
define('_MD_PUBLISHER_CATEGORY_EDIT', 'Edit category');
define('_MD_PUBLISHER_CATEGORY_SUMMARY', 'Summary of %s');
define('_MD_PUBLISHER_CATEGORY_SUMMARY_INFO', 'Sub-categories within %s.');
define('_MD_PUBLISHER_CLEAR', 'Clear');
define('_MD_PUBLISHER_COMMENTS', 'Comment(s)');
//define('_MD_PUBLISHER_CREATE','Create article');
define('_MD_PUBLISHER_DATE', 'Date');
define('_MD_PUBLISHER_DATESUB', 'Published on');
define('_MD_PUBLISHER_DESCRIPTION', 'Description');
define('_MD_PUBLISHER_DOWNLOAD_FILE', 'Download this file');
define('_MD_PUBLISHER_EDIT_ARTICLE', 'Edit an article');
define('_MD_PUBLISHER_EMPTY', 'This category currently has no article or sub-category');
define('_MD_PUBLISHER_GOODDAY', 'Hello <strong>%s</strong>! ');
define('_MD_PUBLISHER_HITS', 'Hits');
define('_MD_PUBLISHER_HITSDETAIL', 'This article has been read');
define('_MD_PUBLISHER_HOME', 'Home');
define('_MD_PUBLISHER_INDEX_CATEGORIES_SUMMARY', 'Categories summary');
define('_MD_PUBLISHER_INDEX_CATEGORIES_SUMMARY_INFO', 'Here is a list of the top categories and their sub-categories. Select a category to see the articles within.');
define('_MD_PUBLISHER_INDEX_ITEMS', 'Last published articles');
define('_MD_PUBLISHER_INDEX_ITEMS_INFO', 'Here is a list of the Last published articles.');
define('_MD_PUBLISHER_ITEM', 'article');
define('_MD_PUBLISHER_ITEM_RECEIVED_AND_PUBLISHED', 'Your article has been sent and automatically published. Thank you for your contribution!');
define('_MD_PUBLISHER_ITEM_RECEIVED_NEED_APPROVAL', 'Your article has been sent and will be published upon approval by a moderator.<br>Thank you for your contribution!');
define('_MD_PUBLISHER_ITEMMODIFIED', 'The article was successfully modified!');
define('_MD_PUBLISHER_ITEMS', 'Articles');
define('_MD_PUBLISHER_ITEMS_INFO', 'Here are the articles within this category.');
define('_MD_PUBLISHER_ITEMS_LINKS', 'Navigate through the articles');
define('_MD_PUBLISHER_ITEMS_TITLE', 'Articles within %s');
define('_MD_PUBLISHER_LAST_SMARTITEM', 'Last published article');
define('_MD_PUBLISHER_NAME', 'Name');
define('_MD_PUBLISHER_NEED_CATEGORY_ITEM', 'To create an article, you must have appropriate permission in at least one category.');
define('_MD_PUBLISHER_NEXT_ITEM', 'Next article');
define('_MD_PUBLISHER_NO', 'No');
define('_MD_PUBLISHER_NO_CAT_EXISTS', 'Sorry, there&#8217s no category //defined as yet.<br>Please contact the site administrator and tell him about this.');
define('_MD_PUBLISHER_NO_CAT_PERMISSIONS', "Sorry, you don't have sufficient permissions to access this area.");
define('_MD_PUBLISHER_NO_TOP_PERMISSIONS', 'Sorry, there is no article to display.');
define('_MD_PUBLISHER_NOCATEGORYSELECTED', 'You did not select a valid category!');
define('_MD_PUBLISHER_NOITEMSELECTED', 'You did not select a valid article!');
define('_MD_PUBLISHER_ON', 'on');
define('_MD_PUBLISHER_OTHER_ITEMS', 'Other articles in this category');
define('_MD_PUBLISHER_PAGE', 'Page');
//define('_MD_PUBLISHER_PREVIEW','Preview');
define('_MD_PUBLISHER_PREVIOUS_ITEM', 'Previous article');
define('_MD_PUBLISHER_PRINTERFRIENDLY', 'Print this article in a printer friendly format');
define('_MD_PUBLISHER_READS', 'reads');
define('_MD_PUBLISHER_RSSFEED', 'RSS Feed');
define('_MD_PUBLISHER_SENDSTORY', 'Send this article to a friend');
define('_MD_PUBLISHER_SUB_CLONE', 'Duplicate an article');
define('_MD_PUBLISHER_SUB_SMNAME', 'Submit an article');
define('_MD_PUBLISHER_SUB_SNEWNAME', 'Submit an article');
define('_MD_PUBLISHER_SUBMIT', 'Submit an article');
define('_MD_PUBLISHER_SUBMIT_ERROR', 'An error occurred. Your article was not submitted.');
define('_MD_PUBLISHER_TOTAL_SMARTITEMS', 'Total articles');
define('_MD_PUBLISHER_UPLOAD', 'Upload');
//define('_MD_PUBLISHER_UPLOAD_FILE','Upload a file');
define('_MD_PUBLISHER_VIEW_MORE', 'Read the complete article');
define('_MD_PUBLISHER_WHO_WHEN', 'Published by %s on %s');
define('_MD_PUBLISHER_PRINT_CLOSE', 'Close this window');
//added in publisher
define('_MD_PUBLISHER_VOTE_BAD', 'Bad vote, please try again!');
define('_MD_PUBLISHER_VOTE_ALREADY', 'Sorry, you already voted this item!');
define('_MD_PUBLISHER_VOTE_THANKS', 'Thanks for your vote!');
define('_MD_PUBLISHER_VOTE_VOTE', 'vote');
define('_MD_PUBLISHER_VOTE_VOTES', 'votes');
define('_MD_PUBLISHER_VOTE_RATING', 'Rating');
define('_MD_PUBLISHER_VOTE_DISABLE', 'Voting is disabled!');
define('_MD_PUBLISHER_VOTE_OUTOF', 'out of');
define('_MD_PUBLISHER_ITEMS_SAME_AUTHOR', 'Items by the same author');
define('_MD_PUBLISHER_TOTAL_ITEMS', 'Total items: ');
define('_MD_PUBLISHER_TOTAL_HITS', 'Total hits: ');
define('_MD_PUBLISHER_NO_AUTHOR_ITEMS', 'There is no items by this author');
define('_MD_PUBLISHER_ARCHIVES', 'Article Archives');
define('_MD_PUBLISHER_ACTIONS', 'Actions');
define('_MD_PUBLISHER_PREVIOUSIMG', 'Previous image');
define('_MD_PUBLISHER_NEXTIMG', 'Next Image');
define('_MD_PUBLISHER_CLOSE', 'Close');
define('_MD_PUBLISHER_ENLARGEIMG', 'Enlarge');
define('_MD_PUBLISHER_OF', ' of ');
//1.04
define('_MD_PUBLISHER_ERROR_NO_PDF', 'TCPDF for XOOPS not installed in /class/libraries/vendor/tecnickcom/tcpdf/ <br> Please read the /docs/readme.txt or click on the Help tab to learn how to get it!');
//Lio-MJ
define('_MD_PUBLISHER_READMORE', 'Read more...');
define('_MD_PUBLISHER_CATEGORY', 'Category');
define('_MD_PUBLISHER_POSTER', 'Published by');
define('_MD_PUBLISHER_AUTHOR', 'Author');
define('_MD_PUBLISHER_TOTALHITS', 'hits');
define('_MD_PUBLISHER_ONECOMMENT', '1 comment');
define('_MD_PUBLISHER_NO_COMMENTS', 'No comments');

// ---------------- Contents ----------------
// Category
\define('_MA_PUBLISHER_CATEGORY', 'Category');
\define('_MA_PUBLISHER_CATEGORY_TITLE', 'Category title');
\define('_MA_PUBLISHER_CATEGORY_DESC', 'Category description');
\define('_MA_PUBLISHER_CATEGORY_LIST', 'List of Category');
// Caption of Category
\define('_MA_PUBLISHER_CATEGORY_ID', 'Id');
\define('_MA_PUBLISHER_CATEGORY_NAME', 'Name');
\define('_MA_PUBLISHER_CATEGORY_DESCRIPTION', 'Description');
\define('_MA_PUBLISHER_CATEGORY_IMAGELIST', 'Imagelist');
\define('_MA_PUBLISHER_CATEGORY_IMAGEUPLOAD', 'Imageupload');
\define('_MA_PUBLISHER_CATEGORY_CREATED', 'Created');
\define('_MA_PUBLISHER_CATEGORY_EDITED', 'Edited');
\define('_MA_PUBLISHER_CATEGORY_PUBLISHED', 'Published');
\define('_MA_PUBLISHER_CATEGORY__RATINGS', '_ratings');
\define('_MA_PUBLISHER_CATEGORY__VOTES', '_votes');
// Article
\define('_MA_PUBLISHER_ARTICLE', 'Article');
\define('_MA_PUBLISHER_ARTICLE_DESC', 'Article description');
\define('_MA_PUBLISHER_ARTICLE_LIST', 'List of Article');
// Caption of Article
\define('_MA_PUBLISHER_ARTICLE_ID', 'Id');
\define('_MA_PUBLISHER_ARTICLE_TITLE', 'Title');
\define('_MA_PUBLISHER_ARTICLE_SUMMARY', 'Summary');
\define('_MA_PUBLISHER_ARTICLE_DESCRIPTION', 'Description');
\define('_MA_PUBLISHER_ARTICLE_IMAGE', 'Image');
\define('_MA_PUBLISHER_ARTICLE_CREATED', 'Created');
\define('_MA_PUBLISHER_ARTICLE_EDITED', 'Edited');
\define('_MA_PUBLISHER_ARTICLE_PUBLISHED', 'Published');
\define('_MA_PUBLISHER_ARTICLE_CATEGORY', 'Category');
\define('_MA_PUBLISHER_ARTICLE__RATINGS', '_ratings');
\define('_MA_PUBLISHER_ARTICLE__VOTES', '_votes');
\define('_MA_PUBLISHER_ARTICLE__COMMENTS', '_comments');
\define('_MA_PUBLISHER_INDEX_THEREARE', 'There are %s Article');
\define('_MA_PUBLISHER_INDEX_LATEST_LIST', 'Last Blog');
// Submit
\define('_MA_PUBLISHER_SUBMIT', 'Submit');
// Form
\define('_MA_PUBLISHER_FORM_OK', 'Successfully saved');
\define('_MA_PUBLISHER_FORM_DELETE_OK', 'Successfully deleted');
\define('_MA_PUBLISHER_FORM_SURE_DELETE', "Are you sure to delete: <b><span style='color : Red;'>%s </span></b>");
\define('_MA_PUBLISHER_FORM_SURE_RENEW', "Are you sure to update: <b><span style='color : Red;'>%s </span></b>");
\define('_MA_PUBLISHER_FORM_SURE_BROKEN', "Are you sure to notify as broken: <b><span style='color : Red;'>%s </span></b>");
\define('_MA_PUBLISHER_INVALID_PARAM', 'Invalid parameter');
// ---------------- Ratings ----------------
\define('_MA_PUBLISHER_RATING_CURRENT_1', 'Rating: %c / %m (%t rating totally)');
\define('_MA_PUBLISHER_RATING_CURRENT_X', 'Rating: %c / %m (%t ratings totally)');
\define('_MA_PUBLISHER_RATING_CURRENT_SHORT_1', '%c (%t rating)');
\define('_MA_PUBLISHER_RATING_CURRENT_SHORT_X', '%c (%t ratings)');
\define('_MA_PUBLISHER_RATING1', '1 of 5');
\define('_MA_PUBLISHER_RATING2', '2 of 5');
\define('_MA_PUBLISHER_RATING3', '3 of 5');
\define('_MA_PUBLISHER_RATING4', '4 of 5');
\define('_MA_PUBLISHER_RATING5', '5 of 5');
\define('_MA_PUBLISHER_RATING_10_1', '1 of 10');
\define('_MA_PUBLISHER_RATING_10_2', '2 of 10');
\define('_MA_PUBLISHER_RATING_10_3', '3 of 10');
\define('_MA_PUBLISHER_RATING_10_4', '4 of 10');
\define('_MA_PUBLISHER_RATING_10_5', '5 of 10');
\define('_MA_PUBLISHER_RATING_10_6', '6 of 10');
\define('_MA_PUBLISHER_RATING_10_7', '7 of 10');
\define('_MA_PUBLISHER_RATING_10_8', '8 of 10');
\define('_MA_PUBLISHER_RATING_10_9', '9 of 10');
\define('_MA_PUBLISHER_RATING_10_10', '10 of 10');
\define('_MA_PUBLISHER_RATING_VOTE_BAD', 'Invalid vote');
\define('_MA_PUBLISHER_RATING_VOTE_ALREADY', 'You have already voted');
\define('_MA_PUBLISHER_RATING_VOTE_THANKS', 'Thank you for rating');
\define('_MA_PUBLISHER_RATING_NOPERM', "Sorry, you don't have permission to rate items");
\define('_MA_PUBLISHER_RATING_LIKE', 'Like');
\define('_MA_PUBLISHER_RATING_DISLIKE', 'Dislike');
\define('_MA_PUBLISHER_RATING_ERROR1', 'Error: update base table failed!');

\define('_MA_PUBLISHER_REACTION_LIKE', 'Like');
\define('_MA_PUBLISHER_REACTION_LOVE', 'Love');
\define('_MA_PUBLISHER_REACTION_CARE', 'Care');
\define('_MA_PUBLISHER_REACTION_HAHA', 'Ha Ha');
\define('_MA_PUBLISHER_REACTION_WOW', 'Wow!');
\define('_MA_PUBLISHER_REACTION_SAD', 'Sad');
\define('_MA_PUBLISHER_REACTION_ANGRY', 'Angry');

// Admin link
\define('_MA_PUBLISHER_ADMIN', 'Admin');
define('_MD_PUBLISHER_PDF', 'TCPDF for XOOPS installed in /class/libraries/vendor/tecnickcom/tcpdf/');
// ---------------- End ----------------