|
1 | 1 | <?php
|
2 |
| -// Syntax replace define with const v2.3.0 2021/05/15 @gigamaster XCL-PHP7 |
3 | 2 |
|
4 |
| -const _MD_A_MYMENU_MYTPLSADMIN = 'Templates'; |
5 |
| -const _MD_A_MYMENU_MYBLOCKSADMIN = 'Blocks Permissions'; |
6 |
| -const _MD_A_MYMENU_MYPREFERENCES = 'Preferences'; |
| 3 | +define( '_MD_A_MYMENU_MYTPLSADMIN' , 'Templates'); |
| 4 | +define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'Blocks Permissions'); |
| 5 | +define( '_MD_A_MYMENU_MYPREFERENCES' , 'Preferences'); |
7 | 6 |
|
8 | 7 | // forum_access and category_access
|
9 |
| -const _MD_A_D3FORUM_LABEL_SELECTFORUM = 'Select a forum'; |
10 |
| -const _MD_A_D3FORUM_LABEL_SELECTCATEGORY = 'Select a category'; |
11 |
| -const _MD_A_D3FORUM_H2_GROUPPERMS = 'Group Permissions'; |
12 |
| -const _MD_A_D3FORUM_H2_USERPERMS = 'User Permissions'; |
13 |
| -const _MD_A_D3FORUM_TH_CAN_READ = 'View'; |
14 |
| -const _MD_A_D3FORUM_TH_CAN_POST = 'Post'; |
15 |
| -const _MD_A_D3FORUM_TH_CAN_EDIT = 'Edit'; |
16 |
| -const _MD_A_D3FORUM_TH_CAN_DELETE = 'Delete'; |
17 |
| -const _MD_A_D3FORUM_TH_POST_AUTO_APPROVED = 'AutoApproval'; |
18 |
| -const _MD_A_D3FORUM_TH_IS_MODERATOR = 'Moderator'; |
19 |
| -const _MD_A_D3FORUM_TH_CAN_MAKEFORUM = 'Making forums'; |
20 |
| -const _MD_A_D3FORUM_TH_UID = 'uid'; |
21 |
| -const _MD_A_D3FORUM_TH_UNAME = 'uname'; |
22 |
| -const _MD_A_D3FORUM_TH_GROUPNAME = 'groupname'; |
23 |
| -const _MD_A_D3FORUM_NOTICE_ADDUSERS = 'Input either uid or uname.'; |
24 |
| -const _MD_A_D3FORUM_ERR_CREATECATEGORYFIRST = 'Create a category first'; |
25 |
| -const _MD_A_D3FORUM_ERR_CREATEFORUMFIRST = 'Create a forum first'; |
| 8 | +define( '_MD_A_D3FORUM_LABEL_SELECTFORUM' , 'Select a forum'); |
| 9 | +define( '_MD_A_D3FORUM_LABEL_SELECTCATEGORY' , 'Select a category'); |
| 10 | +define( '_MD_A_D3FORUM_H2_GROUPPERMS' , 'Group Permissions'); |
| 11 | +define( '_MD_A_D3FORUM_H2_USERPERMS' , 'User Permissions'); |
| 12 | +define( '_MD_A_D3FORUM_TH_CAN_READ' , 'View'); |
| 13 | +define( '_MD_A_D3FORUM_TH_CAN_POST' , 'Post'); |
| 14 | +define( '_MD_A_D3FORUM_TH_CAN_EDIT' , 'Edit'); |
| 15 | +define( '_MD_A_D3FORUM_TH_CAN_DELETE' , 'Delete'); |
| 16 | +define( '_MD_A_D3FORUM_TH_POST_AUTO_APPROVED' , 'AutoApproval'); |
| 17 | +define( '_MD_A_D3FORUM_TH_IS_MODERATOR' , 'Moderator'); |
| 18 | +define( '_MD_A_D3FORUM_TH_CAN_MAKEFORUM' , 'Making forums'); |
| 19 | +define( '_MD_A_D3FORUM_TH_UID' , 'uid'); |
| 20 | +define( '_MD_A_D3FORUM_TH_UNAME' , 'uname'); |
| 21 | +define( '_MD_A_D3FORUM_TH_GROUPNAME' , 'groupname'); |
| 22 | +define( '_MD_A_D3FORUM_NOTICE_ADDUSERS' , 'Input either uid or uname.'); |
| 23 | +define( '_MD_A_D3FORUM_ERR_CREATECATEGORYFIRST' , 'Create a category first'); |
| 24 | +define( '_MD_A_D3FORUM_ERR_CREATEFORUMFIRST' , 'Create a forum first'); |
26 | 25 |
|
27 | 26 | // advanced
|
28 |
| -const _MD_A_D3FORUM_H2_SYNCALLTABLES = 'Synchronize redundant information'; |
29 |
| -const _MD_A_D3FORUM_MAX_TOPIC_ID = 'Max topic id'; |
30 |
| -const _MD_A_D3FORUM_LABEL_SYNCTOPICS_START = 'topic started from'; |
31 |
| -const _MD_A_D3FORUM_LABEL_SYNCTOPICS_NUM = 'topics at once'; |
32 |
| -const _MD_A_D3FORUM_BTN_DOSYNCTABLES = 'Synchronize'; |
33 |
| -const _MD_A_D3FORUM_FMT_SYNCTOPICSDONE = '%s topics have been synchronized'; |
34 |
| -const _MD_A_D3FORUM_MSG_SYNCTABLESDONE = 'Synchronized successfully'; |
35 |
| -const _MD_A_D3FORUM_HELP_SYNCALLTABLES = 'Run this command to solve problems in the forum after "importing" external data from other modules.'; |
36 |
| -const _MD_A_D3FORUM_H2_IMPORTFROM = 'Import from module'; |
37 |
| -const _MD_A_D3FORUM_H2_COMIMPORTFROM = 'Import from Comment Management'; |
38 |
| -const _MD_A_D3FORUM_LABEL_SELECTMODULE = 'Select a module'; |
39 |
| -const _MD_A_D3FORUM_BTN_DOIMPORT = 'Import'; |
40 |
| -const _MD_A_D3FORUM_CONFIRM_DOIMPORT = 'Are you sure?'; |
41 |
| -const _MD_A_D3FORUM_MSG_IMPORTDONE = 'Imported successfully'; |
42 |
| -const _MD_A_D3FORUM_MSG_COMIMPORTDONE = 'Default comments of the module are imported as comment-integration'; |
43 |
| -const _MD_A_D3FORUM_ERR_INVALIDMID = 'You have specified a wrong module to be imported'; |
44 |
| -const _MD_A_D3FORUM_ERR_SQLONIMPORT = 'Failed to import. You have to check the versions of each module.'; |
45 |
| -const _MD_A_D3FORUM_HELP_IMPORTFROM = 'You can import from newbb1, xhnewbb, and other instances of d3forum. Beware, the copy is not perfect and requires you to check the permissions. Warning ! All data in this module will be lost when the import command is executed.'; |
46 |
| -const _MD_A_D3FORUM_HELP_COMIMPORTFROM = 'Import the posts from <strong>Comment Management</strong> into D3Forum. You must also enable the <strong>comments-integration</strong> feature to import as d3forum posts. Then you can change the preferences, localization or translation, and customize the templates.'; |
| 27 | +define( '_MD_A_D3FORUM_H2_SYNCALLTABLES' , 'Synchronize redundant information'); |
| 28 | +define( '_MD_A_D3FORUM_MAX_TOPIC_ID' , 'Max topic id'); |
| 29 | +define( '_MD_A_D3FORUM_LABEL_SYNCTOPICS_START' , 'topic started from'); |
| 30 | +define( '_MD_A_D3FORUM_LABEL_SYNCTOPICS_NUM' , 'topics at once'); |
| 31 | +define( '_MD_A_D3FORUM_BTN_DOSYNCTABLES' , 'Synchronize'); |
| 32 | +define( '_MD_A_D3FORUM_FMT_SYNCTOPICSDONE' , '%s topics have been synchronized'); |
| 33 | +define( '_MD_A_D3FORUM_MSG_SYNCTABLESDONE' , 'Synchronized successfully'); |
| 34 | +define( '_MD_A_D3FORUM_HELP_SYNCALLTABLES' , 'Run this command to solve problems in the forum after "importing" external data from other modules.'); |
| 35 | +define( '_MD_A_D3FORUM_H2_IMPORTFROM' , 'Import from module'); |
| 36 | +define( '_MD_A_D3FORUM_H2_COMIMPORTFROM' , 'Import from Comment Management'); |
| 37 | +define( '_MD_A_D3FORUM_LABEL_SELECTMODULE' , 'Select a module'); |
| 38 | +define( '_MD_A_D3FORUM_BTN_DOIMPORT' , 'Import'); |
| 39 | +define( '_MD_A_D3FORUM_CONFIRM_DOIMPORT' , 'Are you sure?'); |
| 40 | +define( '_MD_A_D3FORUM_MSG_IMPORTDONE' , 'Imported successfully'); |
| 41 | +define( '_MD_A_D3FORUM_MSG_COMIMPORTDONE' , 'Default comments of the module are imported as comment-integration'); |
| 42 | +define( '_MD_A_D3FORUM_ERR_INVALIDMID' , 'You have specified a wrong module to be imported'); |
| 43 | +define( '_MD_A_D3FORUM_ERR_SQLONIMPORT' , 'Failed to import. You have to check the versions of each module.'); |
| 44 | +define( '_MD_A_D3FORUM_HELP_IMPORTFROM' , 'You can import from newbb1, xhnewbb, and other instances of d3forum. Beware, the copy is not perfect and requires you to check the permissions. Warning ! All data in this module will be lost when the import command is executed.'); |
| 45 | +define( '_MD_A_D3FORUM_HELP_COMIMPORTFROM' , 'Import the posts from <strong>Comment Management</strong> into D3Forum. You must also enable the <strong>comments-integration</strong> feature to import as d3forum posts. Then you can change the preferences, localization or translation, and customize the templates.'); |
47 | 46 |
|
48 | 47 | // post_histories
|
49 |
| -const _MD_A_D3FORUM_H2_POSTHISTORIES = 'Revision History'; |
50 |
| -const _MD_A_D3FORUM_LINK_REFERDELETED = 'Deleted'; |
| 48 | +define( '_MD_A_D3FORUM_H2_POSTHISTORIES' , 'Revision History'); |
| 49 | +define( '_MD_A_D3FORUM_LINK_REFERDELETED' , 'Deleted'); |
0 commit comments