Ajout d'une extension
This commit is contained in:
250
ext/phpbbstudio/ass/language/en/ass_acp_common.php
Normal file
250
ext/phpbbstudio/ass/language/en/ass_acp_common.php
Normal file
@@ -0,0 +1,250 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ACP_ASS_CATEGORIES_EXPLAIN' => 'Here you can manage the categories within the shop. You can add, edit, delete and order categories. Clicking on a category will show the items within.',
|
||||
'ACP_ASS_FILES_EXPLAIN' => 'Here you can manage the files used throughout the shop. The “files” category hold all the files used for actual items, while the “images” category holds all the images for displaying an item.',
|
||||
'ACP_ASS_FILES_FILES_EXPLAIN' => 'Here you can upload files that can later be used as the actual item being purchased. Therefore accessing these file paths directly through a browser has been restricted.',
|
||||
'ACP_ASS_FILES_IMAGES_EXPLAIN' => 'Here you can upload images that can later be used for displaying an item in the shop. Most images used through the shop work best with a 3:2 ratio (width:height).',
|
||||
'ACP_ASS_INVENTORY_EXPLAIN' => 'Here you can manage users’ inventories. You can either add or delete multiple items at once for multiple users and/or groups, or you can manage an individual user’s inventory.',
|
||||
'ACP_ASS_ITEMS_EXPLAIN' => 'Here you can manage the items within a shop category. You can add, edit, delete and order items.',
|
||||
'ACP_ASS_LOGS_EXPLAIN' => 'Here you can manage and view a list of all Advanced Shop System actions carried out by users. There are various display and sorting options for your convenience.',
|
||||
'ACP_ASS_OVERVIEW_EXPLAIN' => 'Some of these statistics are based on the currently available categories, items and logs, not taking any deleted rows into account.',
|
||||
'ACP_ASS_SETTINGS_EXPLAIN' => 'Here you can adjust the basic shop settings of your board, enable the shop, give it fitting icons and among other settings adjust the default carousel and panel settings.',
|
||||
|
||||
'ACP_ASS_AMOUNT_ITEMS' => 'Amount of items',
|
||||
'ACP_ASS_AMOUNT_USERS' => 'Amount of users',
|
||||
'ACP_ASS_AVAILABLE' => 'Available',
|
||||
|
||||
'ACP_ASS_APPLY' => 'Apply',
|
||||
'ACP_ASS_CLEAR' => 'Clear',
|
||||
'ACP_ASS_COPY' => 'Copy',
|
||||
|
||||
'ACP_ASS_CAROUSEL_ARROWS' => 'Display arrows',
|
||||
'ACP_ASS_CAROUSEL_ARROWS_DESC' => 'Whether or not the “previous” and “next” arrows should be displayed.',
|
||||
'ACP_ASS_CAROUSEL_DOTS' => 'Display dots',
|
||||
'ACP_ASS_CAROUSEL_DOTS_DESC' => 'Whether or not the “navigation dots” should be displayed.',
|
||||
'ACP_ASS_CAROUSEL_FADE' => 'Use “fade” animation',
|
||||
'ACP_ASS_CAROUSEL_FADE_DESC' => 'Whether or not the “fade” animation should be used instead of the “slide” animation.',
|
||||
'ACP_ASS_CAROUSEL_PLAY' => 'Enable autoplay',
|
||||
'ACP_ASS_CAROUSEL_PLAY_DESC' => 'Whether or not the carousel should automatically start playing.',
|
||||
'ACP_ASS_CAROUSEL_PLAY_SPEED' => 'Autoplay speed',
|
||||
'ACP_ASS_CAROUSEL_PLAY_SPEED_DESC' => 'The amount of milliseconds a slide should be displayed before automatically sliding to the next one.',
|
||||
'ACP_ASS_CAROUSEL_SPEED' => 'Animation speed',
|
||||
'ACP_ASS_CAROUSEL_SPEED_DESC' => 'The amount of milliseconds for the duration of the “fade” or “slide” animation.',
|
||||
|
||||
'ACP_ASS_CATEGORY_ADD_SUCCESS' => 'You have successfully added the category.',
|
||||
'ACP_ASS_CATEGORY_EDIT_SUCCESS' => 'You have successfully edited the category.',
|
||||
'ACP_ASS_CATEGORY_DELETE' => 'Delete category',
|
||||
'ACP_ASS_CATEGORY_DELETE_CONFIRM' => 'Are you sure you wish to delete this category?
|
||||
<br><br>This will delete all items within this category aswell.
|
||||
<br>These items will also be deleted from users’ inventories.
|
||||
<br>However, any actions performed by these items will not be reverted.
|
||||
<br><br>This action can <strong><u>not</u></strong> be undone!',
|
||||
'ACP_ASS_CATEGORY_DELETE_SUCCESS' => 'You have successfully deleted the category.',
|
||||
|
||||
'ACP_ASS_CONFLICT' => 'Conflict',
|
||||
'ACP_ASS_CONFLICT_DESC' => 'The user this happened to has been logged in the <a href="%1$s">Admin log</a>
|
||||
<br>Most likely this item’s <strong>“%2$s”</strong> are invalid.',
|
||||
'ACP_ASS_CONFLICTS' => 'Conflicts',
|
||||
'ACP_ASS_CONFLICTS_DEACTIVATE' => 'Deactivate items with conflicts',
|
||||
|
||||
'ACP_ASS_INVENTORY_ADD_SUCCESS' => [
|
||||
1 => 'You have successfully added this item to their inventory.',
|
||||
2 => 'You have successfully added these items to their inventory.',
|
||||
],
|
||||
'ACP_ASS_INVENTORY_DELETE_SUCCESS' => [
|
||||
1 => 'You have successfully deleted this item to their inventory.',
|
||||
2 => 'You have successfully deleted these items to their inventory.',
|
||||
],
|
||||
|
||||
'ACP_ASS_ITEM_ADD_SUCCESS' => 'You have successfully added the item.',
|
||||
'ACP_ASS_ITEM_EDIT_SUCCESS' => 'You have successfully edited the item.',
|
||||
'ACP_ASS_ITEM_DELETE' => 'Delete item',
|
||||
'ACP_ASS_ITEM_DELETE_CONFIRM' => 'Are you sure you wish to delete this item?
|
||||
<br><br>This will also delete this item from users’ inventories.
|
||||
<br>However, any actions performed by this item will not be reverted.
|
||||
<br><br>This action can <strong><u>not</u></strong> be undone!',
|
||||
'ACP_ASS_ITEM_DELETE_SUCCESS' => 'You have successfully deleted the item.',
|
||||
'ACP_ASS_ITEM_MARK_FEATURED' => 'Mark this item as “featured”',
|
||||
'ACP_ASS_ITEM_MARK_SALE' => 'Mark this item as “on sale”',
|
||||
'ACP_ASS_ITEM_UNMARK_FEATURED' => 'Unmark this item as “featured”',
|
||||
'ACP_ASS_ITEM_UNMARK_SALE' => 'Unmark this item as “on sale”',
|
||||
|
||||
'ACP_ASS_CATEGORY_ACTIVE' => 'Category active',
|
||||
'ACP_ASS_CATEGORY_DESC' => 'Category description',
|
||||
'ACP_ASS_CATEGORY_ICON' => 'Category icon',
|
||||
'ACP_ASS_CATEGORY_SLUG' => 'Category slug',
|
||||
'ACP_ASS_CATEGORY_TITLE' => 'Category title',
|
||||
|
||||
'ACP_ASS_GIFT_ICON' => 'Gift icon',
|
||||
'ACP_ASS_GIFT_ITEMS' => 'Gift items',
|
||||
'ACP_ASS_GIFT_PERCENTAGE' => 'Percentage',
|
||||
'ACP_ASS_GIFT_PRICE' => 'Price',
|
||||
'ACP_ASS_GIFTING_ENABLED' => 'Gifting enabled',
|
||||
|
||||
'ACP_ASS_INVENTORY_ICON' => 'Inventory icon',
|
||||
|
||||
'ACP_ASS_ITEM_ACTIVE' => 'Item active',
|
||||
'ACP_ASS_ITEM_AVAILABLE' => 'Item available',
|
||||
'ACP_ASS_ITEM_AVAILABLE_DESC' => 'The period this item will be available in the shop.',
|
||||
'ACP_ASS_ITEM_BACKGROUND' => 'Item background image',
|
||||
'ACP_ASS_ITEM_BACKGROUND_DESC' => 'The image that is used throughout the shop to display the item.',
|
||||
'ACP_ASS_ITEM_COUNT' => 'Item use count',
|
||||
'ACP_ASS_ITEM_COUNT_DESC' => 'The amount of times this item can be used once purchased.',
|
||||
'ACP_ASS_ITEM_COUNT_ZERO_DESC' => 'Set to 0 to for unlimited usages.',
|
||||
'ACP_ASS_ITEM_DESC' => 'Item description',
|
||||
'ACP_ASS_ITEM_EXPIRE_DESC' => 'The amount of time after which this item will expire and can no longer be used.',
|
||||
'ACP_ASS_ITEM_EXPIRE_STRING' => 'Item expire time',
|
||||
'ACP_ASS_ITEM_DELETE_DESC' => 'The amount of time after which the item will be automatically removed from the user’s inventory,<br>when either the item has expired or the use count has been reached.',
|
||||
'ACP_ASS_ITEM_DELETE_STRING' => 'Item delete time',
|
||||
'ACP_ASS_ITEM_FEATURED' => 'Item featured',
|
||||
'ACP_ASS_ITEM_FEATURED_DESC' => 'The period this item will be featured.',
|
||||
'ACP_ASS_ITEM_GIFT' => 'Item gift',
|
||||
'ACP_ASS_ITEM_GIFT_DESC' => 'Whether or not this item can be gifted to other users.',
|
||||
'ACP_ASS_ITEM_GIFT_ONLY' => 'Item gift only',
|
||||
'ACP_ASS_ITEM_GIFT_ONLY_DESC' => 'Whether or not this item can only be gifted to other users and not purchased for themselves.',
|
||||
'ACP_ASS_ITEM_GIFT_PERCENTAGE' => 'Item gift percentage',
|
||||
'ACP_ASS_ITEM_GIFT_PERCENTAGE_DESC' => 'The percentage that will be added on top of the regular item price when this item is being gifted.',
|
||||
'ACP_ASS_ITEM_GIFT_PRICE' => 'Item gift price',
|
||||
'ACP_ASS_ITEM_GIFT_PRICE_DESC' => 'The price that will be used instead of the regular item price when this item is being gifted.',
|
||||
'ACP_ASS_ITEM_GIFT_TYPE' => 'Item gift type',
|
||||
'ACP_ASS_ITEM_GIFT_TYPE_DESC' => 'Whether to use the “percentage” or the “price” when this item is being gifted.',
|
||||
'ACP_ASS_ITEM_ICON' => 'Item icon',
|
||||
'ACP_ASS_ITEM_IMAGES' => 'Item images',
|
||||
'ACP_ASS_ITEM_PRICE' => 'Item price',
|
||||
'ACP_ASS_ITEM_REFUND_DESC' => 'The amount of time before which an unused item can be refunded.',
|
||||
'ACP_ASS_ITEM_REFUND_STRING' => 'Item refund time',
|
||||
'ACP_ASS_ITEM_RELATED_ENABLED' => 'Enable related items',
|
||||
'ACP_ASS_ITEM_RELATED_ITEMS' => 'Related items',
|
||||
'ACP_ASS_ITEM_RESOLVE' => 'Resolve',
|
||||
'ACP_ASS_ITEM_RESOLVE_CONFIRM' => 'Are you sure you want to mark this item conflict as resolved?',
|
||||
'ACP_ASS_ITEM_RESOLVE_SUCCESS' => 'You have successfully marked this item conflict as resolved.',
|
||||
'ACP_ASS_ITEM_SALE' => 'Item sale',
|
||||
'ACP_ASS_ITEM_SALE_DESC' => 'The period this item will be on sale.',
|
||||
'ACP_ASS_ITEM_SALE_PRICE' => 'Item sale price',
|
||||
'ACP_ASS_ITEM_SALE_PRICE_DESC' => 'The price that will be used when this item is on sale.',
|
||||
'ACP_ASS_ITEM_SLUG' => 'Item slug',
|
||||
'ACP_ASS_ITEM_STACK' => 'Item stack count',
|
||||
'ACP_ASS_ITEM_STACK_DESC' => 'The amount of identical items that can be in an inventory at the same time.',
|
||||
'ACP_ASS_ITEM_STOCK' => 'Item stock',
|
||||
'ACP_ASS_ITEM_STOCK_DESC' => 'The current item’s stock.',
|
||||
'ACP_ASS_ITEM_STOCK_THRESHOLD' => 'Item stock threshold',
|
||||
'ACP_ASS_ITEM_STOCK_THRESHOLD_DESC' => 'When the stock reaches this threshold, a notification is send to the authorized users.',
|
||||
'ACP_ASS_ITEM_STOCK_UNLIMITED' => 'Item stock unlimited',
|
||||
'ACP_ASS_ITEM_STOCK_UNLIMITED_DESC' => 'Whether or not this item’s stock is unlimited.',
|
||||
'ACP_ASS_ITEM_STR_TO_TIME' => 'Examples of valid formatted time strings are',
|
||||
'ACP_ASS_ITEM_STR_TO_TIME_DESC' => 'Any valid formatted time string for <a href="https://www.php.net/manual/en/function.strtotime.php"><code>strtotime()</code></a>.',
|
||||
'ACP_ASS_ITEM_TIMEZONE_BOARD' => 'The current board’s time',
|
||||
'ACP_ASS_ITEM_TIMEZONE_YOUR' => 'Your current time',
|
||||
'ACP_ASS_ITEM_TIMEZONE_DESC' => 'For consistency reasons all dates are in the board’s timezone.',
|
||||
'ACP_ASS_ITEM_TITLE' => 'Item title',
|
||||
'ACP_ASS_ITEM_TYPE' => 'Item type',
|
||||
'ACP_ASS_ITEM_TYPE_SELECT' => 'Select an item type',
|
||||
'ACP_ASS_ITEM_TYPE_NO_AUTH' => 'You are not authorised to manage this item type.',
|
||||
'ACP_ASS_ITEMS_PER_PAGE' => 'Items per page',
|
||||
|
||||
'ACP_ASS_LOCATIONS' => 'Link locations',
|
||||
'ACP_ASS_LOCATIONS_DESC' => 'Determine where the link to the Shop page should be displayed.',
|
||||
|
||||
'ACP_ASS_LOG_DELETED_ALL' => 'You have successfully deleted all log entries.',
|
||||
'ACP_ASS_LOG_DELETED_ENTRY' => 'You have successfully deleted this log entry.',
|
||||
'ACP_ASS_LOG_DELETED_ENTRIES' => 'You have successfully deleted these log entries.',
|
||||
'ACP_ASS_LOGS_PER_PAGE' => 'Logs per page',
|
||||
|
||||
'ACP_ASS_NO_IMAGE_ICON' => '“No image” icon',
|
||||
'ACP_ASS_NO_ITEMS_SELECTED' => 'You haven’t selected any items.',
|
||||
'ACP_ASS_NOTES' => 'Notes',
|
||||
'ACP_ASS_NOTES_NO' => 'There are no notes',
|
||||
|
||||
'ACP_ASS_NUMBER_CATEGORIES' => 'Number of categories',
|
||||
'ACP_ASS_NUMBER_CONFLICTS' => 'Number of item conflicts',
|
||||
'ACP_ASS_NUMBER_FEATURED' => 'Number of featured items',
|
||||
'ACP_ASS_NUMBER_ITEMS' => 'Number of items',
|
||||
'ACP_ASS_NUMBER_PURCHASES' => 'Number of purchases',
|
||||
'ACP_ASS_NUMBER_SALE' => 'Number of sale items',
|
||||
'ACP_ASS_NUMBER_SPENT' => 'Total %s spent',
|
||||
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_BUYERS' => 'Biggest buyers',
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_BUYERS_NO' => 'No biggest buyers',
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_GIFTERS' => 'Biggest gifters',
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_GIFTERS_NO' => 'No biggest gifters',
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_SPENDERS' => 'Biggest spenders',
|
||||
'ACP_ASS_OVERVIEW_BIGGEST_SPENDERS_NO' => 'No biggest spenders',
|
||||
'ACP_ASS_OVERVIEW_FEATURED_NO' => 'No featured items',
|
||||
'ACP_ASS_OVERVIEW_FEATURED_UPCOMING' => 'Upcoming featured',
|
||||
'ACP_ASS_OVERVIEW_FEATURED_UPCOMING_NO' => 'No upcoming featured items',
|
||||
'ACP_ASS_OVERVIEW_LOW_STOCK' => 'Low stock',
|
||||
'ACP_ASS_OVERVIEW_LOW_STOCK_NO' => 'No low stock items',
|
||||
'ACP_ASS_OVERVIEW_RECENT_ITEMS' => 'Recent items',
|
||||
'ACP_ASS_OVERVIEW_RECENT_ITEMS_NO' => 'No recent items',
|
||||
'ACP_ASS_OVERVIEW_RECENT_PURCHASES' => 'Recent purchases',
|
||||
'ACP_ASS_OVERVIEW_RECENT_PURCHASES_NO' => 'No recent purchases',
|
||||
'ACP_ASS_OVERVIEW_SALE_NO' => 'No sale items',
|
||||
'ACP_ASS_OVERVIEW_SALE_UPCOMING' => 'Upcoming sale',
|
||||
'ACP_ASS_OVERVIEW_SALE_UPCOMING_NO' => 'No upcoming sale items',
|
||||
'ACP_ASS_OVERVIEW_SELLERS_LOW' => 'Low sellers',
|
||||
'ACP_ASS_OVERVIEW_SELLERS_LOW_NO' => 'No low selling items',
|
||||
'ACP_ASS_OVERVIEW_SELLERS_TOP' => 'Top sellers',
|
||||
'ACP_ASS_OVERVIEW_SELLERS_TOP_NO' => 'No top selling items',
|
||||
|
||||
'ACP_ASS_PANEL_FEATURED' => 'Featured',
|
||||
'ACP_ASS_PANEL_SALE' => 'Sale',
|
||||
'ACP_ASS_PANEL_FEATURED_SALE' => 'Featured sales',
|
||||
'ACP_ASS_PANEL_RANDOM' => 'Random',
|
||||
'ACP_ASS_PANEL_LIMITED' => 'Limited',
|
||||
'ACP_ASS_PANEL_RECENT' => 'Recent',
|
||||
|
||||
'ACP_ASS_PANEL_BANNER_COLOUR' => 'Banner colour',
|
||||
'ACP_ASS_PANEL_BANNER_SIZE' => 'Banner size',
|
||||
'ACP_ASS_PANEL_BANNER_SIZE_NORMAL' => 'Normal',
|
||||
'ACP_ASS_PANEL_BANNER_SIZE_SMALL' => 'Small',
|
||||
'ACP_ASS_PANEL_BANNER_SIZE_TINY' => 'Tiny',
|
||||
'ACP_ASS_PANEL_ICON' => 'Icon',
|
||||
'ACP_ASS_PANEL_ICON_COLOUR' => 'Icon colour',
|
||||
'ACP_ASS_PANEL_LIMIT' => 'Limit',
|
||||
'ACP_ASS_PANEL_ORDER' => 'Order',
|
||||
'ACP_ASS_PANEL_WIDTH' => 'Width',
|
||||
|
||||
'ACP_ASS_PURGE_CACHE' => 'Automatically purge cache',
|
||||
'ACP_ASS_PURGE_CACHE_DESC' => 'This will automatically purge the cache when performing any actions through the “Files” interface.',
|
||||
|
||||
'ACP_ASS_SETTINGS_CAROUSEL' => 'Carousel settings',
|
||||
'ACP_ASS_SETTINGS_DEFAULT' => 'Default settings',
|
||||
'ACP_ASS_SETTINGS_DISPLAY' => 'Display settings',
|
||||
'ACP_ASS_SETTINGS_GIFT' => 'Gift settings',
|
||||
'ACP_ASS_SETTINGS_INVENTORY' => 'Inventory settings',
|
||||
'ACP_ASS_SETTINGS_SHOP' => 'Shop settings',
|
||||
'ACP_ASS_SETTINGS_SPECIAL' => 'Special settings',
|
||||
'ACP_ASS_SETTINGS_TYPE' => 'Type settings',
|
||||
|
||||
'ACP_ASS_SHOP_ENABLED' => 'Shop enabled',
|
||||
'ACP_ASS_SHOP_ENABLED_DESC' => 'This will make the shop completely unavailable. As if it does not exist.',
|
||||
'ACP_ASS_SHOP_ACTIVE' => 'Shop active',
|
||||
'ACP_ASS_SHOP_ACTIVE_DESC' => 'This will make the shop unavailable to users who do not have the required permissions.',
|
||||
'ACP_ASS_SHOP_INACTIVE_DESC' => 'Shop inactive message',
|
||||
'ACP_ASS_SHOP_INACTIVE_DESC_DESC' => 'This message will be displayed to users who do not have the required permissions when the shop is inactive.',
|
||||
'ACP_ASS_SHOP_ICON' => 'Shop icon',
|
||||
|
||||
'ACP_ASS_USER_INVENTORY' => 'User’s inventory',
|
||||
]);
|
||||
44
ext/phpbbstudio/ass/language/en/ass_acp_files.php
Normal file
44
ext/phpbbstudio/ass/language/en/ass_acp_files.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ASS_FILE' => 'File',
|
||||
'ASS_FILES' => 'Files',
|
||||
'ASS_FILENAME' => 'Filename',
|
||||
'ASS_FILETIME' => 'Filetime',
|
||||
'ASS_FILESIZE' => 'Filesize',
|
||||
|
||||
'ASS_FILE_DELETE' => 'Delete file',
|
||||
'ASS_FILE_DELETE_CONFIRM' => 'Are you sure you wish to delete this file?
|
||||
<br>This action can <u>not</u> be reverted!',
|
||||
'ASS_FILE_DELETE_SUCCESS' => 'The file has been deleted successfully.',
|
||||
|
||||
'ASS_FOLDER' => 'Folder',
|
||||
'ASS_FOLDERS' => 'Folders',
|
||||
|
||||
'ASS_FOLDER_DELETE' => 'Delete folder',
|
||||
'ASS_FOLDER_DELETE_CONFIRM' => 'Are you sure you wish to delete this folder?
|
||||
<br>This will also <strong>delete all folders and files within</strong>.
|
||||
<br>This action can <u>not</u> be reverted!',
|
||||
'ASS_FOLDER_DELETE_SUCCESS' => 'The folder has been deleted successfully.',
|
||||
]);
|
||||
355
ext/phpbbstudio/ass/language/en/ass_acp_help.php
Normal file
355
ext/phpbbstudio/ass/language/en/ass_acp_help.php
Normal file
@@ -0,0 +1,355 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ACP_ASS_HELP_TOUR' => 'Take the tour',
|
||||
|
||||
'ACP_ASS_ITEM_DATES' => 'Item dates',
|
||||
'ACP_ASS_ITEM_STATES' => 'Item states',
|
||||
'ACP_ASS_ITEM_SALE_INFO' => 'Item sale info',
|
||||
'ACP_ASS_ITEM_STOCK_INFO' => 'Item stock info',
|
||||
|
||||
/**
|
||||
* Translators, we are sorry about the HTML in these strings.
|
||||
* It is the only sensible way to 'nicely' show the information.
|
||||
* These lines are seen by an Administrator when taking the “Help” tour.
|
||||
* This tour can be taken when creating/editing an item in the ACP.
|
||||
*
|
||||
* Please leave the new lines in place, as they are rendered as is.
|
||||
*/
|
||||
'ACP_ASS_HELP_ACTIVE' => 'This determines the item’s active status.
|
||||
|
||||
By default any new item is <span class="icon-green">activated</span>.
|
||||
But it is possible to be <span class="icon-red">deactivated</span>, so users without the correct permission (<em>Can view inactive items</em>) can not see or use it.
|
||||
This allows administrators (or any user with the forementioned permission) to test the view and action of the item.
|
||||
|
||||
If an item has conflicts (<em>errors</em>), it will have to be <span class="icon-orange">resolved</span>.
|
||||
Conflicts occur when the item is activated by a user but there are problems with the item data.
|
||||
For example the item’s file no longer exists, or some specific item type data is missing or incorrect.
|
||||
Depending on the <i>Deactivate item with conflicts</i> setting, the item is automatically <span class="icon-red">deactivated</span> and has to be <span class="icon-green">activated</span> again manually.',
|
||||
|
||||
'ACP_ASS_HELP_AVAILABLE' => 'This determines the item’s availability.
|
||||
|
||||
This is an optional field.
|
||||
All dates are in the board’s timezone.
|
||||
An elegant date picker has been added for ease-of-use.
|
||||
|
||||
The period can be removed by clicking on <span class="icon-red">Clear</span> in the date picker.
|
||||
Clicking on the information icon (<icon class="icon fa-info fa-fw icon-red"></icon>) will show the board’s current time.
|
||||
|
||||
If the current date and time falls within the provided period, this item will be availabe in the shop.
|
||||
When this item is no longer available, it will not show up in the shop but still be available in a user’s inventory.
|
||||
If this field is left empty, this item is always available.',
|
||||
|
||||
'ACP_ASS_HELP_BACKGROUND' => 'This determines the item’s background.
|
||||
|
||||
This is an optional field.
|
||||
Select an image with the build-in filesystem.
|
||||
|
||||
This is the main image used to display this item through out the shop and inventory.
|
||||
The background image displays best with a <i>3:2 ratio</i> (<em>width:height ratio</em>).
|
||||
An image can be selected with the build-in filesystem interface.
|
||||
This will show all available images in the shop’s image directory: <samp>./images/aps/</samp>
|
||||
Clicking on the trash bin (<icon class="icon fa-trash-o fa-fw"></icon>) will remove the image.
|
||||
|
||||
When no background is selected, it will default to the <i>Item icon</i>.
|
||||
If no <i>Item icon</i> is selected either, it will default to the <i>No image icon</i> setting.',
|
||||
|
||||
'ACP_ASS_HELP_COUNT' => 'This determines the item’s use count.
|
||||
|
||||
This is a required field.
|
||||
The value has to be equal to or greater than 0.
|
||||
If set to 0, the item can be used <span class="icon-green">unlimited</span> times.
|
||||
|
||||
Once a user has purchased this item, it shows up in their inventory.
|
||||
From their inventory they can <i>activate</i> the item, for example download the file or receive the points.
|
||||
Every time the user <i>activates</i> the item, the <i>Item use count</i> is increased.
|
||||
This value determines how many times a user can <i>activate</i> (<em>use</em>) this item.',
|
||||
|
||||
'ACP_ASS_HELP_DATES' => 'This shows various item dates.
|
||||
|
||||
This fieldset is only visible when <strong>editing</strong> an item.
|
||||
|
||||
The first date shown is the date and time when this item was created.
|
||||
The second date shown is the date and time when this item was last edited.',
|
||||
|
||||
'ACP_ASS_HELP_DELETE_STRING' => 'This determines the item’s delete period.
|
||||
|
||||
This is an optional field.
|
||||
The value has to be a valid <a href="https://www.php.net/strtotime" target="_blank"><code>strtotime()</code></a> string.
|
||||
This string must be in <strong>English</strong>!
|
||||
|
||||
The amount of time after which an item is automatically deleted.
|
||||
An item can be automatically deleted after it has expired, see <i>Item expire time</i>.
|
||||
Or it can be automatically deleted after the use count has been reached, see <i>Item use count</i>.
|
||||
If this is left empty, the users will have to <span class="icon-red">delete these items manually</span>.',
|
||||
|
||||
'ACP_ASS_HELP_DESC' => 'This determines the item’s description.
|
||||
|
||||
This is an optional field.
|
||||
Smilies, URLs and (custom) BBCodes are automatically rendered.
|
||||
Any <em>HTML</em> markup will not be rendered and will be shown <i>as is</i>.
|
||||
|
||||
A description can be added to better describe the item.
|
||||
Whether it is to describe what it is for, what it does or provide additional information.
|
||||
The description is visible both when viewing an item in the shop and in the inventory.',
|
||||
|
||||
'ACP_ASS_HELP_EXPIRE_STRING' => 'This determines the item’s expire period.
|
||||
|
||||
This is an optional field.
|
||||
The value has to be a valid <a href="https://www.php.net/strtotime" target="_blank"><code>strtotime()</code></a> string.
|
||||
This string must be in <strong>English</strong>!
|
||||
|
||||
The amount of time after which this item will expire.
|
||||
After this item has expired, it can not longer be used.
|
||||
If this is left empty, this item will <span class="icon-green">never expire</span>.',
|
||||
|
||||
'ACP_ASS_HELP_FEATURED' => 'This determines the item’s featured period.
|
||||
|
||||
This is an optional field.
|
||||
All dates are in the board’s timezone.
|
||||
An elegant date picker has been added for ease-of-use.
|
||||
|
||||
The period can be removed by clicking on <span class="icon-red">Clear</span> in the date picker.
|
||||
Clicking on the information icon (<icon class="icon fa-info fa-fw icon-red"></icon>) will show the board’s current time.
|
||||
|
||||
If the current date and time falls within the provided period, this item will be marked as <span class="icon-green">Featured</span>.
|
||||
When an item is featured, it is shown distinctively and separately in the shop index.
|
||||
When an item is both on sale and featured, it is shown distinctively and separately in the shop index.',
|
||||
|
||||
'ACP_ASS_HELP_GIFT' => 'This determines the item’s gift status.
|
||||
|
||||
This is a required field.
|
||||
|
||||
If gifting is disabled, this item can only be purchased for personal use.
|
||||
Otherwise this item can be gifted to a different user.
|
||||
A different price can be set for this item, when a user is gifting it, see <i>Item gift type</i>.',
|
||||
|
||||
'ACP_ASS_HELP_GIFT_ONLY' => 'This determines the item’s gift only status.
|
||||
|
||||
This is a required field.
|
||||
|
||||
If this is enabled, this item can only be gifted to other users, meaning it can not be purchased for personal use.
|
||||
A different price can be set for this item, when a user is gifting it, see <i>Item gift type</i>.\',',
|
||||
|
||||
'ACP_ASS_HELP_GIFT_PERCENTAGE' => 'This determines the item’s gift percentage.
|
||||
|
||||
When the <i>Item gift type</i> is set to <span class="icon-green">percentage</span>, this value will determine the gift price.
|
||||
The percentage entered here will be added to the initial <i>Item price</i>.
|
||||
So if the percentage is set to <samp>25%</samp> and the initial price is <samp>10</samp>, the gift price is <samp>12,50</samp>.
|
||||
The equation would be <samp>10,00 * 1,25 = 12,50</samp>, or <samp>10,00 + (0,25 * 10,00) = 12,50</samp>',
|
||||
|
||||
'ACP_ASS_HELP_GIFT_PRICE' => 'This determines the item’s gift price.
|
||||
|
||||
When the <i>Item gift type</i> is set to <span class="icon-green">price</span>, this value will determine the gift price.
|
||||
The value entered here will be the gift price. No calculations, just the straight up gift price.',
|
||||
|
||||
'ACP_ASS_HELP_GIFT_TYPE' => 'This determines the item’s gift type.
|
||||
|
||||
This is a required field.
|
||||
|
||||
When a user is gifting an item, a different price can be set.
|
||||
It can either be an <i>Item gift price</i> or <i>Item gift percentage</i>.
|
||||
This value will determine which price is used.',
|
||||
|
||||
'ACP_ASS_HELP_ICON' => 'This determines the item’s icon.
|
||||
|
||||
This is an optional field.
|
||||
It should be a valid <a href="https://fontawesome.com/v4.7.0/icons/" target="_blank">Font Awesome 4.7</a> icon.
|
||||
An elegant iconpicker has been added for ease-of-use.
|
||||
|
||||
An item’s icon has a supplementary role.
|
||||
It is shown when viewing an item, for aesthetics.
|
||||
And it is used when there is no <i>Item background</i> provided.',
|
||||
|
||||
'ACP_ASS_HELP_IMAGES' => 'This determines the item’s images.
|
||||
|
||||
This is an optional field.
|
||||
Select an image with the build-in filesystem.
|
||||
|
||||
These images are displayed when viewing this item in the shop.
|
||||
An image can be selected with the build-in filesystem interface.
|
||||
This will show all available images in the shop’s image directory: <samp>./images/aps/</samp>
|
||||
Clicking on the trash bin (<icon class="icon fa-trash-o fa-fw"></icon>) will remove the image.
|
||||
Clicking on the plus sign (<icon class="icon fa-plus fa-fw"></icon>) will add an additional image row.',
|
||||
|
||||
'ACP_ASS_HELP_PRICE' => 'This determines the item’s price.
|
||||
|
||||
This is a required field.
|
||||
The value has to be equal to or greater than 0.
|
||||
If set to 0, the item can be purchased for <span class="icon-green">free</span>.
|
||||
|
||||
The default price users have to pay to purchase this item.
|
||||
A different price can be set when the item is on sale, see <i>Item sale price</i>.
|
||||
And a different price can be set when this item is being gifted, see <i>Item gift price</i>.',
|
||||
|
||||
'ACP_ASS_HELP_REFUND_STRING' => 'This determines the item’s refund period.
|
||||
|
||||
This is an optional field.
|
||||
The value has to be a valid <a href="https://www.php.net/strtotime" target="_blank"><code>strtotime()</code></a> string.
|
||||
This string must be in <strong>English</strong>!
|
||||
|
||||
The amount of time before which this item can be refunded.
|
||||
For example, if this is set to <samp>1 week</samp>, this item can be refunded within one week of the purchase time.
|
||||
An item can only be refunded when it has not yet been used.
|
||||
If this is left empty, this item can <span class="icon-red">not be refunded</span>.',
|
||||
|
||||
'ACP_ASS_HELP_RELATED_ENABLED' => 'This determines the item’s related items status.
|
||||
|
||||
This is a required field.
|
||||
|
||||
If enabled, this item’s <i>Related items</i> will be displayed in the shop’s item page.
|
||||
If enabled but no <i>Related items</i> are selected, the closest <em>ordered</em> items will be displayed.',
|
||||
|
||||
'ACP_ASS_HELP_RELATED_ITEMS' => 'This determines the item’s related items.
|
||||
|
||||
This is an optional field.
|
||||
An elegant select box has been added for ease-of-use.
|
||||
A maximum of 8 items may be selected.
|
||||
|
||||
If <i>Enable related items</i> is enabled, these items will be displayed.
|
||||
If <i>Enable related items</i> is enabled and no items are selected, the closest <em>ordered</em> items will be displayed.',
|
||||
|
||||
'ACP_ASS_HELP_SALE' => 'This determines the item’s sale period.
|
||||
|
||||
This is an optional field.
|
||||
All dates are in the board’s timezone.
|
||||
An elegant date picker has been added for ease-of-use.
|
||||
|
||||
The period can be removed by clicking on <span class="icon-red">Clear</span> in the date picker.
|
||||
Clicking on the information icon (<icon class="icon fa-info fa-fw icon-red"></icon>) will show the board’s current time.
|
||||
|
||||
If the current date and time falls within the provided period, this item will be marked as <span class="icon-green">On sale</span>.
|
||||
When an item is on sale, it is shown distinctively and separately in the shop index and can be purchased for the <i>Item sale price</i>.
|
||||
When an item is both on sale and featured, it is shown distinctively and separately in the shop index.',
|
||||
|
||||
'ACP_ASS_HELP_SALE_INFO' => 'This shows various item sale statistics.
|
||||
|
||||
This fieldset is only visible when <strong>editing</strong> an item.
|
||||
|
||||
Firstly it shows the <i>Item sale price</i>, the price users have to pay when this item is on sale.
|
||||
Secondly it shows the <i>Item sale discount</i>, the amount of points users save when purchasing this item when it is on sale.
|
||||
Thirdly it shows the <i>Item sale percentage</i>, the discount percentage of the initial <i>Item price</i>.
|
||||
Which is calculated with <samp>(initial price - sale price) / initial price * 100%</samp>.
|
||||
So an example would be: <samp>(50 - 40) / 50 * 100% = 20% discount</samp>',
|
||||
|
||||
'ACP_ASS_HELP_SALE_PRICE' => 'This determines the item’s sale price.
|
||||
|
||||
This is an optional field.
|
||||
The value has to be equal to or greater than 0.
|
||||
If set to 0 and the item is on sale, the item is <span class="icon-green">free</span>.
|
||||
|
||||
If the item is on sale, this price will be used instead of the initial <i>Item price</i>.
|
||||
Whether or not the item is on sale, is determined by the <i>Item sale</i> period.',
|
||||
|
||||
// The below <samp> of illegal characters contains an apostrophe: '
|
||||
// This needs to be escaped with a backslash in front of it: \
|
||||
'ACP_ASS_HELP_SLUG' => 'This determines the item’s URL.
|
||||
|
||||
This is a required field.
|
||||
The maximum length is 255 characters.
|
||||
The value has to be unique per category.
|
||||
It can not contain any spaces or illegal characters: <samp>.,:;!@#$%^&*()[]{}|/\<=>?+~`\'"</samp>
|
||||
|
||||
A slug is used to create a clean (<em>human-friendly</em>) URL.
|
||||
So the URL in a user’s browser will look something like <i><samp>http://example.com/aps/shop/category-1/<strong>the-item-slug</strong></samp></i>.
|
||||
If the <i>Item slug</i> has no value yet, it will automatically be created from the <i>Item title</i>.
|
||||
Afterwards it can still be changed to a different or more appropriate slug.',
|
||||
|
||||
'ACP_ASS_HELP_STACK' => 'This determines the item’s stack count.
|
||||
|
||||
The value has to be equal to or greater than 1.
|
||||
If set to 1, the item can <span class="icon-red">not</span> be stacked.
|
||||
|
||||
If this value is higher than 1, users who have the correct permission (<em>Can stack inventory items</em>) can own multiple instances of this item.
|
||||
Once they own multiple of the same it, an indicator will show up in their inventory with the amount they currently own.
|
||||
They can then navigate through the identical items using the navigation chevrons (<icon class="icon fa-chevron-left fa-fw icon-blue"></icon> and <icon class="icon fa-chevron-right fa-fw icon-blue"></icon>).',
|
||||
|
||||
'ACP_ASS_HELP_STATES' => 'This shows various item states.
|
||||
|
||||
This fieldset is only visible when <strong>editing</strong> an item.
|
||||
|
||||
The first check indicates whether or not this item is currently on sale, if the current time is within the <i>Item sale</i> period.
|
||||
The second check indicates whether or not this item is currently featured, if the current time is within the <i>Item featured</i> period.
|
||||
The third check indicates whether or not this item is currently available, if the current time is within the <i>Item available</i> period or if the period is not set.',
|
||||
|
||||
'ACP_ASS_HELP_STOCK' => 'This determines the item’s current stock.
|
||||
|
||||
This is a required field.
|
||||
The value has to be equal to or greater than 0.
|
||||
If set to 0 without unlimited stock, this item is <em class="icon-red">Out of stock</em>.
|
||||
|
||||
Representation of the <strong>current</strong> stock.
|
||||
This is something different than the <i>Initial stock</i>.
|
||||
If more stock is needed or available, the new available amount can be set.
|
||||
If the <i>Item stock unlimited</i> is enabled, this value will not change.
|
||||
|
||||
The <i>Initial stock</i> is calculated with the current <i>Item stock</i> and adding the purchases.',
|
||||
|
||||
'ACP_ASS_HELP_STOCK_INFO' => 'This shows various item stock statistics.
|
||||
|
||||
This fieldset is only visible when <strong>editing</strong> an item.
|
||||
|
||||
The <strong>current</strong> <i>Item stock</i> shows how much stock is currently available.
|
||||
The <i>Purchases</i> shows how many times this item has been purchased.
|
||||
It shows the <i>Initial item stock</i>, the total stock that was available.
|
||||
Including the times the stock has been amended by an administrator.
|
||||
The <samp>initial</samp> stock is the sum of the <samp>current</samp> stock and the <samp>purchases.</samp>',
|
||||
|
||||
'ACP_ASS_HELP_STOCK_THRESHOLD' => 'This determines the item’s stock notification threshold.
|
||||
|
||||
This is a required field.
|
||||
Only works if <i>Item stock unlimited</i> is disabled.
|
||||
|
||||
If the <i>Item stock</i> reaches this value, a notification is send to users with the correct permission (<em>Can receive stock notification</em>).
|
||||
These users also have an option to disable this notification themselves in the <em>User Control Panel</em>.
|
||||
|
||||
This notification is intended so these users can amend the stock or take other mandatory actions.
|
||||
However, it can alternatively be used as an advertisement tool, notifying users that only a few more copies of this item are available.',
|
||||
|
||||
'ACP_ASS_HELP_STOCK_UNLIMITED' => 'This determines the item’s unlimited stock status.
|
||||
|
||||
This is a required field.
|
||||
By default any new item has <span class="icon-green">unlimited</span> (<em>∞</em>) stock.
|
||||
|
||||
If the stock is not unlimited, the value of <i>Item stock</i> is used instead.',
|
||||
|
||||
'ACP_ASS_HELP_TITLE' => 'This determines the item’s title.
|
||||
|
||||
This is a required field.
|
||||
The maximum length is 255 characters.
|
||||
It should be a general or descriptive heading for the item.
|
||||
|
||||
If the <i>Item slug</i> does not yet have a value, it will automatically be created from the title when done.',
|
||||
|
||||
'ACP_ASS_HELP_TYPE' => 'This determines the item’s type.
|
||||
|
||||
This is a required field.
|
||||
By default only the <i>Points</i> and <i>Files</i> item types are available.
|
||||
|
||||
Once an <i>Item type</i> is selected, additional fields will show up.
|
||||
Depending on the type, it is possible to further determine what it is this item exactly does.
|
||||
For example what file can be downloaded or how many points can be purchased/gifted.
|
||||
|
||||
Additional item types can be found over at the <a href="https://www.phpbbstudio.com" target="_blank">phpBB Studio</a>.',
|
||||
]);
|
||||
222
ext/phpbbstudio/ass/language/en/ass_common.php
Normal file
222
ext/phpbbstudio/ass/language/en/ass_common.php
Normal file
@@ -0,0 +1,222 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ASS_ALL' => 'All',
|
||||
'ASS_AND' => ' and ', // The "and" in the following sentence: 2 days, 6 hours and 5 minutes
|
||||
'ASS_AVAILABILITY_END_ON' => 'Availability will end on %s',
|
||||
|
||||
'ASS_CATEGORY' => 'Category',
|
||||
'ASS_CATEGORY_INACTIVE' => 'This category is currently not active!',
|
||||
'ASS_CATEGORY_TITLE' => 'Category title',
|
||||
'ASS_CATEGORIES_NONE' => 'There are no categories yet.',
|
||||
|
||||
'ASS_DELETE' => 'Delete',
|
||||
'ASS_DELETE_CONFIRM' => 'Are you sure you wish to delete this item?',
|
||||
'ASS_DELETE_SUCCESS' => 'You have successfully deleted this item.',
|
||||
|
||||
'ASS_EXPIRATION_DATE' => 'Expiration date',
|
||||
|
||||
'ASS_FEATURED' => 'Featured',
|
||||
'ASS_FEATURED_ITEMS' => 'Featured items',
|
||||
|
||||
'ASS_GIFT' => 'Gift', // verb: to gift
|
||||
'ASS_GIFT_CONFIRM' => 'Are you sure you wish to gift this item?',
|
||||
'ASS_GIFT_SUCCESS' => 'You have successfully gifted this item.',
|
||||
'ASS_GIFT_USER' => 'To who do you want to gift this item?',
|
||||
'ASS_GIFT_TIME' => 'Gift time',
|
||||
'ASS_GIFTABLE' => 'Giftable',
|
||||
'ASS_GIFTED_BY' => 'This item was gifted to you by %s',
|
||||
'ASS_GIFTS_GIVEN' => 'Gifts given',
|
||||
'ASS_GIFTS_RECEIVED' => 'Gifts received',
|
||||
|
||||
'ASS_HISTORY' => 'History',
|
||||
'ASS_HISTORY_EMPTY' => 'It appears you do not have a shopping history yet',
|
||||
|
||||
'ASS_INVENTORY_ADDED' => 'This item has been added to your inventory',
|
||||
'ASS_INVENTORY_ADDED_USER' => 'This item has been added to %s’s inventory',
|
||||
'ASS_INVENTORY_GO' => 'Go to your inventory',
|
||||
|
||||
'ASS_ITEM' => 'Item',
|
||||
'ASS_ITEM_CREATE_TIME' => 'Item creation time',
|
||||
'ASS_ITEM_DESCRIPTION' => 'Item description',
|
||||
'ASS_ITEM_EDIT_TIME' => 'Item edit time',
|
||||
'ASS_ITEM_EXPIRE_NEVER' => 'This item has <span>no</span> expiration date',
|
||||
'ASS_ITEM_EXPIRE_SOON' => 'This item will expire soon!',
|
||||
'ASS_ITEM_EXPIRE_WITHIN' => 'This item will expire within <span>%s</span>',
|
||||
'ASS_ITEM_EXPIRED' => 'This item has expired.',
|
||||
'ASS_ITEM_GIFT' => 'Gift this item',
|
||||
'ASS_ITEM_HELP' => 'Item help',
|
||||
'ASS_ITEM_ICON' => 'Item icon',
|
||||
'ASS_ITEM_IMAGE' => 'Item image',
|
||||
'ASS_ITEM_IMAGES' => 'Item images',
|
||||
'ASS_ITEM_INFORMATION' => 'Item information',
|
||||
'ASS_ITEM_INACTIVE' => 'This item is currently not active!',
|
||||
'ASS_ITEM_ORDER' => 'Item order',
|
||||
'ASS_ITEM_PRICE' => 'Item price',
|
||||
'ASS_ITEM_PURCHASE' => 'Purchase this item',
|
||||
'ASS_ITEM_REFUND_NEVER' => 'This item can <span>not</span> be refunded',
|
||||
'ASS_ITEM_REFUND_WITHIN' => 'This item can be refuned within <span>%s</span>',
|
||||
'ASS_ITEM_STOCK' => 'Item stock',
|
||||
'ASS_ITEM_TITLE' => 'Item title',
|
||||
'ASS_ITEM_TYPE' => 'Item type',
|
||||
'ASS_ITEM_TYPE_NOT_EXIST' => 'The requested item type does not exist',
|
||||
'ASS_ITEM_USE_BEFORE' => 'Make sure to use this item before',
|
||||
'ASS_ITEM_USE_COUNT' => [
|
||||
1 => 'This item can be used <span>%d</span> time',
|
||||
2 => 'This item can be used <span>%d</span> times',
|
||||
],
|
||||
'ASS_ITEM_USE_REACHED' => 'You have reached the use limit for this item.',
|
||||
'ASS_ITEM_USE_UNLIMITED' => 'This item can be used <span title="Unlimited">∞</span> times', // ∞ is the infinite sign
|
||||
'ASS_ITEMS_NONE' => 'There are no items yet.',
|
||||
'ASS_ITEMS_NONE_INVENTORY' => 'It appears you do not have any items yet',
|
||||
'ASS_ITEMS_RECENT' => 'Recent items',
|
||||
'ASS_ITEMS_LIMITED' => 'Limited items',
|
||||
'ASS_ITEMS_COUNT' => [
|
||||
1 => '%d item',
|
||||
2 => '%d items',
|
||||
],
|
||||
|
||||
'ASS_INVENTORY' => 'Inventory',
|
||||
|
||||
'ASS_POINTS_BALANCE' => 'Your new %s balance is',
|
||||
'ASS_POINTS_DEDUCTED' => 'Deducted from your account',
|
||||
'ASS_POINTS_NEW' => '%s new',
|
||||
'ASS_POINTS_OLD' => '%s old',
|
||||
'ASS_PRICE_ABOVE' => 'Price above',
|
||||
'ASS_PRICE_BELOW' => 'Price below',
|
||||
'ASS_PURCHASE' => 'Purchase', // verb: to purchase
|
||||
'ASS_PURCHASE_CONFIRM' => 'Are you sure you wish to purchase this item?',
|
||||
'ASS_PURCHASE_SUCCESS' => 'You have successfully purchased this item.',
|
||||
'ASS_PURCHASE_TIME' => 'Purchase time',
|
||||
'ASS_PURCHASES' => 'Purchases', // plural noun
|
||||
|
||||
'ASS_RECIPIENT_NAME' => 'Recipient name',
|
||||
'ASS_REFUND' => 'Refund',
|
||||
'ASS_REFUND_BEFORE' => 'Refundable before',
|
||||
'ASS_REFUND_CONFIRM' => 'Are you sure you wish to refund this item?',
|
||||
'ASS_REFUND_SUCCESS' => 'You have successfully refunded this item.',
|
||||
'ASS_RELATED_ITEMS' => 'Related items',
|
||||
|
||||
'ASS_ON_SALE' => 'On sale',
|
||||
'ASS_SALE' => 'Sale',
|
||||
'ASS_SALE_END_ON' => 'Sale will end on %s',
|
||||
'ASS_SALE_DISCOUNT' => 'Sale discount',
|
||||
'ASS_SALE_ITEMS' => 'Sale items',
|
||||
'ASS_SALE_PERCENTAGE' => 'Sale percentage',
|
||||
'ASS_SALE_PRICE' => 'Sale price',
|
||||
|
||||
'ASS_SHOP' => 'Shop',
|
||||
'ASS_SHOP_INACTIVE' => 'The shop is currently not active!',
|
||||
'ASS_SHOP_INDEX' => 'Shop index',
|
||||
'ASS_STOCK' => 'Stock',
|
||||
'ASS_STOCK_CURRENT' => 'Current stock',
|
||||
'ASS_STOCK_INITIAL' => 'Initial stock',
|
||||
'ASS_STOCK_OUT' => 'Out of Stock',
|
||||
|
||||
'ASS_TIME_CREATED' => 'Creation time',
|
||||
'ASS_TIME_EDITED' => 'Last edit time',
|
||||
|
||||
'ASS_TYPE_FILE' => 'Download file',
|
||||
'ASS_TYPE_FILE_CONFIRM' => 'Are you sure you wish to download this file?',
|
||||
'ASS_TYPE_FILE_LOG' => 'downloaded a file',
|
||||
'ASS_TYPE_FILE_START' => 'Your file should start downloading within a few seconds.',
|
||||
'ASS_TYPE_FILE_START_NOT' => 'If the download does not start automatically, you can click on the download button below.',
|
||||
'ASS_TYPE_FILE_SUCCESS' => 'You have successfully downloaded this file.',
|
||||
'ASS_TYPE_FILE_TITLE' => 'File',
|
||||
'ASS_TYPE_FILE_NOT_EXIST' => 'The requested file does not exist.',
|
||||
'ASS_TYPE_POINTS' => 'Add %s',
|
||||
'ASS_TYPE_POINTS_CONFIRM' => 'Are you sure you wish to add these %s?',
|
||||
'ASS_TYPE_POINTS_LOG' => 'added %s',
|
||||
'ASS_TYPE_POINTS_SUCCESS' => 'You have successfully added these %s.',
|
||||
'ASS_TYPE_POINTS_TITLE' => '%s',
|
||||
'ASS_TYPE_POINTS_NOT_EMPTY' => 'The %s value can not be empty.',
|
||||
|
||||
'ASS_UNAVAILABLE_CATEGORY' => 'Category is unavailable',
|
||||
'ASS_UNAVAILABLE_ITEM' => 'Item is unavailable',
|
||||
'ASS_UNAVAILABLE_TYPE' => 'Item type is unavailable',
|
||||
'ASS_UNLIMITED' => 'Unlimited',
|
||||
'ASS_UNLIMITED_STOCK' => 'Unlimited stock',
|
||||
'ASS_USAGES' => 'Usages',
|
||||
'ASS_USED_LAST' => 'Last used',
|
||||
|
||||
'ASS_DAYS' => [
|
||||
1 => '%d day',
|
||||
2 => '%d days',
|
||||
],
|
||||
'ASS_HOURS' => [
|
||||
1 => '%d hour',
|
||||
2 => '%d hours',
|
||||
],
|
||||
'ASS_MINUTES' => [
|
||||
1 => '%d minute',
|
||||
2 => '%d minutes',
|
||||
],
|
||||
'ASS_SECONDS' => [
|
||||
1 => '%d second',
|
||||
2 => '%d seconds',
|
||||
],
|
||||
|
||||
'ASS_LOG_ITEM_GIFTED' => 'Gave a gift to %s',
|
||||
'ASS_LOG_ITEM_PURCHASED' => 'Purchased an item',
|
||||
'ASS_LOG_ITEM_RECEIVED' => 'Received a gift from %s',
|
||||
'ASS_LOG_ITEM_USED' => 'Used an item',
|
||||
|
||||
'ASS_ERROR_TITLE' => 'Oh oh, it looks like you found our secret pot of %s',
|
||||
'ASS_ERROR_LOGGED' => 'This error has been logged. You can notify an Administrator to check the “Admin logs”.',
|
||||
|
||||
'ASS_ERROR_ALREADY_EXISTS' => 'The requested %s already exists.',
|
||||
'ASS_ERROR_NOT_ACTIVE_CATEGORY' => 'The requested category is currently not active.',
|
||||
'ASS_ERROR_NOT_ACTIVE_ITEM' => 'The requested item is currently not active.',
|
||||
'ASS_ERROR_NOT_AUTH_GIFT' => 'You are not authorised to gift items.',
|
||||
'ASS_ERROR_NOT_AUTH_PURCHASE' => 'You are not authorised to purchase items.',
|
||||
'ASS_ERROR_NOT_AUTH_RECEIVE' => 'The requested user is not authorised to receive gifts.',
|
||||
'ASS_ERROR_NOT_AVAILABLE' => 'The requested item is no longer available.',
|
||||
'ASS_ERROR_NOT_ENOUGH_POINTS' => 'You currently do not have enough %s to purchase this item.',
|
||||
'ASS_ERROR_NOT_EXISTS' => 'The requested %s does not yet exists.',
|
||||
'ASS_ERROR_NOT_FOUND_CATEGORY' => 'The requested category could not be found.',
|
||||
'ASS_ERROR_NOT_FOUND_ITEM' => 'The requested item could not be found.',
|
||||
'ASS_ERROR_NOT_FOUND' => 'The requested %s could not be found.',
|
||||
'ASS_ERROR_NOT_GIFTABLE' => 'The requested item can not be gifted.',
|
||||
'ASS_ERROR_NOT_GIFT_SELF' => 'You are not allowed to gift yourself.',
|
||||
'ASS_ERROR_NOT_OWNED' => 'You currently do not own this item.',
|
||||
'ASS_ERROR_NOT_OWNED_STACK' => 'You currently do not own this many of this item.',
|
||||
'ASS_ERROR_NOT_REFUND' => 'You are no longer authorised to refund this item. You have already used it.',
|
||||
'ASS_ERROR_NOT_UNIQUE' => 'The field “%1$s” contains a non-unique value. The value is already in use by “%2$s”.',
|
||||
'ASS_ERROR_OUT_OF_STOCK' => 'The requested item is currently out of stock.',
|
||||
'ASS_ERROR_STACK_LIMIT' => 'You currently already own the maximum allowed copies of this item.',
|
||||
'ASS_ERROR_STACK_LIMIT_USER' => '%s currently already owns the maximum allowed copies of this item.',
|
||||
'ASS_ERROR_STACK_NO_AUTH' => 'You are not authorised to own multiple copies of the same items.',
|
||||
'ASS_ERROR_STACK_NO_AUTH_USER' => '%s is not authorised to own multiple copies of the same items.',
|
||||
'ASS_ERROR_TOO_HIGH' => 'The field “%1$s” is too high. It must be lower than %2$s and it currently is %3$s.',
|
||||
'ASS_ERROR_TOO_LONG' => 'The field “%1$s” is too long. It must have less than %2$s characters and currently has %3$s characters.',
|
||||
'ASS_ERROR_TOO_LOW' => 'The field “%1$s” is too low. It must be higher than %2$s and it currently is %3$s.',
|
||||
'ASS_ERROR_TOO_SHORT' => 'The field “%1$s” is too short. It must have more than %2$s characters and currently has %3$s characters.',
|
||||
'ASS_ERROR_UNSIGNED' => 'The field “%s” is negative. It must have a positive value.',
|
||||
'ASS_ERROR_ILLEGAL_CHARS' => 'The field “%s” contains illegal characters.',
|
||||
|
||||
'ASS_WARNING_STACK' => [
|
||||
1 => 'You currently already own %d copy of this item.',
|
||||
2 => 'You currently already own %d copies of this item.',
|
||||
],
|
||||
]);
|
||||
33
ext/phpbbstudio/ass/language/en/ass_display.php
Normal file
33
ext/phpbbstudio/ass/language/en/ass_display.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ASS_DISPLAY_BIGGEST_BUYERS' => 'Biggest buyers',
|
||||
'ASS_DISPLAY_BIGGEST_GIFTERS' => 'Biggest gifters',
|
||||
'ASS_DISPLAY_BIGGEST_SPENDERS' => 'Biggest spenders',
|
||||
'ASS_DISPLAY_LIMITED_AVAILABLE' => 'Limited availability items',
|
||||
'ASS_DISPLAY_LIMITED_STOCK' => 'Limited stock items',
|
||||
'ASS_DISPLAY_PURCHASES_CATEGORY' => 'Purchases per category',
|
||||
'ASS_DISPLAY_PURCHASES_GROUP' => 'Purchases per group',
|
||||
'ASS_DISPLAY_PURCHASES_RECENT' => 'Recent purchases',
|
||||
]);
|
||||
28
ext/phpbbstudio/ass/language/en/ass_ext.php
Normal file
28
ext/phpbbstudio/ass/language/en/ass_ext.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ASS_DISABLE_EXTENDED' => 'Disabling the <strong>“Advanced Shop System”</strong> is not possible as it is still being extended by an other extension. Extension name: <strong>“%s”</strong>',
|
||||
'ASS_REQUIRES_APS' => 'The <strong>“Advanced Shop System”</strong> extension requires that the <strong>“Advanced Points System”</strong> extension is enabled.',
|
||||
'ASS_REQUIRES_APS_VERSION' => 'Minimum <strong>“Advanced Points System”</strong> version required is <strong>%s</strong>.',
|
||||
]);
|
||||
34
ext/phpbbstudio/ass/language/en/ass_lang.php
Normal file
34
ext/phpbbstudio/ass/language/en/ass_lang.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ASS_INVENTORY' => 'Inventory',
|
||||
'ASS_SHOP' => 'Shop',
|
||||
|
||||
'ASS_NOTIFICATION_GROUP' => 'Shop Notifications',
|
||||
'ASS_NOTIFICATION_TYPE_GIFT' => 'Someone gave you a gift',
|
||||
'ASS_NOTIFICATION_TYPE_STOCK' => 'An item has reached its low stock threshold',
|
||||
|
||||
'ASS_NOTIFICATION_GIFT' => '<strong>You have received a gift</strong> from %s',
|
||||
'ASS_NOTIFICATION_STOCK' => '<strong>An item is low on stock:</strong><br>» %s',
|
||||
]);
|
||||
56
ext/phpbbstudio/ass/language/en/info_acp_ass.php
Normal file
56
ext/phpbbstudio/ass/language/en/info_acp_ass.php
Normal file
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ACP_ASS_SYSTEM' => 'Advanced Shop System',
|
||||
'ACP_ASS_CATEGORIES' => 'Categories',
|
||||
'ACP_ASS_FILES' => 'Files',
|
||||
'ACP_ASS_INVENTORY' => 'Inventory',
|
||||
'ACP_ASS_ITEMS' => 'Items',
|
||||
'ACP_ASS_LOGS' => 'Logs',
|
||||
'ACP_ASS_OVERVIEW' => 'Overview',
|
||||
'ACP_ASS_SETTINGS' => 'Settings',
|
||||
|
||||
'LOG_ACP_ASS_CATEGORY_ADDED' => '<strong>Advanced Shop System —</strong> Category added<br>» %s',
|
||||
'LOG_ACP_ASS_CATEGORY_DELETED' => '<strong>Advanced Shop System —</strong> Category deleted<br>» %s',
|
||||
'LOG_ACP_ASS_CATEGORY_EDITED' => '<strong>Advanced Shop System —</strong> Category edited<br>» %s',
|
||||
|
||||
'LOG_ACP_ASS_ITEM_ADDED' => '<strong>Advanced Shop System —</strong> Item added<br>» %s',
|
||||
'LOG_ACP_ASS_ITEM_DELETED' => '<strong>Advanced Shop System —</strong> Item deleted<br>» %s',
|
||||
'LOG_ACP_ASS_ITEM_EDITED' => '<strong>Advanced Shop System —</strong> Item edited<br>» %s',
|
||||
|
||||
'LOG_ACP_ASS_ITEM_RESOLVED' => '<strong>Advanced Shop System —</strong> Item conflict resolved<br>» %s',
|
||||
|
||||
'LOG_ACP_ASS_INVENTORY_ADD' => '<strong>Advanced Shop System —</strong> Added items to users’ inventories.<br>» Items (%1$s): %2$s<br>» Users (%3$s): %4$s',
|
||||
'LOG_ACP_ASS_INVENTORY_ADD_USER' => '<strong>Advanced Shop System —</strong> Added items to a user’s inventory.<br>» Items (%1$s): %2$s<br>» Username: %3$s',
|
||||
'LOG_ACP_ASS_INVENTORY_DELETE' => '<strong>Advanced Shop System —</strong> Deleted items from users’ inventories.<br>» Items (%1$s): %2$s<br>» Users (%3$s): %4$s',
|
||||
'LOG_ACP_ASS_INVENTORY_DELETE_USER' => '<strong>Advanced Shop System —</strong> Deleted an item from a user’s inventory.<br>» Item: %1$s<br>» Username: %2$s',
|
||||
|
||||
'LOG_ACP_ASS_LOCATIONS' => '<strong>Advanced Shop System —</strong> Updated link locations',
|
||||
|
||||
'LOG_ACP_ASS_LOG_DELETED_ALL' => '<strong>Advanced Shop System —</strong> Deleted all log entries',
|
||||
'LOG_ACP_ASS_LOG_DELETED_ENTRY' => '<strong>Advanced Shop System —</strong> Deleted a log entry',
|
||||
'LOG_ACP_ASS_LOG_DELETED_ENTRIES' => '<strong>Advanced Shop System —</strong> Deleted multiple log entries',
|
||||
|
||||
'LOG_ACP_ASS_ITEM_TYPE_ERROR' => '<strong>Advanced Shop System —</strong> An error occurred while activating an item:<br>» %1$s › %2$s',
|
||||
]);
|
||||
41
ext/phpbbstudio/ass/language/en/permissions_ass.php
Normal file
41
ext/phpbbstudio/ass/language/en/permissions_ass.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* phpBB Studio - Advanced Shop System. An extension for the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) 2019, phpBB Studio, https://www.phpbbstudio.com
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
*/
|
||||
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Some characters you may want to copy&paste: ’ » “ ” …
|
||||
*/
|
||||
$lang = array_merge($lang, [
|
||||
'ACL_CAT_PHPBB_STUDIO' => 'phpBB Studio',
|
||||
|
||||
'ACL_A_ASS_INVENTORY' => '<strong>Advanced Shop System</strong> - Can manage the inventories',
|
||||
'ACL_A_ASS_ITEMS' => '<strong>Advanced Shop System</strong> - Can manage the items',
|
||||
'ACL_A_ASS_FILES' => '<strong>Advanced Shop System</strong> - Can manage the files',
|
||||
'ACL_A_ASS_LOGS' => '<strong>Advanced Shop System</strong> - Can manage the logs',
|
||||
'ACL_A_ASS_OVERVIEW' => '<strong>Advanced Shop System</strong> - Can see the overview',
|
||||
'ACL_A_ASS_SETTINGS' => '<strong>Advanced Shop System</strong> - Can manage the settings',
|
||||
|
||||
'ACL_U_ASS_CAN_GIFT' => '<strong>Advanced Shop System</strong> - Can gift',
|
||||
'ACL_U_ASS_CAN_PURCHASE' => '<strong>Advanced Shop System</strong> - Can purchase',
|
||||
'ACL_U_ASS_CAN_RECEIVE_GIFT' => '<strong>Advanced Shop System</strong> - Can receive gift',
|
||||
'ACL_U_ASS_CAN_RECEIVE_STOCK_NOTIFICATIONS' => '<strong>Advanced Shop System</strong> - Can receive stock notifications',
|
||||
'ACL_U_ASS_CAN_STACK' => '<strong>Advanced Shop System</strong> - Can stack inventory items',
|
||||
'ACL_U_ASS_CAN_VIEW_INACTIVE_ITEMS' => '<strong>Advanced Shop System</strong> - Can view inactive items',
|
||||
'ACL_U_ASS_CAN_VIEW_INACTIVE_SHOP' => '<strong>Advanced Shop System</strong> - Can view inactive shop',
|
||||
]);
|
||||
Reference in New Issue
Block a user