|
22 | 22 | } |
23 | 23 |
|
24 | 24 | $lang = array_merge($lang, array( |
25 | | - 'CLI_DESCRIPTION_SKELETON_CREATE' => 'A console command to create a basic extension', |
| 25 | + 'CLI_DESCRIPTION_SKELETON_CREATE' => 'Create a basic skeleton extension', |
26 | 26 | 'PHPBB_SKELETON_EXT' => 'Create skeleton extension', |
27 | | - 'EXTENSION_SKELETON_SUCCESS' => 'Extension created successfully', |
| 27 | + |
| 28 | + 'EXTENSION_CLI_SKELETON_SUCCESS' => "<info>Extension created successfully.\nCopy the extension from `store/tmp-ext/` into the `ext/` folder.</info>", |
| 29 | + 'SKELETON_CLI_COMPOSER_QUESTIONS' => '<comment>Enter the composer.json details (hit enter to leave an option empty)</comment>', |
| 30 | + 'SKELETON_CLI_COMPONENT_QUESTIONS' => '<comment>Choose the components you’d like installed. Default: y; [y/n]</comment>', |
28 | 31 |
|
29 | 32 | 'SKELETON_ADD_AUTHOR' => 'Add author', |
30 | 33 | 'SKELETON_QUESTION_VENDOR_NAME' => 'Please enter the vendor name', |
31 | 34 | 'SKELETON_QUESTION_VENDOR_NAME_UI' => 'Vendor name', |
32 | 35 | 'SKELETON_QUESTION_VENDOR_NAME_EXPLAIN' => 'Starting with a letter, letters and numbers only', |
33 | | - 'SKELETON_QUESTION_EXTENSION_DISPLAY_NAME' => 'Please enter the display (readable) name of your extension', |
| 36 | + 'SKELETON_QUESTION_EXTENSION_DISPLAY_NAME' => 'Please enter the display (readable) name of the extension', |
34 | 37 | 'SKELETON_QUESTION_EXTENSION_DISPLAY_NAME_UI' => 'Display (readable) extension name', |
35 | | - 'SKELETON_QUESTION_EXTENSION_NAME' => 'Please enter the folder name of your extension', |
36 | | - 'SKELETON_QUESTION_EXTENSION_NAME_UI' => 'Folder name', |
| 38 | + 'SKELETON_QUESTION_EXTENSION_NAME' => 'Please enter the folder (package) name of the extension', |
| 39 | + 'SKELETON_QUESTION_EXTENSION_NAME_UI' => 'Folder (package) name', |
37 | 40 | 'SKELETON_QUESTION_EXTENSION_NAME_EXPLAIN' => 'Starting with a letter, letters and numbers only', |
38 | | - 'SKELETON_QUESTION_EXTENSION_DESCRIPTION' => 'Please enter the Description of your extension', |
| 41 | + 'SKELETON_QUESTION_EXTENSION_DESCRIPTION' => 'Please enter the Description of the extension', |
39 | 42 | 'SKELETON_QUESTION_EXTENSION_DESCRIPTION_UI'=> 'Description', |
40 | | - 'SKELETON_QUESTION_EXTENSION_VERSION' => 'Please enter the version of your extension', |
| 43 | + 'SKELETON_QUESTION_EXTENSION_VERSION' => 'Please enter the version of the extension', |
41 | 44 | 'SKELETON_QUESTION_EXTENSION_VERSION_UI' => 'Version', |
42 | 45 | 'SKELETON_QUESTION_EXTENSION_VERSION_EXPLAIN' => 'e.g. 1.0.0-dev', |
43 | | - 'SKELETON_QUESTION_EXTENSION_HOMEPAGE' => 'Please enter the homepage of your extension', |
44 | | - 'SKELETON_QUESTION_EXTENSION_HOMEPAGE_UI' => 'Homepage of your extension', |
45 | | - 'SKELETON_QUESTION_EXTENSION_TIME' => 'Please enter the date of your extension', |
46 | | - 'SKELETON_QUESTION_EXTENSION_TIME_UI' => 'Date of your extension', |
| 46 | + 'SKELETON_QUESTION_EXTENSION_HOMEPAGE' => 'Please enter the homepage of the extension', |
| 47 | + 'SKELETON_QUESTION_EXTENSION_HOMEPAGE_UI' => 'Homepage of the extension', |
| 48 | + 'SKELETON_QUESTION_EXTENSION_TIME' => 'Please enter the date of the extension', |
| 49 | + 'SKELETON_QUESTION_EXTENSION_TIME_UI' => 'Date of the extension', |
47 | 50 | 'SKELETON_QUESTION_EXTENSION_TIME_EXPLAIN' => 'YYYY-MM-DD, default: today', |
48 | 51 |
|
49 | | - 'SKELETON_QUESTION_NUM_AUTHORS' => 'How many authors does your extension have', |
| 52 | + 'SKELETON_QUESTION_NUM_AUTHORS' => 'How many authors does the extension have', |
50 | 53 | 'SKELETON_QUESTION_NUM_AUTHORS_EXPLAIN' => 'default: 1', |
51 | 54 |
|
52 | 55 | 'SKELETON_QUESTION_AUTHOR_NAME' => 'Please enter the author name', |
|
59 | 62 | 'SKELETON_QUESTION_AUTHOR_ROLE' => 'Please enter the author role', |
60 | 63 | 'SKELETON_QUESTION_AUTHOR_ROLE_UI' => 'Author role', |
61 | 64 |
|
62 | | - 'SKELETON_QUESTION_PHP_VERSION' => 'Please enter the php requirement of your extension', |
63 | | - 'SKELETON_QUESTION_PHP_VERSION_UI' => 'php requirement of your extension', |
64 | | - 'SKELETON_QUESTION_PHP_VERSION_EXPLAIN' => 'default: >=5.3.3', |
65 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MIN' => 'Please enter the minimum phpBB requirement of your extension', |
66 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MIN_UI' => 'Minimum phpBB requirement of your extension', |
67 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MIN_EXPLAIN' => 'default: >=3.1.4', |
68 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MAX' => 'Please enter the maximum phpBB requirement of your extension', |
69 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MAX_UI' => 'Maximum phpBB requirement of your extension', |
70 | | - 'SKELETON_QUESTION_PHPBB_VERSION_MAX_EXPLAIN' => 'default: <3.2.0@dev', |
| 65 | + 'SKELETON_QUESTION_PHP_VERSION' => 'Please enter the PHP requirement of the extension', |
| 66 | + 'SKELETON_QUESTION_PHP_VERSION_UI' => 'PHP requirement of the extension', |
| 67 | + 'SKELETON_QUESTION_PHP_VERSION_EXPLAIN' => 'default: >=5.3.3', |
| 68 | + 'SKELETON_QUESTION_PHPBB_VERSION_MIN' => 'Please enter the minimum phpBB requirement of the extension', |
| 69 | + 'SKELETON_QUESTION_PHPBB_VERSION_MIN_UI' => 'Minimum phpBB requirement of the extension', |
| 70 | + 'SKELETON_QUESTION_PHPBB_VERSION_MIN_EXPLAIN' => 'default: >=3.1.4', |
| 71 | + 'SKELETON_QUESTION_PHPBB_VERSION_MAX' => 'Please enter the maximum phpBB requirement of the extension', |
| 72 | + 'SKELETON_QUESTION_PHPBB_VERSION_MAX_UI' => 'Maximum phpBB requirement of the extension', |
| 73 | + 'SKELETON_QUESTION_PHPBB_VERSION_MAX_EXPLAIN' => 'default: <3.2.0@dev', |
71 | 74 |
|
72 | | - 'SKELETON_QUESTION_COMPONENT_PHPLISTENER' => 'Should we add a sample for php listeners', |
73 | | - 'SKELETON_QUESTION_COMPONENT_PHPLISTENER_UI' => 'php listeners', |
74 | | - 'SKELETON_QUESTION_COMPONENT_PHPLISTENER_EXPLAIN' => 'default: y; [y/n]', |
75 | | - 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER' => 'Should we add a sample for styles listeners', |
| 75 | + 'SKELETON_QUESTION_COMPONENT_PHPLISTENER' => 'Create sample PHP listeners?', |
| 76 | + 'SKELETON_QUESTION_COMPONENT_PHPLISTENER_UI' => 'PHP listeners', |
| 77 | + 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER' => 'Create sample styles listeners?', |
76 | 78 | 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER_UI' => 'Styles listeners', |
77 | | - 'SKELETON_QUESTION_COMPONENT_HTMLLISTENER_EXPLAIN' => 'default: y; [y/n]', |
78 | | - 'SKELETON_QUESTION_COMPONENT_ACP' => 'Should we add a sample for a administration module', |
| 79 | + 'SKELETON_QUESTION_COMPONENT_ACP' => 'Create a sample ACP administration module?', |
79 | 80 | 'SKELETON_QUESTION_COMPONENT_ACP_UI' => 'Administration module (ACP)', |
80 | | - 'SKELETON_QUESTION_COMPONENT_ACP_EXPLAIN' => 'default: y; [y/n]', |
81 | | - 'SKELETON_QUESTION_COMPONENT_MIGRATION' => 'Should we add a sample for a database migration', |
| 81 | + 'SKELETON_QUESTION_COMPONENT_MIGRATION' => 'Create sample database migrations?', |
82 | 82 | 'SKELETON_QUESTION_COMPONENT_MIGRATION_UI' => 'Database migration', |
83 | | - 'SKELETON_QUESTION_COMPONENT_MIGRATION_EXPLAIN' => 'default: y; [y/n]', |
84 | | - 'SKELETON_QUESTION_COMPONENT_SERVICE' => 'Should we add a sample for a service', |
| 83 | + 'SKELETON_QUESTION_COMPONENT_SERVICE' => 'Create a sample service?', |
85 | 84 | 'SKELETON_QUESTION_COMPONENT_SERVICE_UI' => 'Service', |
86 | | - 'SKELETON_QUESTION_COMPONENT_SERVICE_EXPLAIN' => 'default: y; [y/n]', |
87 | | - 'SKELETON_QUESTION_COMPONENT_CONTROLLER' => 'Should we add a sample for a controller', |
| 85 | + 'SKELETON_QUESTION_COMPONENT_CONTROLLER' => 'Create a sample controller?', |
88 | 86 | 'SKELETON_QUESTION_COMPONENT_CONTROLLER_UI' => 'Controller (frontpage)', |
89 | | - 'SKELETON_QUESTION_COMPONENT_CONTROLLER_EXPLAIN'=> 'default: y; [y/n]', |
90 | | - 'SKELETON_QUESTION_COMPONENT_TESTS' => 'Should we add a sample for a phpunit tests', |
91 | | - 'SKELETON_QUESTION_COMPONENT_TESTS_UI' => 'phpunit tests', |
92 | | - 'SKELETON_QUESTION_COMPONENT_TESTS_EXPLAIN' => 'default: y; [y/n]', |
93 | | - 'SKELETON_QUESTION_COMPONENT_TRAVIS' => 'Should we add a sample for test execution on Travis CI', |
94 | | - 'SKELETON_QUESTION_COMPONENT_TRAVIS_UI' => 'Test execution on Travis CI', |
95 | | - 'SKELETON_QUESTION_COMPONENT_TRAVIS_EXPLAIN' => 'default: y; [y/n]', |
96 | | - 'SKELETON_QUESTION_COMPONENT_BUILD' => 'Should we add a sample script to building packages for the customisation database', |
97 | | - 'SKELETON_QUESTION_COMPONENT_BUILD_UI' => 'Script to building packages for the customisation database', |
98 | | - 'SKELETON_QUESTION_COMPONENT_BUILD_EXPLAIN' => 'default: n; [y/n]', |
| 87 | + 'SKELETON_QUESTION_COMPONENT_EXT' => 'Create a sample ext.php?', |
| 88 | + 'SKELETON_QUESTION_COMPONENT_EXT_UI' => 'Extension base (ext.php)', |
| 89 | + 'SKELETON_QUESTION_COMPONENT_TESTS' => 'Create sample PHPUnit tests?', |
| 90 | + 'SKELETON_QUESTION_COMPONENT_TESTS_UI' => 'PHPUnit tests', |
| 91 | + 'SKELETON_QUESTION_COMPONENT_TRAVIS' => 'Create a sample for test execution on Travis-CI?', |
| 92 | + 'SKELETON_QUESTION_COMPONENT_TRAVIS_UI' => 'Test execution on Travis-CI', |
| 93 | + 'SKELETON_QUESTION_COMPONENT_BUILD' => 'Create a sample script to build packages for the customisation database?', |
| 94 | + 'SKELETON_QUESTION_COMPONENT_BUILD_UI' => 'Script to build packages for the customisation database', |
| 95 | + |
| 96 | + 'SKELETON_TITLE_EXTENSION_INFO' => 'Extension packaging', |
| 97 | + 'SKELETON_TITLE_AUTHOR_INFO' => 'Authors', |
| 98 | + 'SKELETON_TITLE_REQUIREMENT_INFO' => 'Requirements', |
| 99 | + 'SKELETON_TITLE_COMPONENT_INFO' => 'Components', |
99 | 100 |
|
100 | 101 | 'SKELETON_INVALID_EXTENSION_NAME' => 'The extension name you provided is invalid', |
101 | 102 | 'SKELETON_INVALID_EXTENSION_TIME' => 'The extension date you provided is invalid', |
|
0 commit comments