1
|
|
|
<?php |
2
|
|
|
|
3
|
|
View Code Duplication |
if( defined( 'FOR_XOOPS_LANG_CHECKER' ) || ! defined( 'APCAL_MB_LOADED' ) ) { |
|
|
|
|
4
|
|
|
|
5
|
|
|
define( 'APCAL_MB_LOADED' , 1 ) ; |
6
|
|
|
|
7
|
|
|
// index.php |
8
|
|
|
define('_MB_APCAL_ERR_NOPERMTOUPDATE',"Vous n'êtes pas autorisés à modifier les évènements"); |
9
|
|
|
define('_APCAL_APURL', 'http://xoops.antiquepromotion.com'); |
10
|
|
|
define('_APCAL_APURL2', 'http://www.antiquepromotion.com'); |
11
|
|
|
define('APCAL_COPYRIGHT' , '<a href="http://xoops.antiquepromotion.com" title="Calendrier pour Xoops" target="_blank">APCal</a> par <a href="http://www.antiquepromotion.com" title="Antiques Promotion Québec" target="_blank">AP</a>'); |
12
|
|
|
define('_MB_APCAL_ERR_NOPERMTOINSERT',"Vous n'êtes pas autorisés à créer des évènements"); |
13
|
|
|
define('_MB_APCAL_ERR_NOPERMTODELETE',"Vous n'êtes pas autorisés à supprimer des évènements"); |
14
|
|
|
define('_MB_APCAL_ALT_PRINTTHISEVENT','Imprimer cet évènement'); |
15
|
|
|
define('_APCAL_CALENDAR', 'Calendrier'); |
16
|
|
|
|
17
|
|
|
// print.php |
18
|
|
|
define('_MB_APCAL_COMESFROM','Cet évènement provient de '); |
19
|
|
|
|
20
|
|
|
// edit event |
21
|
|
|
define('_APCAL_TH_GETCOORDS', 'Trouver une position'); |
22
|
|
|
define('_APCAL_TH_LATITUDE', 'Latitude'); |
23
|
|
|
define('_APCAL_TH_LONGITUDE', 'Longitude'); |
24
|
|
|
define('_APCAL_TH_ZOOM', 'Niveau de zoom'); |
25
|
|
|
define('_APCAL_TH_EMAIL', 'Email'); |
26
|
|
|
define('_APCAL_TH_URL', 'URL'); |
27
|
|
|
define('_APCAL_MAINPICTURE', 'Image principale'); |
28
|
|
|
define('_APCAL_PICTURES', 'Autres images'); |
29
|
|
|
define('_APCAL_TH_MAINCATEGORY', 'Catégorie principale'); |
30
|
|
|
define('_APCAL_NONE', 'Aucune'); |
31
|
|
|
define('_APCAL_DAY', 'Jour'); |
32
|
|
|
define('_APCAL_DIFFERENTHOURS', 'Heures différentes pour chaque jour'); |
33
|
|
|
define('_APCAL_SAMEHOURS', 'Utiliser les mêmes heures pour tous les jours'); |
34
|
|
|
|
35
|
|
|
// API texts |
36
|
|
|
define('_APCAL_PROVIDEDBY', 'Données fournies par'); |
37
|
|
|
define('_APCAL_X', 'par'); |
38
|
|
|
define('_APCAL_AP', 'Antique Promotion Qué'); |
39
|
|
|
define('_APCAL_CALENDAROF', 'Calendrier de'); |
40
|
|
|
|
41
|
|
|
// Share admin |
42
|
|
|
define('_APCAL_SHARECALENDARFORM', 'Repmplissez ce formulaire pour montrer le calendrier sur votre site.'); |
43
|
|
|
define('_APCAL_SHOWALLCAT', 'Toutes les catégories'); |
44
|
|
|
define('_APCAL_GENERATE', 'Générer'); |
45
|
|
|
define('_AP_GENERATEHINT', 'Vous devez cliquer deux fois sur Générer pour voir l\'exemple.'); |
46
|
|
|
define('_APCAL_CATEGORIES', 'Catégories'); |
47
|
|
|
define('_APCAL_NBEVENTS', 'Nombre d\'événements visible'); |
48
|
|
|
define('_APCAL_WIDTH', 'Largeur du bloc'); |
49
|
|
|
define('_APCAL_STYLE', 'Couleurs et style'); |
50
|
|
|
define('_APCAL_IFCUSTOM', 'Si vous avez choisi "personalisé", remplissez la section suivante (en CSS).'); |
51
|
|
|
define('_APCAL_BORDER', 'Bordure du bloc'); |
52
|
|
|
define('_APCAL_TITLE', 'Titre du calendrier'); |
53
|
|
|
define('_APCAL_TEXT', 'Texte du calendrier'); |
54
|
|
|
define('_APCAL_LINK', 'Liens de la liste'); |
55
|
|
|
define('_APCAL_EVEN', 'Rangées paires'); |
56
|
|
|
define('_APCAL_ODD', 'Rangées impaires'); |
57
|
|
|
define('_APCAL_DEFAULT', 'Par défaut'); |
58
|
|
|
define('_APCAL_CUSTOM', 'Personalisé'); |
59
|
|
|
define('_APCAL_THEME', 'Selon votre thème'); |
60
|
|
|
define('_APCAL_SHAREINFO', 'Afin d\'afficher le calendrier sur votre site, vous devez copier et coller ce code HTML sur la page désirée de votre site.'); |
61
|
|
|
define('_APCAL_SHARECALENDAR', 'Afficher ce calendrier sur votre site'); |
62
|
|
|
|
63
|
|
|
// Event view |
64
|
|
|
define('_APCAL_PREVEVENT', 'Événement précédent'); |
65
|
|
|
define('_APCAL_NEXTEVENT', 'Événement suivant'); |
66
|
|
|
define('_APCAL_BACKTOCAL', 'Retour au calendrier'); |
67
|
|
|
|
68
|
|
|
// Tooltip |
69
|
|
|
define('_APCAL_CLICKFORDETAILS', 'Cliquer pour voir l\'événement'); |
70
|
|
|
define('_APCAL_BEGIN', 'Du'); |
71
|
|
|
define('_APCAL_END', 'Au'); |
72
|
|
|
define('_APCAL_LOCATION', 'Endroit'); |
73
|
|
|
|
74
|
|
|
// Tell a friend |
75
|
|
|
define('_APCAL_TELLAFRIEND', 'Envoyer à un ami'); |
76
|
|
|
define('_APCAL_FROM', 'De'); |
77
|
|
|
define('_APCAL_TO', 'à'); |
78
|
|
|
define('_APCAL_SUBJECT', 'Objet'); |
79
|
|
|
define('_APCAL_MESSAGE', 'Message'); |
80
|
|
|
define('_APCAL_TELLAFRIENDTEXT', 'Vous devriez regarder ce fabuleux calendrier au'); |
81
|
|
|
|
82
|
|
|
// Share |
83
|
|
|
define('_APCAL_FB_LNG', 'fr_FR'); |
84
|
|
|
define('_APCAL_GPLUS_LNG', 'fr'); |
85
|
|
|
|
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
?> |
|
|
|
|
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.