1
|
|
|
<?php |
2
|
|
|
|
3
|
|
View Code Duplication |
if (defined('FOR_XOOPS_LANG_CHECKER') || !defined('APCAL_MB_APCALLOADED')) { |
|
|
|
|
4
|
|
|
define('APCAL_MB_APCALLOADED', 1); |
5
|
|
|
|
6
|
|
|
// index.php |
7
|
|
|
define('_MB_APCAL_ERR_NOPERMTOUPDATE', 'You do not have permission to change events'); |
8
|
|
|
define('_APCAL_APURL', 'http://xoops.antiquespromotion.ca'); |
9
|
|
|
define('_APCAL_APURL2', 'http://www.antiquespromotion.ca'); |
10
|
|
|
define('_MD_APCAL_COPYRIGHT', '<a href="http://xoops.antiquespromotion.ca" title="Calendar for Xoops" target="_blank">APCal</a> by <a href="http://www.antiquespromotion.ca" title="Antiques Promotion Canada" target="_blank">AP</a>'); |
11
|
|
|
define('_MD_APCAL_ERR_NOPERMTOINSERT', 'You do not have permission to create events'); |
12
|
|
|
define('_MD_APCAL_ERR_NOPERMTODELETE', 'You do not have permission to delete events'); |
13
|
|
|
define('_MD_APCAL_ALT_PRINTTHISEVENT', 'Print this event'); |
14
|
|
|
define('_APCAL_CALENDAR', 'Calendar'); |
15
|
|
|
|
16
|
|
|
// print.php |
17
|
|
|
define('_MB_APCAL_COMESFROM', 'This event comes from %s'); |
18
|
|
|
|
19
|
|
|
// edit event |
20
|
|
|
define('_APCAL_TH_GETCOORDS', 'Find position'); |
21
|
|
|
define('_APCAL_TH_LATITUDE', 'Latitude'); |
22
|
|
|
define('_APCAL_TH_LONGITUDE', 'Longitude'); |
23
|
|
|
define('_APCAL_TH_ZOOM', 'Zoom level'); |
24
|
|
|
define('_APCAL_TH_EMAIL', 'Email'); |
25
|
|
|
define('_APCAL_TH_URL', 'URL'); |
26
|
|
|
define('_APCAL_MAINPICTURE', 'Main picture'); |
27
|
|
|
define('_APCAL_PICTURES', 'Other pictures'); |
28
|
|
|
define('_APCAL_TH_MAINCATEGORY', 'Main Category'); |
29
|
|
|
define('_APCAL_NONE', 'None'); |
30
|
|
|
define('_APCAL_DAY', 'Day'); |
31
|
|
|
define('_APCAL_DIFFERENTHOURS', 'Different hours for each days'); |
32
|
|
|
define('_APCAL_SAMEHOURS', 'Use same hours for each day'); |
33
|
|
|
|
34
|
|
|
// API texts |
35
|
|
|
define('_APCAL_PROVIDEDBY', 'Results provided by'); |
36
|
|
|
define('_APCAL_X', 'by'); |
37
|
|
|
define('_APCAL_AP', 'Antiques Promotion Canada'); |
38
|
|
|
define('_APCAL_CALENDAROF', 'Calendar of'); |
39
|
|
|
|
40
|
|
|
// Share admin |
41
|
|
|
define('_APCAL_SHARECALENDARFORM', 'Fill up that form to show the calendar on your website.'); |
42
|
|
|
define('_APCAL_SHOWALLCAT', 'All categories'); |
43
|
|
|
define('_APCAL_GENERATE', 'Generate'); |
44
|
|
|
define('_APCAL_GENERATEHINT', 'You might have to click generate two times on certain browsers.'); |
45
|
|
|
define('_APCAL_CATEGORIES', 'categories'); |
46
|
|
|
define('_APCAL_NBEVENTS', 'Number of events displayed'); |
47
|
|
|
define('_APCAL_WIDTH', 'Block width'); |
48
|
|
|
define('_APCAL_STYLE', 'Style and colors'); |
49
|
|
|
define('_APCAL_IFCUSTOM', 'If you chose "custom", fill the section below (in CSS).'); |
50
|
|
|
define('_APCAL_BORDER', 'Block border'); |
51
|
|
|
define('_APCAL_TITLE', 'Calendar title'); |
52
|
|
|
define('_APCAL_TEXT', 'Calendar text'); |
53
|
|
|
define('_APCAL_LINK', 'Event links'); |
54
|
|
|
define('_APCAL_EVEN', 'Even rows'); |
55
|
|
|
define('_APCAL_ODD', 'Odd rows'); |
56
|
|
|
define('_APCAL_DEFAULT', 'Default'); |
57
|
|
|
define('_APCAL_CUSTOM', 'Custom'); |
58
|
|
|
define('_APCAL_THEME', 'From your theme'); |
59
|
|
|
define('_APCAL_SHAREINFO', 'In order to display the calendar on your website, you must copy & paste this HTML code on your desired webpage.'); |
60
|
|
|
define('_APCAL_SHARECALENDAR', 'Display this calendar on your website'); |
61
|
|
|
|
62
|
|
|
// Event view |
63
|
|
|
define('_APCAL_PREVEVENT', 'Previous event'); |
64
|
|
|
define('_APCAL_NEXTEVENT', 'Next event'); |
65
|
|
|
define('_APCAL_BACKTOCAL', 'Back to calendar'); |
66
|
|
|
|
67
|
|
|
// Tooltip |
68
|
|
|
define('_APCAL_CLICKFORDETAILS', 'Click to see event'); |
69
|
|
|
define('_APCAL_BEGIN', 'From'); |
70
|
|
|
define('_APCAL_END', 'To'); |
71
|
|
|
define('_APCAL_LOCATION', 'Location'); |
72
|
|
|
|
73
|
|
|
// Tell a friend |
74
|
|
|
define('_APCAL_TELLAFRIEND', 'Tell a friend'); |
75
|
|
|
define('_APCAL_FROM', 'From'); |
76
|
|
|
define('_APCAL_TO', 'To'); |
77
|
|
|
define('_APCAL_CAPTCHA', 'Confirmation code'); |
78
|
|
|
define('_APCAL_SUBJECT', 'Subject'); |
79
|
|
|
define('_APCAL_MESSAGE', 'Message'); |
80
|
|
|
define('_APCAL_TELLAFRIENDTEXT', 'You should visit this fabulous calendar at'); |
81
|
|
|
|
82
|
|
|
// Share |
83
|
|
|
define('_APCAL_FB_LNG', 'en_US'); |
84
|
|
|
define('_APCAL_GPLUS_LNG', 'en'); |
85
|
|
|
define('_MD_APCAL_DBUPDATED', 'Database Updated'); |
86
|
|
|
|
87
|
|
|
// define('_MD_APCAL_ERR_NOPERMTOINSERT', 'en_US'); |
88
|
|
|
|
89
|
|
|
define('_MD_APCAL_MODCONFIG', 'Module Config Options'); |
90
|
|
|
define('_MD_APCAL_TPLSETS', 'Templates'); // |
91
|
|
|
define('_MD_APCAL_FILENAME', 'File Name'); |
92
|
|
|
define('_MD_APCAL_GENERATE', 'Generate'); |
93
|
|
|
|
94
|
|
|
define('_MD_APCAL_PERMADDNG', 'Could not add %s permission to %s for group %s'); |
95
|
|
|
define('_MD_APCAL_PERMADDNGP', 'All parent items must be selected.'); |
96
|
|
|
define('_MD_APCAL_PERMADDOK', 'Added %s permission to %s for group %s'); |
97
|
|
|
define('_MD_APCAL_PERMRESETNG', 'Could not reset group permission for module %s'); |
98
|
|
|
|
99
|
|
|
define('_MD_APCAL_MAP_APPLY', 'Apply selected marker'); |
100
|
|
|
} |
101
|
|
|
|
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.