Completed
Push — master ( 9d3fbd...af269e )
by Michael
09:48
created

language/english/modinfo.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/*
3
 You may not change or alter any portion of this comment or credits
4
 of supporting developers from this source code or any supporting source code
5
 which is considered copyrighted (c) material of the original comment or credit authors.
6
7
 This program is distributed in the hope that it will be useful,
8
 but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
/**
13
 * oledrion
14
 *
15
 * @copyright   {@link https://xoops.org/ XOOPS Project}
16
 * @license     {@link http://www.fsf.org/copyleft/gpl.html GNU public license}
17
 * @author      Hervé Thouzard (http://www.herve-thouzard.com/)
18
 */
19
20
// The name of this module
21
define('_MI_OLEDRION_NAME', 'My Shop');
22
23
// A brief description of this module
24
define('_MI_OLEDRION_DESC', 'Creates an online shop to display and sell products.');
25
26
// Names of blocks for this module (Not all module has blocks)
27
define('_MI_OLEDRION_BNAME1', 'Recent Products');
28
define('_MI_OLEDRION_BNAME2', 'Top Products');
29
define('_MI_OLEDRION_BNAME3', 'Categories');
30
define('_MI_OLEDRION_BNAME4', 'Best Sellers');
31
define('_MI_OLEDRION_BNAME5', 'Best Rated Products');
32
define('_MI_OLEDRION_BNAME6', 'Random Product');
33
define('_MI_OLEDRION_BNAME7', 'Products on promotion');
34
define('_MI_OLEDRION_BNAME8', 'Shopping cart');
35
define('_MI_OLEDRION_BNAME9', 'Recommended products');
36
define('_MI_OLEDRION_BNAME10', 'Recently Sold');
37
define('_MI_OLEDRION_BNAME11', 'Last lists');
38
define('_MI_OLEDRION_BNAME12', 'My lists');
39
define('_MI_OLEDRION_BNAME13', 'Lists of the current category');
40
define('_MI_OLEDRION_BNAME14', 'Random lists');
41
define('_MI_OLEDRION_BNAME15', 'Most viewed lists');
42
define('_MI_OLEDRION_BNAME16', 'Ajax search');
43
44
define('_MI_OLEDRION_BNAME1_DESC', 'Shows recently added products titles');
45
define('_MI_OLEDRION_BNAME2_DESC', 'Shows most viewed products titles');
46
define('_MI_OLEDRION_BNAME3_DESC', 'Show categories in relation with the category page');
47
define('_MI_OLEDRION_BNAME4_DESC', 'Show most sold products');
48
define('_MI_OLEDRION_BNAME5_DESC', 'Shows best rated product');
49
define('_MI_OLEDRION_BNAME6_DESC', 'Shows a random product');
50
define('_MI_OLEDRION_BNAME7_DESC', 'Shows products in promotion');
51
define('_MI_OLEDRION_BNAME8_DESC', 'Shows cart');
52
define('_MI_OLEDRION_BNAME9_DESC', 'Shows last recommended products');
53
define('_MI_OLEDRION_BNAME10_DESC', 'Shows Recently Sold products');
54
define('_MI_OLEDRION_BNAME11_DESC', 'Shows recent public lists');
55
define('_MI_OLEDRION_BNAME12_DESC', 'Shows user lists');
56
define('_MI_OLEDRION_BNAME13_DESC', 'Shows recent public lists according to the current category');
57
define('_MI_OLEDRION_BNAME14_DESC', 'Shows random lists');
58
define('_MI_OLEDRION_BNAME15_DESC', 'Shows most viewed lists');
59
define('_MI_OLEDRION_BNAME16_DESC', 'Shows ajax search form');
60
61
// Sub menu titles
62
define('_MI_OLEDRION_SMNAME1', 'Shopping cart');
63
define('_MI_OLEDRION_SMNAME2', 'Index');
64
define('_MI_OLEDRION_SMNAME3', 'Categories');
65
define('_MI_OLEDRION_SMNAME4', 'Categories map');
66
define('_MI_OLEDRION_SMNAME5', 'Whos who');
67
define('_MI_OLEDRION_SMNAME6', 'All products');
68
define('_MI_OLEDRION_SMNAME7', 'Search');
69
define('_MI_OLEDRION_SMNAME8', 'General Conditions Of Sale');
70
define('_MI_OLEDRION_SMNAME9', 'Recommended Products');
71
define('_MI_OLEDRION_SMNAME10', 'My lists');
72
define('_MI_OLEDRION_SMNAME11', 'All lists');
73
74
// Names of admin menu items
75
define('_MI_OLEDRION_ADMENU0', 'Vendors');
76
define('_MI_OLEDRION_ADMENU1', 'VAT');
77
define('_MI_OLEDRION_ADMENU2', 'Categories');
78
define('_MI_OLEDRION_ADMENU3', 'Manufacturers');
79
define('_MI_OLEDRION_ADMENU4', 'Products');
80
define('_MI_OLEDRION_ADMENU5', 'Orders');
81
define('_MI_OLEDRION_ADMENU6', 'Discounts');
82
define('_MI_OLEDRION_ADMENU7', 'Newsletter');
83
define('_MI_OLEDRION_ADMENU8', 'Texts');
84
define('_MI_OLEDRION_ADMENU9', 'Inventory');
85
define('_MI_OLEDRION_ADMENU10', 'Dashboard');
86
define('_MI_OLEDRION_ADMENU11', 'Attachments');
87
define('_MI_OLEDRION_ADMENU12', 'Gateways');
88
define('_MI_OLEDRION_ADMENU13', 'Prod. Options');
89
define('_MI_OLEDRION_ADMENU14', 'Blocks');
90
define('_MI_OLEDRION_ADMENU15', 'Lists');
91
define('_MI_OLEDRION_ADMENU16', 'Maintain');
92
define('_MI_OLEDRION_ADMENU17', 'Prod. Properties');
93
define('_MI_OLEDRION_ADMENU18', 'Packing');
94
define('_MI_OLEDRION_ADMENU19', 'Location');
95
define('_MI_OLEDRION_ADMENU20', 'Delivery');
96
define('_MI_OLEDRION_ADMENU21', 'Payment');
97
98
// Settings
99
define('_MI_OLEDRION_SETTING_1', 'USD');
100
define('_MI_OLEDRION_SETTING_2', '$');
101
define('_MI_OLEDRION_SETTING_3', '2');
102
define('_MI_OLEDRION_SETTING_4', '1');
103
define('_MI_OLEDRION_SETTING_5', '[space]');
104
define('_MI_OLEDRION_SETTING_6', ',');
105
106
// Title of config items
107
define('_MI_OLEDRION_NEWLINKS', 'Select the maximum number of new products displayed on top page');
108
define('_MI_OLEDRION_PERPAGE', 'Select the maximum number of products displayed in each page');
109
define('_MI_OLEDRION_RELATEDLIMIT', 'Select the maximum number of related products displayed in product page');
110
111
// Text for notifications
112
define('_MI_OLEDRION_GLOBAL_NOTIFY', 'Global');
113
define('_MI_OLEDRION_GLOBAL_NOTIFYDSC', 'Global lists notification options.');
114
115
define('_MI_OLEDRION_GLOBAL_NEWCATEGORY_NOTIFY', 'New Category');
116
define('_MI_OLEDRION_GLOBAL_NEWCATEGORY_NOTIFYCAP', 'Notify me when a new product category is created.');
117
define('_MI_OLEDRION_GLOBAL_NEWCATEGORY_NOTIFYDSC', 'Receive notification when a new product category is created.');
118
define('_MI_OLEDRION_GLOBAL_NEWCATEGORY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify: New Product category');
119
120
define('_MI_OLEDRION_GLOBAL_NEWLINK_NOTIFY', 'New Product');
121
define('_MI_OLEDRION_GLOBAL_NEWLINK_NOTIFYCAP', 'Notify me when a new product is added.');
122
define('_MI_OLEDRION_GLOBAL_NEWLINK_NOTIFYDSC', 'Receive notification when a new product is added.');
123
define('_MI_OLEDRION_GLOBAL_NEWLINK_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New Product');
124
125
define('_MI_OLEDRION_FORM_OPTIONS', 'Form Option');
126
define('_MI_OLEDRION_FORM_OPTIONS_DESC', 'Select the editor to use. If you have a simple install (e.g you use only xoops core editor class, provided in the standard XOOPS core package), then you can just select DHTML and Compact');
127
128
define('_MI_OLEDRION_FORM_COMPACT', 'Compact');
129
define('_MI_OLEDRION_FORM_DHTML', 'DHTML');
130
define('_MI_OLEDRION_FORM_SPAW', 'Spaw Editor');
131
define('_MI_OLEDRION_FORM_HTMLAREA', 'HtmlArea Editor');
132
define('_MI_OLEDRION_FORM_FCK', 'FCK Editor');
133
define('_MI_OLEDRION_FORM_KOIVI', 'Koivi Editor');
134
define('_MI_OLEDRION_FORM_TINYEDITOR', 'TinyEditor');
135
136
define('_MI_OLEDRION_INFOTIPS', 'Length of tooltips');
137
define('_MI_OLEDRION_INFOTIPS_DES', 'If you use this option, links related to products will contains the first (n) characters of the product. If you set this value to 0 then the infotips will be empty');
138
define('_MI_OLEDRION_UPLOADFILESIZE', 'MAX Filesize Upload (KB) 1048576 = 1 Meg');
139
140
define('_MI_PRODUCTSBYTHISMANUFACTURER', 'Products by the same manufacturer');
141
142
define('_MI_OLEDRION_PREVNEX_LINK', 'Show Previous and Next link?');
143
define('_MI_OLEDRION_PREVNEX_LINK_DESC', 'When this option is set to Yes, two new links are visible at the bottom of each product. Those links are used to go to the previous and next product according to the publish date');
144
145
define('_MI_OLEDRION_SUMMARY1_SHOW', 'Show recent products in all categories?');
146
define('_MI_OLEDRION_SUMMARY1_SHOW_DESC', 'When you use this option, a summary containing links to all the recent published products is visible at the bottom of each product');
147
148
define('_MI_OLEDRION_SUMMARY2_SHOW', 'Show recent products in current category ?');
149
define('_MI_OLEDRION_SUMMARY2_SHOW_DESC', 'When you use this option, a summary containing links to all the recent published products is visible at the bottom of each product');
150
151
define('_MI_OLEDRION_OPT23', '[METAGEN] - Maximum count of keywords to generate');
152
define('_MI_OLEDRION_OPT23_DSC', 'Select the maximum count of keywords to generate automatically.');
153
154
define('_MI_OLEDRION_OPT24', '[METAGEN] - Keywords order');
155
define('_MI_OLEDRION_OPT241', 'Create them in the order they appear in the text');
156
define('_MI_OLEDRION_OPT242', 'Order of words frequency');
157
define('_MI_OLEDRION_OPT243', 'Reverse order of words frequency');
158
159
define('_MI_OLEDRION_OPT25', '[METAGEN] - Blacklist');
160
define('_MI_OLEDRION_OPT25_DSC', 'Enter words (separated by a comma) to remove from meta keywords');
161
define('_MI_OLEDRION_RATE', 'Enable users to rate Products?');
162
163
define('_MI_OLEDRION_ADVERTISEMENT', 'Advertisement');
164
define('_MI_OLEDRION_ADV_DESCR', 'Enter a text or a javascript code to display in your products');
165
define('_MI_OLEDRION_MIMETYPES', 'Enter authorised Mime Types for upload (separated them on a new line)');
166
define('_MI_OLEDRION_STOCK_EMAIL', 'Email address to use when stocks are low');
167
define('_MI_OLEDRION_STOCK_EMAIL_DSC', 'Dont type anything if you dont want to use this function.');
168
169
define('_MI_OLEDRION_OPT7', 'Use RSS feeds ?');
170
define('_MI_OLEDRION_OPT7_DSC', 'The last Products will be available via an RSS Feed');
171
172
define('_MI_OLEDRION_CHUNK1', 'Span for most recent Products');
173
define('_MI_OLEDRION_CHUNK2', 'Span for most purchased Products');
174
define('_MI_OLEDRION_CHUNK3', 'Span for most viewed Products');
175
define('_MI_OLEDRION_CHUNK4', 'Span for best ranked Products');
176
define('_MI_OLEDRION_ITEMSCNT', 'Items count to display in the administration');
177
define('_MI_OLEDRION_PDF_CATALOG', 'Allow the use of the PDF catalog ?');
178
define('_MI_OLEDRION_URL_REWR', 'Use URL Rewriting ?');
179
180
define('_MI_OLEDRION_MONEY_F', 'Name of currency');
181
define('_MI_OLEDRION_MONEY_S', 'Symbol for currency');
182
define('_MI_OLEDRION_NO_MORE', 'Display products even when there is no stock available ?');
183
define('_MI_OLEDRION_MSG_NOMORE', 'Text to display when theres no more stock for a product');
184
define('_MI_OLEDRION_GRP_SOLD', 'Group to send an email when a product is sold ?');
185
define('_MI_OLEDRION_GRP_QTY', 'Group of users authorized to modify products quantities from the Product page');
186
define('_MI_OLEDRION_BEST_TOGETHER', 'Display Better Together?');
187
define('_MI_OLEDRION_UNPUBLISHED', 'Display product whose publication date is later than today?');
188
define('_MI_OLEDRION_DECIMAL', 'Decimal point for money');
189
define('_MI_OLEDRION_CONF04', 'Thousands separator');
190
define('_MI_OLEDRION_CONF05', 'Decimals separator');
191
define('_MI_OLEDRION_CONF00', 'Moneys position ?');
192
define('_MI_OLEDRION_CONF00_DSC', 'Yes = right, No = left');
193
define('_MI_OLEDRION_MANUAL_META', 'Enter meta data manually?');
194
195
define('_MI_OLEDRION_OFFLINE_PAYMENT', 'Do you want to enable Offline payment?');
196
define('_MI_OLEDRION_OFF_PAY_DSC', 'If you enable it, you must type some texts in the module Administration in the Texts tab');
197
198
define('_MI_OLEDRION_USE_PRICE', 'Do you want to use the price field?');
199
define('_MI_OLEDRION_USE_PRICE_DSC', 'With this option you can disable products price (to create a catalog, for example)');
200
201
define('_MI_OLEDRION_PERSISTENT_CART', 'Do you want to use the persistent cart?');
202
define('_MI_OLEDRION_PERSISTENT_CART_DSC', 'When this option is set to Yes, the users cart is saved (Warning: this option will consume resources)');
203
204
define('_MI_OLEDRION_RESTRICT_ORDERS', 'Restrict orders to registered users ?');
205
define('_MI_OLEDRION_RESTRICT_ORDERS_DSC', 'If you set this option to Yes then only the registered users can order products');
206
207
define('_MI_OLEDRION_RESIZE_MAIN', 'Do you want to automatically resize the main picture of each products picture?');
208
define('_MI_OLEDRION_RESIZE_MAIN_DSC', '');
209
210
define('_MI_OLEDRION_CREATE_THUMBS', 'Do you want the module to automatically create the product thumbnail?');
211
define('_MI_OLEDRION_CREATE_THUMBS_DSC', 'If you dont use this option then you will have to upload products thumbnails yourself');
212
213
define('_MI_OLEDRION_IMAGES_WIDTH', 'Max Images width');
214
define('_MI_OLEDRION_IMAGES_HEIGHT', 'Max Images height');
215
216
define('_MI_OLEDRION_THUMBS_WIDTH', 'Max Thumbnail width');
217
define('_MI_OLEDRION_THUMBS_HEIGHT', 'Max Thumbnail height');
218
219
define('_MI_OLEDRION_RESIZE_CATEGORIES', 'Do you also want to resize categories pictures and manufacturers pictures to the above dimensions?');
220
define('_MI_OLEDRION_SHIPPING_QUANTITY', 'Multiply the product shipping amount by the product quantity?');
221
222
define('_MI_OLEDRION_USE_TAGS', 'Do you want to use the tags system ? (the XOOPS TAG module must be installed)');
223
define('_MI_OLEDRION_TAG_CLOUD', 'Module Tag Cloud');
224
define('_MI_OLEDRION_TOP_TAGS', 'Module Top Tags');
225
226
define('_MI_OLEDRION_ASK_VAT_NUMBER', 'Do you want to ask your clients their Sales Tax number?');
227
define('_MI_OLEDRION_USE_STOCK_ATTRIBUTES', 'Do you want to manage the stocks in the products attributes?');
228
229
define('_MI_OLEDRION_COLUMNS_INDEX', 'Columns count in the module index page');
230
define('_MI_OLEDRION_COLUMNS_CATEGORY', 'Columns count in the category page');
231
define('_MI_OLEDRION_ADAPTED_LIST', 'Maximum products count to display before to replace the list with an adapted list');
232
233
define('_MI_OLEDRION_PRODUCT_PROPERTY1', 'Product Property 1');
234
define('_MI_OLEDRION_PRODUCT_PROPERTY2', 'Product Property 2');
235
define('_MI_OLEDRION_PRODUCT_PROPERTY3', 'Product Property 3');
236
define('_MI_OLEDRION_PRODUCT_PROPERTY4', 'Product Property 4');
237
define('_MI_OLEDRION_PRODUCT_PROPERTY5', 'Product Property 5');
238
define('_MI_OLEDRION_PRODUCT_PROPERTY6', 'Product Property 6');
239
define('_MI_OLEDRION_PRODUCT_PROPERTY7', 'Product Property 7');
240
define('_MI_OLEDRION_PRODUCT_PROPERTY8', 'Product Property 8');
241
define('_MI_OLEDRION_PRODUCT_PROPERTY9', 'Product Property 9');
242
define('_MI_OLEDRION_PRODUCT_PROPERTY10', 'Product Property 10');
243
define('_MI_OLEDRION_PRODUCT_PROPERTY_TITLE', 'Title');
244
245
define('_MI_OLEDRION_SEARCH_CATEGORY', 'Show category');
246
define('_MI_OLEDRION_SEARCH_MANUFACTURERS', 'Show Manufacturers');
247
define('_MI_OLEDRION_SEARCH_VENDORS', 'Show vendors');
248
define('_MI_OLEDRION_SEARCH_PRICE', 'Show price');
249
define('_MI_OLEDRION_SEARCH_STOCKS', 'Show stocks');
250
define('_MI_OLEDRION_SEARCH_PROPERTY1', 'Show property 1');
251
define('_MI_OLEDRION_SEARCH_PROPERTY2', 'Show property 2');
252
define('_MI_OLEDRION_SEARCH_PROPERTY3', 'Show property 3');
253
define('_MI_OLEDRION_SEARCH_PROPERTY4', 'Show property 4');
254
define('_MI_OLEDRION_SEARCH_PROPERTY5', 'Show property 5');
255
define('_MI_OLEDRION_SEARCH_PROPERTY6', 'Show property 6');
256
define('_MI_OLEDRION_SEARCH_PROPERTY7', 'Show property 7');
257
define('_MI_OLEDRION_SEARCH_PROPERTY8', 'Show property 8');
258
define('_MI_OLEDRION_SEARCH_PROPERTY9', 'Show property 9');
259
define('_MI_OLEDRION_SEARCH_PROPERTY10', 'Show property 10');
260
261
define('_MI_OLEDRION_CHECKOUT_COUNTRY', 'Show select country');
262
define('_MI_OLEDRION_CHECKOUT_COUNTRY_DSC', 'if not show, use default selected country on config.php file');
263
define('_MI_OLEDRION_CHECKOUT_SHIPPING', 'Shipping price type');
264
define('_MI_OLEDRION_CHECKOUT_SHIPPING_DSC', 'This option just work when your checkout level are Medium or Long');
265
define('_MI_OLEDRION_CHECKOUT_SHIPPING_1', 'Product shipping price + Location delivery price');
266
define('_MI_OLEDRION_CHECKOUT_SHIPPING_2', 'Product shipping price');
267
define('_MI_OLEDRION_CHECKOUT_SHIPPING_3', 'Location delivery price');
268
define('_MI_OLEDRION_CHECKOUT_SHIPPING_4', 'Free');
269
270
define('_MI_OLEDRION_GATEWAY', 'Gateway used by the module');
271
272
define('_MI_OLEDRION_ASK_BILL', 'Ask about bill');
273
274
define('_MI_OLEDRION_CHECKOUT_LEVEL', 'Checkout level');
275
define('_MI_OLEDRION_CHECKOUT_LEVEL_1', 'Short - Information, Confirm');
276
define('_MI_OLEDRION_CHECKOUT_LEVEL_2', 'Medium - Information, location, Delivery, Payment, Confirm');
277
define('_MI_OLEDRION_CHECKOUT_LEVEL_3', 'Long - Information, Packing, location, Delivery, Payment, Confirm');
278
279
define('_MI_OLEDRION_SMS_CHECKOUT', 'Send sms after order checkout?');
280
define('_MI_OLEDRION_SMS_CHECKOUT_TEXT', 'SMS checkout text');
281
define('_MI_OLEDRION_SMS_VALIDATE', 'Send SMS after validate order by admin?');
282
define('_MI_OLEDRION_SMS_VALIDATE_TEXT', 'SMS validate text');
283
284
define('_MI_OLEDRION_ADMINGROUPS', 'Groups than have access to all admin parts');
285
define('_MI_OLEDRION_ADMINGROUPS_DSC', 'Other groups just have access to seleted parts');
286
define('_MI_OLEDRION_ADMINGROUPS_PARTS', 'Set just allowed parts for access by selected group');
287
288
define('_MI_OLEDRION_BREAK_COMMENT_NOTIFICATION', 'Comments and Notifications');
289
define('_MI_OLEDRION_BREAK_SEARCH', 'Search');
290
define('_MI_OLEDRION_BREAK_IMAGE', 'Image');
291
define('_MI_OLEDRION_BREAK_CHECKOUT', 'Checkout');
292
define('_MI_OLEDRION_BREAK_VIEW', 'View');
293
define('_MI_OLEDRION_BREAK_MONEY', 'Money');
294
define('_MI_OLEDRION_BREAK_META', 'Meta');
295
define('_MI_OLEDRION_BREAK_SMS', 'SMS');
296
297
define('_MI_OLEDRION_SMS_PACK', 'SMS Pack');
298
define('_MI_OLEDRION_SMS_PACK_TEXT', 'SMS Pack Description');
299
define('_MI_OLEDRION_SMS_SUBMIT', 'SMS Submit');
300
define('_MI_OLEDRION_SMS_SUBMIT_TEXT', 'SMS Submit Description');
301
define('_MI_OLEDRION_SMS_DELIVERY', 'SMS Delivery');
302
define('_MI_OLEDRION_SMS_DELIVERY_TEXT', 'SMS Delivery Description');
303
define('_MI_OLEDRION_SMS_TRACK', 'SMS Track');
304
define('_MI_OLEDRION_SMS_TRACK_TEXT', 'SMS Track Description');
305
306
//2.34
307
//Help
308
define('_MI_OLEDRION_DIRNAME', basename(dirname(dirname(__DIR__))));
309
define('_MI_OLEDRION_HELP_HEADER', __DIR__ . '/help/helpheader.html');
310
define('_MI_OLEDRION_BACK_2_ADMIN', 'Back to Administration of ');
311
define('_MI_OLEDRION_OVERVIEW', 'Overview');
312
313
//define('_MI_OLEDRION_HELP_DIR', __DIR__);
0 ignored issues
show
Unused Code Comprehensibility introduced by
75% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
314
315
//help multi-page
316
define('_MI_OLEDRION_DISCLAIMER', 'Disclaimer');
317
define('_MI_OLEDRION_LICENSE', 'License');
318
define('_MI_OLEDRION_SUPPORT', 'Support');
319