Bearsampp 2025.8.29
Loading...
Searching...
No Matches
class.lang.php
Go to the documentation of this file.
1
2<?php
3/*
4 * Copyright (c) 2021-2024 Bearsampp
5 * License: GNU General Public License version 3 or later; see LICENSE.txt
6 * Author: Bear
7 * Website: https://bearsampp.com
8 * Github: https://github.com/Bearsampp
9 */
10
20class Lang
21{
22 // General
23 const ALL_RUNNING_HINT = 'allRunningHint';
24 const SOME_RUNNING_HINT = 'someRunningHint';
25 const NONE_RUNNING_HINT = 'noneRunningHint';
26
27 // Single
28 const ABOUT = 'about';
29 const ADMINISTRATION = 'administration';
30 const ALIASES = 'aliases';
31 const APPS = 'apps';
32 const BINS = 'bins';
33 const CHANGELOG = 'changelog';
34 const CONSOLE = 'console';
35 const DEBUG = 'debug';
36 const DISABLED = 'disabled';
37 const DISCORD = 'discord';
38 const DONATE = 'donate';
39 const DONATE_VIA = 'donateVia';
40 const DOWNLOAD = 'download';
41 const DOWNLOAD_MORE = 'downloadMore';
42 const ENABLED = 'enabled';
43 const ERROR = 'error';
44 const EXECUTABLE = 'executable';
45 const EXTENSIONS = 'extensions';
46 const FACEBOOK = 'facebook';
47 const GIT_CONSOLE = 'gitConsole';
48 const GITGUI = 'gitGui';
49 const GITHUB = 'github';
50 const HELP = 'help';
51 const HOSTSEDITOR = 'hostseditor';
52 const LANG = 'lang';
53 const LICENSE = 'license';
54 const LOCALE = 'locale';
55 const LOGS = 'logs';
56 const LOGS_VERBOSE = 'logsVerbose';
57 const MODULES = 'modules';
58 const NAME = 'name';
59 const PAYPAL = 'paypal';
60 const PYTHON_CONSOLE = 'pythonConsole';
61 const PWGEN = 'pwgen';
62 const QUIT = 'quit';
63 const READ_CHANGELOG = 'readChangelog';
64 const RELOAD = 'reload';
65 const REPOS = 'repos';
66 const RESTART = 'restart';
67 const SERVICE = 'service';
68 const SETTINGS = 'settings';
69 const SSL = 'ssl';
70 const STARTUP = 'startup';
71 const STATUS = 'status';
72 const STATUS_PAGE = 'statusPage';
73 const TARGET = 'target';
74 const TOOLS = 'tools';
75 const VERBOSE_DEBUG = 'verboseDebug';
76 const VERBOSE_REPORT = 'verboseReport';
77 const VERBOSE_SIMPLE = 'verboseSimple';
78 const VERBOSE_TRACE = 'verboseTrace';
79 const VERSION = 'version';
80 const VERSIONS = 'versions';
81 const VERSION_URL = 'https://github.com/Bearsampp/Bearsampp/releases/tag/';
82 const VIRTUAL_HOSTS = 'virtualHosts';
83 const WEBSITE = 'website';
84
85 // Menu
86 const MENU_ABOUT = 'menuAbout';
87 const MENU_ACCESS_LOGS = 'menuAccessLogs';
88 const MENU_ADD_ALIAS = 'menuAddAlias';
89 const MENU_ADD_VHOST = 'menuAddVhost';
90 const MENU_CHANGE_PORT = 'menuChangePort';
91 const MENU_CHANGE_ROOT_PWD = 'menuChangeRootPwd';
92 const MENU_CHECK_PORT = 'menuCheckPort';
93 const MENU_CHECK_UPDATE = 'menuCheckUpdate';
94 const MENU_CLEAR_FOLDERS = 'menuClearFolders';
95 const MENU_EDIT_ALIAS = 'menuEditAlias';
96 const MENU_EDIT_CONF = 'menuEditConf';
97 const MENU_EDIT_VHOST = 'menuEditVhost';
98 const MENU_ENABLE = 'menuEnable';
99 const MENU_ERROR_LOGS = 'menuErrorLogs';
100 const MENU_GEN_SSL_CERTIFICATE = 'menuGenSslCertificate';
101 const MENU_INSTALL_SERVICE = 'menuInstallService';
102 const MENU_LAUNCH_STARTUP = 'menuLaunchStartup';
103 const MENU_LOCALHOST = 'menuLocalhost';
104 const MENU_LOGS = 'menuLogs';
105 const MENU_PUT_OFFLINE = 'menuPutOffline';
106 const MENU_PUT_ONLINE = 'menuPutOnline';
107 const MENU_REBUILD_INI = 'menuRebuildIni';
108 const MENU_REFRESH_REPOS = 'menuRefreshRepos';
109 const MENU_REMOVE_SERVICE = 'menuRemoveService';
110 const MENU_RESTART_SERVICE = 'menuRestartService';
111 const MENU_RESTART_SERVICES = 'menuRestartServices';
112 const MENU_REWRITE_LOGS = 'menuRewriteLogs';
113 const MENU_SCAN_REPOS_STARTUP = 'menuScanReposStartup';
114 const MENU_SESSION_LOGS = 'menuSessionLogs';
115 const MENU_START_SERVICE = 'menuStartService';
116 const MENU_START_SERVICES = 'menuStartServices';
117 const MENU_STATS_LOGS = 'menuStatsLogs';
118 const MENU_STOP_SERVICE = 'menuStopService';
119 const MENU_STOP_SERVICES = 'menuStopServices';
120 const MENU_TRANSFER_LOGS = 'menuTransferLogs';
121 const MENU_UPDATE_ENV_PATH = 'menuUpdateEnvPath';
122 const MENU_WWW_DIRECTORY = 'menuWwwDirectory';
123
124 // Bins
125 const APACHE = 'apache';
126 const PHP = 'php';
127 const PEAR = 'pear';
128 const MEMCACHED = 'memcached';
129 const MAILPIT = 'mailpit';
130 const MARIADB = 'mariadb';
131 const MYSQL = 'mysql';
132 const NODEJS = 'nodejs';
133 const POSTGRESQL = 'postgresql';
134 const XLIGHT = 'xlight';
135
136 // Apps
137 const PHPMYADMIN = 'phpmyadmin';
138 const PHPPGADMIN = 'phppgadmin';
139
140 // Tools
141 const BRUNO = 'bruno';
142 const COMPOSER = 'composer';
143 const CONSOLEZ = 'consolez';
144 const GHOSTSCRIPT = 'ghostscript';
145 const GIT = 'git';
146 const NGROK = 'ngrok';
147 const PERL = 'perl';
148 const PYTHON = 'python';
149 const RUBY = 'ruby';
150
151 // Errors
152 const ERROR_CONF_NOT_FOUND = 'errorConfNotFound';
153 const ERROR_EXE_NOT_FOUND = 'errorExeNotFound';
154 const ERROR_FILE_NOT_FOUND = 'errorFileNotFound';
155 const ERROR_INVALID_PARAMETER = 'errorInvalidParameter';
156
157 // Action Switch version
158 const SWITCH_VERSION_TITLE = 'switchVersionTitle';
159 const SWITCH_VERSION_RELOAD_CONFIG = 'switchVersionReloadConfig';
160 const SWITCH_VERSION_RELOAD_BINS = 'switchVersionReloadBins';
161 const SWITCH_VERSION_REGISTRY = 'switchVersionRegistry';
162 const SWITCH_VERSION_RESET_SERVICES = 'switchVersionResetServices';
163 const SWITCH_VERSION_SAME_ERROR = 'switchVersionSameError';
164 const SWITCH_VERSION_OK = 'switchVersionOk';
165 const SWITCH_VERSION_OK_RESTART = 'switchVersionOkRestart';
166 const APACHE_INCPT = 'apacheIncpt';
167 const PHP_INCPT = 'phpIncpt';
168 const BEARSAMPP_CONF_NOT_FOUND_ERROR = 'bearsamppConfNotFoundError';
169 const BEARSAMPP_CONF_MALFORMED_ERROR = 'bearsamppConfMalformedError';
170
171 // Action Switch PHP setting
172 const SWITCH_PHP_SETTING_TITLE = 'switchPhpSettingTitle';
173 const SWITCH_PHP_SETTING_NOT_FOUND = 'switchPhpSettingNotFound';
174
175 // Action Check port
176 const CHECK_PORT_TITLE = 'checkPortTitle';
177 const PORT_USED_BY = 'portUsedBy';
178 const PORT_NOT_USED = 'portNotUsed';
179 const PORT_NOT_USED_BY = 'portNotUsedBy';
180 const PORT_USED_BY_ANOTHER_DBMS = 'portUsedByAnotherDbms';
181 const PORT_CHANGED = 'portChanged';
182
183 // Action Install service
184 const INSTALL_SERVICE_TITLE = 'installServiceTitle';
185 const SERVICE_ALREADY_INSTALLED = 'serviceAlreadyInstalled';
186 const SERVICE_INSTALLED = 'serviceInstalled';
187 const SERVICE_INSTALL_ERROR = 'serviceInstallError';
188
189 // Action Remove service
190 const REMOVE_SERVICE_TITLE = 'removeServiceTitle';
191 const SERVICE_NOT_EXIST = 'serviceNotExist';
192 const SERVICE_REMOVED = 'serviceRemoved';
193 const SERVICE_REMOVE_ERROR = 'serviceRemoveError';
194
195 // Action Start service
196 const START_SERVICE_TITLE = 'startServiceTitle';
197 const START_SERVICE_ERROR = 'startServiceError';
198
199 // Action Stop service
200 const STOP_SERVICE_TITLE = 'stopServiceTitle';
201 const STOP_SERVICE_ERROR = 'stopServiceError';
202
203 // Action Restart service
204 const RESTART_SERVICE_TITLE = 'restartServiceTitle';
205 const RESTART_SERVICE_ERROR = 'restartServiceError';
206
207 // Action Delete alias
208 const DELETE_ALIAS_TITLE = 'deleteAliasTitle';
209 const DELETE_ALIAS = 'deleteAlias';
210 const ALIAS_REMOVED = 'aliasRemoved';
211 const ALIAS_REMOVE_ERROR = 'aliasRemoveError';
212
213 // Action Add/Edit alias
214 const ADD_ALIAS_TITLE = 'addAliasTitle';
215 const ALIAS_NAME_LABEL = 'aliasNameLabel';
216 const ALIAS_DEST_LABEL = 'aliasDestLabel';
217 const ALIAS_EXP_LABEL = 'aliasExpLabel';
218 const ALIAS_DEST_PATH = 'aliasDestPath';
219 const ALIAS_NOT_VALID_ALPHA = 'aliasNotValidAlpha';
220 const ALIAS_ALREADY_EXISTS = 'aliasAlreadyExists';
221 const ALIAS_CREATED = 'aliasCreated';
222 const ALIAS_CREATED_ERROR = 'aliasCreatedError';
223 const EDIT_ALIAS_TITLE = 'editAliasTitle';
224
225 // Action Delete vhost
226 const DELETE_VHOST_TITLE = 'deleteVhostTitle';
227 const DELETE_VHOST = 'deleteVhost';
228 const VHOST_REMOVED = 'vhostRemoved';
229 const VHOST_REMOVE_ERROR = 'vhostRemoveError';
230
231 // Action Add/Edit vhost
232 const ADD_VHOST_TITLE = 'addVhostTitle';
233 const VHOST_SERVER_NAME_LABEL = 'vhostServerNameLabel';
234 const VHOST_DOCUMENT_ROOT_LABEL = 'vhostDocumentRootLabel';
235 const VHOST_EXP_LABEL = 'vhostExpLabel';
236 const VHOST_DOC_ROOT_PATH = 'vhostDocRootPath';
237 const VHOST_NOT_VALID_DOMAIN = 'vhostNotValidDomain';
238 const VHOST_ALREADY_EXISTS = 'vhostAlreadyExists';
239 const VHOST_CREATED = 'vhostCreated';
240 const VHOST_CREATED_ERROR = 'vhostCreatedError';
241 const EDIT_VHOST_TITLE = 'editVhostTitle';
242
243 // Action Change port
244 const CHANGE_PORT_TITLE = 'changePortTitle';
245 const CHANGE_PORT_CURRENT_LABEL = 'changePortCurrentLabel';
246 const CHANGE_PORT_NEW_LABEL = 'changePortNewLabel';
247 const CHANGE_PORT_SAME_ERROR = 'changePortSameError';
248
249 // Action Change database root password
250 const CHANGE_DB_ROOT_PWD_TITLE = 'changeDbRootPwdTitle';
251 const CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL = 'changeDbRootPwdCurrentpwdLabel';
252 const CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL = 'changeDbRootPwdNewpwd1Label';
253 const CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL = 'changeDbRootPwdNewpwd2Label';
254 const CHANGE_DB_ROOT_PWD_NOTSAME_ERROR = 'changeDbRootPwdNotsameError';
255 const CHANGE_DB_ROOT_PWD_INCORRECT_ERROR = 'changeDbRootPwdIncorrectError';
256 const CHANGE_DB_ROOT_PWD_TEXT = 'changeDbRootPwdText';
257
258 // Action Startup
259 const STARTUP_STARTING_TEXT = 'startupStartingText';
260 const STARTUP_ROTATION_LOGS_TEXT = 'startupRotationLogsText';
261 const STARTUP_KILL_OLD_PROCS_TEXT = 'startupKillOldProcsText';
262 const STARTUP_REFRESH_HOSTNAME_TEXT = 'startupRefreshHostnameText';
263 const STARTUP_CHECK_BROWSER_TEXT = 'startupCheckBrowserText';
264 const STARTUP_SYS_INFOS = 'startupSysInfos';
265 const STARTUP_CLEAN_TMP_TEXT = 'startupCleanTmpText';
266 const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT = 'startupCleanOldBehaviorsText';
267 const STARTUP_REFRESH_ALIAS_TEXT = 'startupRefreshAliasText';
268 const STARTUP_REFRESH_VHOSTS_TEXT = 'startupRefreshVhostsText';
269 const STARTUP_CHECK_PATH_TEXT = 'startupCheckPathText';
270 const STARTUP_SCAN_FOLDERS_TEXT = 'startupScanFoldersText';
271 const STARTUP_CHANGE_PATH_TEXT = 'startupChangePathText';
272 const STARTUP_REGISTRY_TEXT = 'startupRegistryText';
273 const STARTUP_REGISTRY_ERROR_TEXT = 'startupRegistryErrorText';
274 const STARTUP_UPDATE_CONFIG_TEXT = 'startupUpdateConfigText';
275 const STARTUP_CHECK_SERVICE_TEXT = 'startupCheckServiceText';
276 const STARTUP_INSTALL_SERVICE_TEXT = 'startupInstallServiceText';
277 const STARTUP_START_SERVICE_TEXT = 'startupStartServiceText';
278 const STARTUP_PREPARE_RESTART_TEXT = 'startupPrepareRestartText';
279 const STARTUP_ERROR_TITLE = 'startupErrorTitle';
280 const STARTUP_SERVICE_ERROR = 'startupServiceError';
281 const STARTUP_SERVICE_CREATE_ERROR = 'startupServiceCreateError';
282 const STARTUP_SERVICE_START_ERROR = 'startupServiceStartError';
283 const STARTUP_SERVICE_SYNTAX_ERROR = 'startupServiceSyntaxError';
284 const STARTUP_SERVICE_PORT_ERROR = 'startupServicePortError';
285 const STARTUP_REFRESH_GIT_REPOS_TEXT = 'startupRefreshGitReposText';
286 const STARTUP_GEN_SSL_CRT_TEXT = 'startupGenSslCrtText';
287
288 // Action Quit
289 const EXIT_LEAVING_TEXT = 'exitLeavingText';
290 const EXIT_REMOVE_SERVICE_TEXT = 'exitRemoveServiceText';
291 const EXIT_STOP_OTHER_PROCESS_TEXT = 'exitStopOtherProcessText';
292
293 // Action Change browser
294 const CHANGE_BROWSER_TITLE = 'changeBrowserTitle';
295 const CHANGE_BROWSER_EXP_LABEL = 'changeBrowserExpLabel';
296 const CHANGE_BROWSER_OTHER_LABEL = 'changeBrowserOtherLabel';
297 const CHANGE_BROWSER_OK = 'changeBrowserOk';
298
299 // Action About
300 const ABOUT_TITLE = 'aboutTitle';
301 const ABOUT_TEXT = 'aboutText';
302
303 // Action Debug Apache
304 const DEBUG_APACHE_VERSION_NUMBER = 'debugApacheVersionNumber';
305 const DEBUG_APACHE_COMPILE_SETTINGS = 'debugApacheCompileSettings';
306 const DEBUG_APACHE_COMPILED_MODULES = 'debugApacheCompiledModules';
307 const DEBUG_APACHE_CONFIG_DIRECTIVES = 'debugApacheConfigDirectives';
308 const DEBUG_APACHE_VHOSTS_SETTINGS = 'debugApacheVhostsSettings';
309 const DEBUG_APACHE_LOADED_MODULES = 'debugApacheLoadedModules';
310 const DEBUG_APACHE_SYNTAX_CHECK = 'debugApacheSyntaxCheck';
311
312 // Action Debug MySQL
313 const DEBUG_MYSQL_VERSION = 'debugMysqlVersion';
314 const DEBUG_MYSQL_VARIABLES = 'debugMysqlVariables';
315 const DEBUG_MYSQL_SYNTAX_CHECK = 'debugMysqlSyntaxCheck';
316
317 // Action Debug MariaDB
318 const DEBUG_MARIADB_VERSION = 'debugMariadbVersion';
319 const DEBUG_MARIADB_VARIABLES = 'debugMariadbVariables';
320 const DEBUG_MARIADB_SYNTAX_CHECK = 'debugMariadbSyntaxCheck';
321
322 // Action Debug PostgreSQL
323 const DEBUG_POSTGRESQL_VERSION = 'debugPostgresqlVersion';
324
325 // Action others
326 const REGISTRY_SET_ERROR_TEXT = 'registrySetErrorText';
327
328 // Action check version
329 const CHECK_VERSION_TITLE = 'checkVersionTitle';
330 const CHECK_VERSION_AVAILABLE_TEXT = 'checkVersionAvailableText';
331 const CHECK_VERSION_CHANGELOG_TEXT = 'checkVersionChangelogText';
332 const CHECK_VERSION_LATEST_TEXT = 'checkVersionLatestText';
333
334 // Action gen SSL certificate
335 const GENSSL_TITLE = 'genSslTitle';
336 const GENSSL_PATH = 'genSslPath';
337 const GENSSL_CREATED = 'genSslCreated';
338 const GENSSL_CREATED_ERROR = 'genSslCreatedError';
339
340 // Action restart
341 const RESTART_TITLE = 'restartTitle';
342 const RESTART_TEXT = 'restartText';
343
344 // Action enable
345 const ENABLE_TITLE = 'enableTitle';
346 const ENABLE_BUNDLE_NOT_EXIST = 'enableBundleNotExist';
347
348 // Windows forms
349 const BUTTON_OK = 'buttonOk';
350 const BUTTON_DELETE = 'buttonDelete';
351 const BUTTON_SAVE = 'buttonSave';
352 const BUTTON_FINISH = 'buttonFinish';
353 const BUTTON_CANCEL = 'buttonCancel';
354 const BUTTON_NEXT = 'buttonNext';
355 const BUTTON_BACK = 'buttonBack';
356 const BUTTON_BROWSE = 'buttonBrowse';
357 const LOADING = 'loading';
358
359 // Homepage
360 const HOMEPAGE_OFFICIAL_WEBSITE = 'homepageOfficialWebsite';
361 const HOMEPAGE_SERVICE_STARTED = 'homepageServiceStarted';
362 const HOMEPAGE_SERVICE_STOPPED = 'homepageServiceStopped';
363 const HOMEPAGE_ABOUT_HTML = 'homepageAboutHtml';
364 const HOMEPAGE_LICENSE_TEXT = 'homepageLicenseText';
365 const HOMEPAGE_QUESTIONS_TITLE = 'homepageQuestionsTitle';
366 const HOMEPAGE_QUESTIONS_TEXT = 'homepageQuestionsText';
367 const HOMEPAGE_POST_ISSUE = 'homepagePostIssue';
368 const HOMEPAGE_PHPINFO_TEXT = 'homepagePhpinfoText';
369 const HOMEPAGE_APC_TEXT = 'homepageApcText';
370 const HOMEPAGE_MAILPIT_TEXT = 'homepageMailpitText';
371 const HOMEPAGE_XLIGHT_TEXT = 'homepageXlightText';
372 const HOMEPAGE_BACK_TEXT = 'homepageBackText';
373
383 public static function getKeys()
384 {
385 return array(
386 // General
387 self::ALL_RUNNING_HINT,
388 self::SOME_RUNNING_HINT,
389 self::NONE_RUNNING_HINT,
390
391 // Single
392 self::ABOUT,
393 self::ADMINISTRATION,
394 self::ALIASES,
395 self::APPS,
396 self::BINS,
397 self::CHANGELOG,
398 self::CONSOLE,
399 self::DEBUG,
400 self::DISABLED,
401 self::DONATE,
402 self::DONATE_VIA,
403 self::DOWNLOAD,
404 self::DOWNLOAD_MORE,
405 self::ENABLED,
406 self::ERROR,
407 self::EXECUTABLE,
408 self::EXTENSIONS,
409 self::GIT_CONSOLE,
410 self::GITHUB,
411 self::HELP,
412 self::HOSTSEDITOR,
413 self::LANG,
414 self::LICENSE,
415 self::LOGS,
416 self::LOGS_VERBOSE,
417 self::MODULES,
418 self::NAME,
419 self::PAYPAL,
420 self::PYTHON_CONSOLE,
421 self::PWGEN,
422 self::QUIT,
423 self::READ_CHANGELOG,
424 self::RELOAD,
425 self::REPOS,
426 self::RESTART,
427 self::SERVICE,
428 self::SETTINGS,
429 self::SSL,
430 self::STARTUP,
431 self::STATUS,
432 self::STATUS_PAGE,
433 self::TARGET,
434 self::TOOLS,
435 self::VERBOSE_DEBUG,
436 self::VERBOSE_REPORT,
437 self::VERBOSE_SIMPLE,
438 self::VERBOSE_TRACE,
439 self::VERSION,
440 self::VERSIONS,
441 self::VIRTUAL_HOSTS,
442 self::WEBSITE,
443
444 // Menu
445 self::MENU_ABOUT,
446 self::MENU_ACCESS_LOGS,
447 self::MENU_ADD_ALIAS,
448 self::MENU_ADD_VHOST,
449 self::MENU_CHANGE_PORT,
450 self::MENU_CHANGE_ROOT_PWD,
451 self::MENU_CHECK_PORT,
452 self::MENU_CHECK_UPDATE,
453 self::MENU_CLEAR_FOLDERS,
454 self::MENU_EDIT_ALIAS,
455 self::MENU_EDIT_VHOST,
456 self::MENU_ENABLE,
457 self::MENU_ERROR_LOGS,
458 self::MENU_GEN_SSL_CERTIFICATE,
459 self::MENU_INSTALL_SERVICE,
460 self::MENU_LAUNCH_STARTUP,
461 self::MENU_LOCALHOST,
462 self::MENU_LOGS,
463 self::MENU_PUT_OFFLINE,
464 self::MENU_PUT_ONLINE,
465 self::MENU_REBUILD_INI,
466 self::MENU_REFRESH_REPOS,
467 self::MENU_REMOVE_SERVICE,
468 self::MENU_RESTART_SERVICE,
469 self::MENU_RESTART_SERVICES,
470 self::MENU_REWRITE_LOGS,
471 self::MENU_SCAN_REPOS_STARTUP,
472 self::MENU_SESSION_LOGS,
473 self::MENU_START_SERVICE,
474 self::MENU_START_SERVICES,
475 self::MENU_STATS_LOGS,
476 self::MENU_STOP_SERVICE,
477 self::MENU_STOP_SERVICES,
478 self::MENU_TRANSFER_LOGS,
479 self::MENU_UPDATE_ENV_PATH,
480 self::MENU_WWW_DIRECTORY,
481
482 // Bins
483 self::APACHE,
484 self::PHP,
485 self::PEAR,
486 self::MEMCACHED,
487 self::MAILPIT,
488 self::MARIADB,
489 self::MYSQL,
490 self::NODEJS,
491 self::POSTGRESQL,
492 self::XLIGHT,
493
494 // Apps
495 self::PHPMYADMIN,
496 self::PHPPGADMIN,
497
498 // Tools
499 self::BRUNO,
500 self::COMPOSER,
501 self::CONSOLEZ,
502 self::GIT,
503 self::NGROK,
504 self::PERL,
505 self::PYTHON,
506 self::RUBY,
507
508 // Errors
509 self::ERROR_CONF_NOT_FOUND,
510 self::ERROR_EXE_NOT_FOUND,
511 self::ERROR_FILE_NOT_FOUND,
512 self::ERROR_INVALID_PARAMETER,
513
514 // Action Switch version
515 self::SWITCH_VERSION_TITLE,
516 self::SWITCH_VERSION_RELOAD_CONFIG,
517 self::SWITCH_VERSION_RELOAD_BINS,
518 self::SWITCH_VERSION_REGISTRY,
519 self::SWITCH_VERSION_RESET_SERVICES,
520 self::SWITCH_VERSION_SAME_ERROR,
521 self::SWITCH_VERSION_OK,
522 self::SWITCH_VERSION_OK_RESTART,
523 self::APACHE_INCPT,
524 self::PHP_INCPT,
525 self::BEARSAMPP_CONF_NOT_FOUND_ERROR,
526 self::BEARSAMPP_CONF_MALFORMED_ERROR,
527
528 // Action Switch PHP setting
529 self::SWITCH_PHP_SETTING_TITLE,
530 self::SWITCH_PHP_SETTING_NOT_FOUND,
531
532 // Action Check port
533 self::CHECK_PORT_TITLE,
534 self::PORT_USED_BY,
535 self::PORT_NOT_USED,
536 self::PORT_NOT_USED_BY,
537 self::PORT_USED_BY_ANOTHER_DBMS,
538 self::PORT_CHANGED,
539
540 // Action Install service
541 self::INSTALL_SERVICE_TITLE,
542 self::SERVICE_ALREADY_INSTALLED,
543 self::SERVICE_INSTALLED,
544 self::SERVICE_INSTALL_ERROR,
545
546 // Action Remove service
547 self::REMOVE_SERVICE_TITLE,
548 self::SERVICE_NOT_EXIST,
549 self::SERVICE_REMOVED,
550 self::SERVICE_REMOVE_ERROR,
551
552 // Action Start service
553 self::START_SERVICE_TITLE,
554 self::START_SERVICE_ERROR,
555
556 // Action Stop service
557 self::STOP_SERVICE_TITLE,
558 self::STOP_SERVICE_ERROR,
559
560 // Action Restart service
561 self::RESTART_SERVICE_TITLE,
562 self::RESTART_SERVICE_ERROR,
563
564 // Action Delete alias
565 self::DELETE_ALIAS_TITLE,
566 self::DELETE_ALIAS,
567 self::ALIAS_REMOVED,
568 self::ALIAS_REMOVE_ERROR,
569
570 // Action Add/Edit alias
571 self::ADD_ALIAS_TITLE,
572 self::ALIAS_NAME_LABEL,
573 self::ALIAS_DEST_LABEL,
574 self::ALIAS_EXP_LABEL,
575 self::ALIAS_DEST_PATH,
576 self::ALIAS_NOT_VALID_ALPHA,
577 self::ALIAS_ALREADY_EXISTS,
578 self::ALIAS_CREATED,
579 self::ALIAS_CREATED_ERROR,
580 self::EDIT_ALIAS_TITLE,
581
582 // Action Delete vhost
583 self::DELETE_VHOST_TITLE,
584 self::DELETE_VHOST,
585 self::VHOST_REMOVED,
586 self::VHOST_REMOVE_ERROR,
587
588 // Action Add/Edit vhost
589 self::ADD_VHOST_TITLE,
590 self::VHOST_SERVER_NAME_LABEL,
591 self::VHOST_DOCUMENT_ROOT_LABEL,
592 self::VHOST_EXP_LABEL,
593 self::VHOST_DOC_ROOT_PATH,
594 self::VHOST_NOT_VALID_DOMAIN,
595 self::VHOST_ALREADY_EXISTS,
596 self::VHOST_CREATED,
597 self::VHOST_CREATED_ERROR,
598 self::EDIT_VHOST_TITLE,
599
600 // Action Change port
601 self::CHANGE_PORT_TITLE,
602 self::CHANGE_PORT_CURRENT_LABEL,
603 self::CHANGE_PORT_NEW_LABEL,
604 self::CHANGE_PORT_SAME_ERROR,
605
606 // Action Change database root password
607 self::CHANGE_DB_ROOT_PWD_TITLE,
608 self::CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL,
609 self::CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL,
610 self::CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL,
611 self::CHANGE_DB_ROOT_PWD_NOTSAME_ERROR,
612 self::CHANGE_DB_ROOT_PWD_INCORRECT_ERROR,
613 self::CHANGE_DB_ROOT_PWD_TEXT,
614
615 // Action Startup
616 self::STARTUP_STARTING_TEXT,
617 self::STARTUP_ROTATION_LOGS_TEXT,
618 self::STARTUP_KILL_OLD_PROCS_TEXT,
619 self::STARTUP_REFRESH_HOSTNAME_TEXT,
620 self::STARTUP_CHECK_BROWSER_TEXT,
621 self::STARTUP_SYS_INFOS,
622 self::STARTUP_CLEAN_TMP_TEXT,
623 self::STARTUP_CLEAN_OLD_BEHAVIORS_TEXT,
624 self::STARTUP_REFRESH_ALIAS_TEXT,
625 self::STARTUP_REFRESH_VHOSTS_TEXT,
626 self::STARTUP_CHECK_PATH_TEXT,
627 self::STARTUP_SCAN_FOLDERS_TEXT,
628 self::STARTUP_CHANGE_PATH_TEXT,
629 self::STARTUP_REGISTRY_TEXT,
630 self::STARTUP_REGISTRY_ERROR_TEXT,
631 self::STARTUP_UPDATE_CONFIG_TEXT,
632 self::STARTUP_CHECK_SERVICE_TEXT,
633 self::STARTUP_INSTALL_SERVICE_TEXT,
634 self::STARTUP_START_SERVICE_TEXT,
635 self::STARTUP_PREPARE_RESTART_TEXT,
636 self::STARTUP_ERROR_TITLE,
637 self::STARTUP_SERVICE_ERROR,
638 self::STARTUP_SERVICE_CREATE_ERROR,
639 self::STARTUP_SERVICE_START_ERROR,
640 self::STARTUP_SERVICE_SYNTAX_ERROR,
641 self::STARTUP_SERVICE_PORT_ERROR,
642 self::STARTUP_REFRESH_GIT_REPOS_TEXT,
643 self::STARTUP_START_SERVICE_TEXT,
644
645 // Action Quit
646 self::EXIT_LEAVING_TEXT,
647 self::EXIT_REMOVE_SERVICE_TEXT,
648 self::EXIT_STOP_OTHER_PROCESS_TEXT,
649
650 // Action Change browser
651 self::CHANGE_BROWSER_TITLE,
652 self::CHANGE_BROWSER_EXP_LABEL,
653 self::CHANGE_BROWSER_OTHER_LABEL,
654 self::CHANGE_BROWSER_OK,
655
656 // Action About
657 self::ABOUT_TITLE,
658 self::ABOUT_TEXT,
659
660 // Action Debug Apache
661 self::DEBUG_APACHE_VERSION_NUMBER,
662 self::DEBUG_APACHE_COMPILE_SETTINGS,
663 self::DEBUG_APACHE_COMPILED_MODULES,
664 self::DEBUG_APACHE_CONFIG_DIRECTIVES,
665 self::DEBUG_APACHE_VHOSTS_SETTINGS,
666 self::DEBUG_APACHE_LOADED_MODULES,
667 self::DEBUG_APACHE_SYNTAX_CHECK,
668
669 // Action Debug MySQL
670 self::DEBUG_MYSQL_VERSION,
671 self::DEBUG_MYSQL_VARIABLES,
672 self::DEBUG_MYSQL_SYNTAX_CHECK,
673
674 // Action Debug MariaDB
675 self::DEBUG_MARIADB_VERSION,
676 self::DEBUG_MARIADB_VARIABLES,
677 self::DEBUG_MARIADB_SYNTAX_CHECK,
678
679 // Action Debug PostgreSQL
680 self::DEBUG_POSTGRESQL_VERSION,
681
682 // Action others
683 self::REGISTRY_SET_ERROR_TEXT,
684
685 // Action check version
686 self::CHECK_VERSION_TITLE,
687 self::CHECK_VERSION_AVAILABLE_TEXT,
688 self::CHECK_VERSION_CHANGELOG_TEXT,
689 self::CHECK_VERSION_LATEST_TEXT,
690
691 // Action gen SSL certificate
692 self::GENSSL_TITLE,
693 self::GENSSL_PATH,
694 self::GENSSL_CREATED,
695 self::GENSSL_CREATED_ERROR,
696
697 // Action restart
698 self::RESTART_TITLE,
699 self::RESTART_TEXT,
700
701 // Action enable
702 self::ENABLE_TITLE,
703 self::ENABLE_BUNDLE_NOT_EXIST,
704
705 // Windows forms
706 self::BUTTON_OK,
707 self::BUTTON_DELETE,
708 self::BUTTON_SAVE,
709 self::BUTTON_FINISH,
710 self::BUTTON_CANCEL,
711 self::BUTTON_NEXT,
712 self::BUTTON_BACK,
713 self::BUTTON_BROWSE,
714 self::LOADING,
715
716 // Homepage
717 self::HOMEPAGE_OFFICIAL_WEBSITE,
718 self::HOMEPAGE_SERVICE_STARTED,
719 self::HOMEPAGE_SERVICE_STOPPED,
720 self::HOMEPAGE_ABOUT_HTML,
721 self::HOMEPAGE_LICENSE_TEXT,
722 self::HOMEPAGE_QUESTIONS_TITLE,
723 self::HOMEPAGE_QUESTIONS_TEXT,
724 self::HOMEPAGE_POST_ISSUE,
725 self::HOMEPAGE_PHPINFO_TEXT,
726 self::HOMEPAGE_APC_TEXT,
727 self::HOMEPAGE_MAILPIT_TEXT,
728 self::HOMEPAGE_XLIGHT_TEXT,
729 self::HOMEPAGE_BACK_TEXT,
730 );
731 }
732}
const COMPOSER
const MARIADB
const CHECK_VERSION_CHANGELOG_TEXT
const CHANGE_DB_ROOT_PWD_TITLE
const VHOST_EXP_LABEL
const NODEJS
const MENU_SCAN_REPOS_STARTUP
const START_SERVICE_ERROR
const STARTUP_STARTING_TEXT
const CHANGE_BROWSER_OTHER_LABEL
const STARTUP_SYS_INFOS
const GENSSL_TITLE
const ENABLE_BUNDLE_NOT_EXIST
const MENU_ADD_ALIAS
const SWITCH_VERSION_RELOAD_CONFIG
const CHANGE_DB_ROOT_PWD_INCORRECT_ERROR
const HOMEPAGE_OFFICIAL_WEBSITE
const BUTTON_NEXT
const GENSSL_CREATED
const SWITCH_VERSION_RELOAD_BINS
const START_SERVICE_TITLE
const CHECK_VERSION_AVAILABLE_TEXT
const LOGS_VERBOSE
const VHOST_REMOVE_ERROR
const GHOSTSCRIPT
const VHOST_SERVER_NAME_LABEL
const SERVICE_INSTALLED
const RUBY
const CHANGE_PORT_SAME_ERROR
const MENU_RESTART_SERVICES
const REPOS
const STARTUP_START_SERVICE_TEXT
const STARTUP_CHECK_SERVICE_TEXT
const MENU_ENABLE
const DEBUG_APACHE_SYNTAX_CHECK
const QUIT
const DEBUG_MYSQL_SYNTAX_CHECK
const PHP_INCPT
const CHECK_VERSION_LATEST_TEXT
const EDIT_ALIAS_TITLE
const GITGUI
const DEBUG_MARIADB_VARIABLES
const VHOST_CREATED_ERROR
const STARTUP_REFRESH_GIT_REPOS_TEXT
const CHANGE_BROWSER_OK
const STARTUP_SERVICE_START_ERROR
const NAME
const DEBUG_APACHE_COMPILE_SETTINGS
const BEARSAMPP_CONF_MALFORMED_ERROR
const DEBUG_APACHE_COMPILED_MODULES
const INSTALL_SERVICE_TITLE
const NONE_RUNNING_HINT
const ALIAS_REMOVE_ERROR
const HOMEPAGE_BACK_TEXT
const APPS
const BUTTON_BROWSE
const SWITCH_VERSION_REGISTRY
const ADD_ALIAS_TITLE
const DISABLED
const MENU_CHANGE_ROOT_PWD
const SWITCH_PHP_SETTING_TITLE
const CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL
const STARTUP_SERVICE_ERROR
const CHANGE_DB_ROOT_PWD_TEXT
const MODULES
const VERBOSE_REPORT
const VHOST_CREATED
const ALIAS_DEST_LABEL
const BUTTON_CANCEL
const DEBUG_POSTGRESQL_VERSION
const HOMEPAGE_APC_TEXT
const DOWNLOAD
const SWITCH_VERSION_OK_RESTART
const SSL
const CHANGE_PORT_CURRENT_LABEL
const ALIAS_NAME_LABEL
const SWITCH_VERSION_OK
const SERVICE
const MENU_LOCALHOST
const STARTUP_CHECK_PATH_TEXT
const DEBUG_APACHE_CONFIG_DIRECTIVES
const DOWNLOAD_MORE
const ALIAS_DEST_PATH
const BUTTON_OK
const STARTUP_SCAN_FOLDERS_TEXT
const SERVICE_NOT_EXIST
const BRUNO
const DEBUG_MARIADB_SYNTAX_CHECK
const FACEBOOK
const APACHE_INCPT
const MENU_ABOUT
const MENU_STOP_SERVICE
const VHOST_NOT_VALID_DOMAIN
const DELETE_VHOST_TITLE
const ERROR_EXE_NOT_FOUND
const MENU_REBUILD_INI
const GENSSL_PATH
const STARTUP_CHANGE_PATH_TEXT
const ERROR_CONF_NOT_FOUND
const BUTTON_DELETE
const LOGS
const CONSOLE
const STARTUP_PREPARE_RESTART_TEXT
const STOP_SERVICE_TITLE
const MENU_CHECK_UPDATE
const STARTUP_ROTATION_LOGS_TEXT
const STARTUP_SERVICE_SYNTAX_ERROR
const VERBOSE_SIMPLE
const HOMEPAGE_QUESTIONS_TITLE
const PYTHON_CONSOLE
const CHANGE_PORT_TITLE
const MENU_CHANGE_PORT
const MENU_PUT_ONLINE
const NGROK
const ALIAS_CREATED
const LOADING
const VHOST_DOCUMENT_ROOT_LABEL
const LANG
const ALIAS_ALREADY_EXISTS
const HELP
const PHPMYADMIN
const ALIAS_EXP_LABEL
const ALL_RUNNING_HINT
const CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL
const PHPPGADMIN
const MENU_GEN_SSL_CERTIFICATE
const MENU_SESSION_LOGS
const SERVICE_REMOVED
const POSTGRESQL
const MENU_LAUNCH_STARTUP
const MENU_START_SERVICES
const STARTUP_SERVICE_CREATE_ERROR
const CHANGE_BROWSER_TITLE
const EXECUTABLE
const STOP_SERVICE_ERROR
const PHP
const DEBUG
const MENU_ERROR_LOGS
const MENU_STOP_SERVICES
const DISCORD
const RESTART_SERVICE_ERROR
const DONATE
const RELOAD
const GITHUB
const ERROR
const GIT_CONSOLE
const APACHE
const MENU_ADD_VHOST
const BUTTON_BACK
const DELETE_VHOST
const ABOUT
const HOMEPAGE_MAILPIT_TEXT
const VERSION_URL
const MENU_EDIT_CONF
const HOSTSEDITOR
const MENU_INSTALL_SERVICE
const READ_CHANGELOG
const MENU_REWRITE_LOGS
const CHANGE_PORT_NEW_LABEL
const RESTART_SERVICE_TITLE
const STARTUP_SERVICE_PORT_ERROR
const MENU_RESTART_SERVICE
const HOMEPAGE_ABOUT_HTML
const SERVICE_INSTALL_ERROR
const TOOLS
const ADMINISTRATION
const BUTTON_SAVE
const MEMCACHED
const ALIAS_REMOVED
const STARTUP
const LOCALE
const HOMEPAGE_SERVICE_STOPPED
const ABOUT_TEXT
const ADD_VHOST_TITLE
const SOME_RUNNING_HINT
const GENSSL_CREATED_ERROR
const MENU_UPDATE_ENV_PATH
const MENU_START_SERVICE
const MENU_EDIT_VHOST
const TARGET
const SERVICE_REMOVE_ERROR
const MENU_TRANSFER_LOGS
const SWITCH_VERSION_SAME_ERROR
const LICENSE
const VIRTUAL_HOSTS
const BEARSAMPP_CONF_NOT_FOUND_ERROR
const RESTART
const VERBOSE_TRACE
const MENU_STATS_LOGS
const PORT_NOT_USED
const DONATE_VIA
const EXIT_LEAVING_TEXT
const ALIASES
const CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL
const CHANGE_DB_ROOT_PWD_NOTSAME_ERROR
const ALIAS_NOT_VALID_ALPHA
const STARTUP_GEN_SSL_CRT_TEXT
const DEBUG_MYSQL_VERSION
const CHANGELOG
const STARTUP_ERROR_TITLE
const MENU_ACCESS_LOGS
const PWGEN
const SWITCH_PHP_SETTING_NOT_FOUND
const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT
const PEAR
const STARTUP_REFRESH_ALIAS_TEXT
const HOMEPAGE_SERVICE_STARTED
const PORT_CHANGED
const CHANGE_BROWSER_EXP_LABEL
const MENU_PUT_OFFLINE
const BUTTON_FINISH
const SETTINGS
const ENABLED
const MENU_LOGS
const ABOUT_TITLE
const STARTUP_REGISTRY_ERROR_TEXT
const HOMEPAGE_LICENSE_TEXT
const STARTUP_KILL_OLD_PROCS_TEXT
const EXIT_REMOVE_SERVICE_TEXT
const GIT
const CHECK_VERSION_TITLE
const DEBUG_APACHE_LOADED_MODULES
const ALIAS_CREATED_ERROR
const STARTUP_CHECK_BROWSER_TEXT
const ERROR_INVALID_PARAMETER
const ENABLE_TITLE
const DEBUG_MARIADB_VERSION
const MENU_WWW_DIRECTORY
const STARTUP_REFRESH_HOSTNAME_TEXT
const DEBUG_APACHE_VERSION_NUMBER
const DELETE_ALIAS_TITLE
const VHOST_ALREADY_EXISTS
const SERVICE_ALREADY_INSTALLED
const HOMEPAGE_PHPINFO_TEXT
const MENU_EDIT_ALIAS
const STARTUP_REGISTRY_TEXT
const DEBUG_APACHE_VHOSTS_SETTINGS
const MYSQL
const VHOST_DOC_ROOT_PATH
const PORT_NOT_USED_BY
const EXTENSIONS
const VHOST_REMOVED
const XLIGHT
const SWITCH_VERSION_TITLE
const BINS
const DEBUG_MYSQL_VARIABLES
const PAYPAL
const PERL
const WEBSITE
const STARTUP_INSTALL_SERVICE_TEXT
const STARTUP_UPDATE_CONFIG_TEXT
const VERBOSE_DEBUG
const EDIT_VHOST_TITLE
const RESTART_TEXT
const PYTHON
const MENU_REMOVE_SERVICE
const MENU_CLEAR_FOLDERS
const DELETE_ALIAS
static getKeys()
const HOMEPAGE_POST_ISSUE
const MENU_CHECK_PORT
const CHECK_PORT_TITLE
const STARTUP_REFRESH_VHOSTS_TEXT
const VERSION
const PORT_USED_BY
const HOMEPAGE_QUESTIONS_TEXT
const EXIT_STOP_OTHER_PROCESS_TEXT
const PORT_USED_BY_ANOTHER_DBMS
const HOMEPAGE_XLIGHT_TEXT
const SWITCH_VERSION_RESET_SERVICES
const ERROR_FILE_NOT_FOUND
const MAILPIT
const RESTART_TITLE
const REMOVE_SERVICE_TITLE
const STATUS_PAGE
const VERSIONS
const STATUS
const REGISTRY_SET_ERROR_TEXT
const MENU_REFRESH_REPOS
const STARTUP_CLEAN_TMP_TEXT
const CONSOLEZ