Bearsampp 2026.3.26
API documentation
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 POWERSHELL = 'powershell';
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 Start All Services
259 const LOADING_START_SERVICES = 'loadingStartServices';
260 const LOADING_START_SERVICE = 'loadingStartService';
261 const LOADING_STOP_SERVICES = 'loadingStopServices';
262 const LOADING_STOP_SERVICE = 'loadingStopService';
263 const LOADING_RESTART_SERVICES = 'loadingRestartServices';
264 const LOADING_COMPLETE = 'loadingComplete';
265
266 // Action Startup
267 const STARTUP_STARTING_TEXT = 'startupStartingText';
268 const STARTUP_ROTATION_LOGS_TEXT = 'startupRotationLogsText';
269 const STARTUP_KILL_OLD_PROCS_TEXT = 'startupKillOldProcsText';
270 const STARTUP_REFRESH_HOSTNAME_TEXT = 'startupRefreshHostnameText';
271 const STARTUP_CHECK_BROWSER_TEXT = 'startupCheckBrowserText';
272 const STARTUP_SYS_INFOS = 'startupSysInfos';
273 const STARTUP_CLEAN_TMP_TEXT = 'startupCleanTmpText';
274 const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT = 'startupCleanOldBehaviorsText';
275 const STARTUP_REFRESH_ALIAS_TEXT = 'startupRefreshAliasText';
276 const STARTUP_REFRESH_VHOSTS_TEXT = 'startupRefreshVhostsText';
277 const STARTUP_CHECK_PATH_TEXT = 'startupCheckPathText';
278 const STARTUP_SCAN_FOLDERS_TEXT = 'startupScanFoldersText';
279 const STARTUP_CHANGE_PATH_TEXT = 'startupChangePathText';
280 const STARTUP_REGISTRY_TEXT = 'startupRegistryText';
281 const STARTUP_REGISTRY_ERROR_TEXT = 'startupRegistryErrorText';
282 const STARTUP_UPDATE_CONFIG_TEXT = 'startupUpdateConfigText';
283 const STARTUP_CHECK_SERVICE_TEXT = 'startupCheckServiceText';
284 const STARTUP_INSTALL_SERVICE_TEXT = 'startupInstallServiceText';
285 const STARTUP_START_SERVICE_TEXT = 'startupStartServiceText';
286 const STARTUP_PREPARE_RESTART_TEXT = 'startupPrepareRestartText';
287 const STARTUP_ERROR_TITLE = 'startupErrorTitle';
288 const STARTUP_SERVICE_ERROR = 'startupServiceError';
289 const STARTUP_SERVICE_CREATE_ERROR = 'startupServiceCreateError';
290 const STARTUP_SERVICE_START_ERROR = 'startupServiceStartError';
291 const STARTUP_SERVICE_SYNTAX_ERROR = 'startupServiceSyntaxError';
292 const STARTUP_SERVICE_PORT_ERROR = 'startupServicePortError';
293 const STARTUP_REFRESH_GIT_REPOS_TEXT = 'startupRefreshGitReposText';
294 const STARTUP_GEN_SSL_CRT_TEXT = 'startupGenSslCrtText';
295
296 // Action Quit
297 const EXIT_LEAVING_TEXT = 'exitLeavingText';
298 const EXIT_REMOVE_SERVICE_TEXT = 'exitRemoveServiceText';
299 const EXIT_STOP_OTHER_PROCESS_TEXT = 'exitStopOtherProcessText';
300
301 // Action Change browser
302 const CHANGE_BROWSER_TITLE = 'changeBrowserTitle';
303 const CHANGE_BROWSER_EXP_LABEL = 'changeBrowserExpLabel';
304 const CHANGE_BROWSER_OTHER_LABEL = 'changeBrowserOtherLabel';
305 const CHANGE_BROWSER_OK = 'changeBrowserOk';
306
307 // Action About
308 const ABOUT_TITLE = 'aboutTitle';
309 const ABOUT_TEXT = 'aboutText';
310
311 // Action Debug Apache
312 const DEBUG_APACHE_VERSION_NUMBER = 'debugApacheVersionNumber';
313 const DEBUG_APACHE_COMPILE_SETTINGS = 'debugApacheCompileSettings';
314 const DEBUG_APACHE_COMPILED_MODULES = 'debugApacheCompiledModules';
315 const DEBUG_APACHE_CONFIG_DIRECTIVES = 'debugApacheConfigDirectives';
316 const DEBUG_APACHE_VHOSTS_SETTINGS = 'debugApacheVhostsSettings';
317 const DEBUG_APACHE_LOADED_MODULES = 'debugApacheLoadedModules';
318 const DEBUG_APACHE_SYNTAX_CHECK = 'debugApacheSyntaxCheck';
319
320 // Action Debug MySQL
321 const DEBUG_MYSQL_VERSION = 'debugMysqlVersion';
322 const DEBUG_MYSQL_VARIABLES = 'debugMysqlVariables';
323 const DEBUG_MYSQL_SYNTAX_CHECK = 'debugMysqlSyntaxCheck';
324
325 // Action Debug MariaDB
326 const DEBUG_MARIADB_VERSION = 'debugMariadbVersion';
327 const DEBUG_MARIADB_VARIABLES = 'debugMariadbVariables';
328 const DEBUG_MARIADB_SYNTAX_CHECK = 'debugMariadbSyntaxCheck';
329
330 // Action Debug PostgreSQL
331 const DEBUG_POSTGRESQL_VERSION = 'debugPostgresqlVersion';
332
333 // Action others
334 const REGISTRY_SET_ERROR_TEXT = 'registrySetErrorText';
335
336 // Action check version
337 const CHECK_VERSION_TITLE = 'checkVersionTitle';
338 const CHECK_VERSION_AVAILABLE_TEXT = 'checkVersionAvailableText';
339 const CHECK_VERSION_CHANGELOG_TEXT = 'checkVersionChangelogText';
340 const CHECK_VERSION_LATEST_TEXT = 'checkVersionLatestText';
341
342 // Action gen SSL certificate
343 const GENSSL_TITLE = 'genSslTitle';
344 const GENSSL_PATH = 'genSslPath';
345 const GENSSL_CREATED = 'genSslCreated';
346 const GENSSL_CREATED_ERROR = 'genSslCreatedError';
347
348 // Action restart
349 const RESTART_TITLE = 'restartTitle';
350 const RESTART_TEXT = 'restartText';
351
352 // Action enable
353 const ENABLE_TITLE = 'enableTitle';
354 const ENABLE_BUNDLE_NOT_EXIST = 'enableBundleNotExist';
355
356 // Windows forms
357 const BUTTON_OK = 'buttonOk';
358 const BUTTON_DELETE = 'buttonDelete';
359 const BUTTON_SAVE = 'buttonSave';
360 const BUTTON_FINISH = 'buttonFinish';
361 const BUTTON_CANCEL = 'buttonCancel';
362 const BUTTON_NEXT = 'buttonNext';
363 const BUTTON_BACK = 'buttonBack';
364 const BUTTON_BROWSE = 'buttonBrowse';
365 const LOADING = 'loading';
366
367 // Homepage
368 const HOMEPAGE_OFFICIAL_WEBSITE = 'homepageOfficialWebsite';
369 const HOMEPAGE_SERVICE_STARTED = 'homepageServiceStarted';
370 const HOMEPAGE_SERVICE_STOPPED = 'homepageServiceStopped';
371 const HOMEPAGE_ABOUT_HTML = 'homepageAboutHtml';
372 const HOMEPAGE_LICENSE_TEXT = 'homepageLicenseText';
373 const HOMEPAGE_QUESTIONS_TITLE = 'homepageQuestionsTitle';
374 const HOMEPAGE_QUESTIONS_TEXT = 'homepageQuestionsText';
375 const HOMEPAGE_POST_ISSUE = 'homepagePostIssue';
376 const HOMEPAGE_PHPINFO_TEXT = 'homepagePhpinfoText';
377 const HOMEPAGE_APC_TEXT = 'homepageApcText';
378 const HOMEPAGE_MAILPIT_TEXT = 'homepageMailpitText';
379 const HOMEPAGE_XLIGHT_TEXT = 'homepageXlightText';
380 const HOMEPAGE_BACK_TEXT = 'homepageBackText';
381
391 public static function getKeys()
392 {
393 return array(
394 // General
395 self::ALL_RUNNING_HINT,
396 self::SOME_RUNNING_HINT,
397 self::NONE_RUNNING_HINT,
398
399 // Single
400 self::ABOUT,
401 self::ADMINISTRATION,
402 self::ALIASES,
403 self::APPS,
404 self::BINS,
405 self::CHANGELOG,
406 self::CONSOLE,
407 self::DEBUG,
408 self::DISABLED,
409 self::DONATE,
410 self::DONATE_VIA,
411 self::DOWNLOAD,
412 self::DOWNLOAD_MORE,
413 self::ENABLED,
414 self::ERROR,
415 self::EXECUTABLE,
416 self::EXTENSIONS,
417 self::GIT_CONSOLE,
418 self::GITHUB,
419 self::HELP,
420 self::HOSTSEDITOR,
421 self::LANG,
422 self::LICENSE,
423 self::LOGS,
424 self::LOGS_VERBOSE,
425 self::MODULES,
426 self::NAME,
427 self::PAYPAL,
428 self::PYTHON_CONSOLE,
429 self::PWGEN,
430 self::QUIT,
431 self::READ_CHANGELOG,
432 self::RELOAD,
433 self::REPOS,
434 self::RESTART,
435 self::SERVICE,
436 self::SETTINGS,
437 self::SSL,
438 self::STARTUP,
439 self::STATUS,
440 self::STATUS_PAGE,
441 self::TARGET,
442 self::TOOLS,
443 self::VERBOSE_DEBUG,
444 self::VERBOSE_REPORT,
445 self::VERBOSE_SIMPLE,
446 self::VERBOSE_TRACE,
447 self::VERSION,
448 self::VERSIONS,
449 self::VIRTUAL_HOSTS,
450 self::WEBSITE,
451
452 // Menu
453 self::MENU_ABOUT,
454 self::MENU_ACCESS_LOGS,
455 self::MENU_ADD_ALIAS,
456 self::MENU_ADD_VHOST,
457 self::MENU_CHANGE_PORT,
458 self::MENU_CHANGE_ROOT_PWD,
459 self::MENU_CHECK_PORT,
460 self::MENU_CHECK_UPDATE,
461 self::MENU_CLEAR_FOLDERS,
462 self::MENU_EDIT_ALIAS,
463 self::MENU_EDIT_VHOST,
464 self::MENU_ENABLE,
465 self::MENU_ERROR_LOGS,
466 self::MENU_GEN_SSL_CERTIFICATE,
467 self::MENU_INSTALL_SERVICE,
468 self::MENU_LAUNCH_STARTUP,
469 self::MENU_LOCALHOST,
470 self::MENU_LOGS,
471 self::MENU_PUT_OFFLINE,
472 self::MENU_PUT_ONLINE,
473 self::MENU_REBUILD_INI,
474 self::MENU_REFRESH_REPOS,
475 self::MENU_REMOVE_SERVICE,
476 self::MENU_RESTART_SERVICE,
477 self::MENU_RESTART_SERVICES,
478 self::MENU_REWRITE_LOGS,
479 self::MENU_SCAN_REPOS_STARTUP,
480 self::MENU_SESSION_LOGS,
481 self::MENU_START_SERVICE,
482 self::MENU_START_SERVICES,
483 self::MENU_STATS_LOGS,
484 self::MENU_STOP_SERVICE,
485 self::MENU_STOP_SERVICES,
486 self::MENU_TRANSFER_LOGS,
487 self::MENU_UPDATE_ENV_PATH,
488 self::MENU_WWW_DIRECTORY,
489
490 // Bins
491 self::APACHE,
492 self::PHP,
493 self::PEAR,
494 self::MEMCACHED,
495 self::MAILPIT,
496 self::MARIADB,
497 self::MYSQL,
498 self::NODEJS,
499 self::POSTGRESQL,
500 self::XLIGHT,
501
502 // Apps
503 self::PHPMYADMIN,
504 self::PHPPGADMIN,
505
506 // Tools
507 self::BRUNO,
508 self::COMPOSER,
509 self::POWERSHELL,
510 self::GIT,
511 self::NGROK,
512 self::PERL,
513 self::PYTHON,
514 self::RUBY,
515
516 // Errors
517 self::ERROR_CONF_NOT_FOUND,
518 self::ERROR_EXE_NOT_FOUND,
519 self::ERROR_FILE_NOT_FOUND,
520 self::ERROR_INVALID_PARAMETER,
521
522 // Action Switch version
523 self::SWITCH_VERSION_TITLE,
524 self::SWITCH_VERSION_RELOAD_CONFIG,
525 self::SWITCH_VERSION_RELOAD_BINS,
526 self::SWITCH_VERSION_REGISTRY,
527 self::SWITCH_VERSION_RESET_SERVICES,
528 self::SWITCH_VERSION_SAME_ERROR,
529 self::SWITCH_VERSION_OK,
530 self::SWITCH_VERSION_OK_RESTART,
531 self::APACHE_INCPT,
532 self::PHP_INCPT,
533 self::BEARSAMPP_CONF_NOT_FOUND_ERROR,
534 self::BEARSAMPP_CONF_MALFORMED_ERROR,
535
536 // Action Switch PHP setting
537 self::SWITCH_PHP_SETTING_TITLE,
538 self::SWITCH_PHP_SETTING_NOT_FOUND,
539
540 // Action Check port
541 self::CHECK_PORT_TITLE,
542 self::PORT_USED_BY,
543 self::PORT_NOT_USED,
544 self::PORT_NOT_USED_BY,
545 self::PORT_USED_BY_ANOTHER_DBMS,
546 self::PORT_CHANGED,
547
548 // Action Install service
549 self::INSTALL_SERVICE_TITLE,
550 self::SERVICE_ALREADY_INSTALLED,
551 self::SERVICE_INSTALLED,
552 self::SERVICE_INSTALL_ERROR,
553
554 // Action Remove service
555 self::REMOVE_SERVICE_TITLE,
556 self::SERVICE_NOT_EXIST,
557 self::SERVICE_REMOVED,
558 self::SERVICE_REMOVE_ERROR,
559
560 // Action Start service
561 self::START_SERVICE_TITLE,
562 self::START_SERVICE_ERROR,
563
564 // Action Stop service
565 self::STOP_SERVICE_TITLE,
566 self::STOP_SERVICE_ERROR,
567
568 // Action Restart service
569 self::RESTART_SERVICE_TITLE,
570 self::RESTART_SERVICE_ERROR,
571
572 // Action Delete alias
573 self::DELETE_ALIAS_TITLE,
574 self::DELETE_ALIAS,
575 self::ALIAS_REMOVED,
576 self::ALIAS_REMOVE_ERROR,
577
578 // Action Add/Edit alias
579 self::ADD_ALIAS_TITLE,
580 self::ALIAS_NAME_LABEL,
581 self::ALIAS_DEST_LABEL,
582 self::ALIAS_EXP_LABEL,
583 self::ALIAS_DEST_PATH,
584 self::ALIAS_NOT_VALID_ALPHA,
585 self::ALIAS_ALREADY_EXISTS,
586 self::ALIAS_CREATED,
587 self::ALIAS_CREATED_ERROR,
588 self::EDIT_ALIAS_TITLE,
589
590 // Action Delete vhost
591 self::DELETE_VHOST_TITLE,
592 self::DELETE_VHOST,
593 self::VHOST_REMOVED,
594 self::VHOST_REMOVE_ERROR,
595
596 // Action Add/Edit vhost
597 self::ADD_VHOST_TITLE,
598 self::VHOST_SERVER_NAME_LABEL,
599 self::VHOST_DOCUMENT_ROOT_LABEL,
600 self::VHOST_EXP_LABEL,
601 self::VHOST_DOC_ROOT_PATH,
602 self::VHOST_NOT_VALID_DOMAIN,
603 self::VHOST_ALREADY_EXISTS,
604 self::VHOST_CREATED,
605 self::VHOST_CREATED_ERROR,
606 self::EDIT_VHOST_TITLE,
607
608 // Action Change port
609 self::CHANGE_PORT_TITLE,
610 self::CHANGE_PORT_CURRENT_LABEL,
611 self::CHANGE_PORT_NEW_LABEL,
612 self::CHANGE_PORT_SAME_ERROR,
613
614 // Action Change database root password
615 self::CHANGE_DB_ROOT_PWD_TITLE,
616 self::CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL,
617 self::CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL,
618 self::CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL,
619 self::CHANGE_DB_ROOT_PWD_NOTSAME_ERROR,
620 self::CHANGE_DB_ROOT_PWD_INCORRECT_ERROR,
621 self::CHANGE_DB_ROOT_PWD_TEXT,
622
623 // Action Startup
624 self::STARTUP_STARTING_TEXT,
625 self::STARTUP_ROTATION_LOGS_TEXT,
626 self::STARTUP_KILL_OLD_PROCS_TEXT,
627 self::STARTUP_REFRESH_HOSTNAME_TEXT,
628 self::STARTUP_CHECK_BROWSER_TEXT,
629 self::STARTUP_SYS_INFOS,
630 self::STARTUP_CLEAN_TMP_TEXT,
631 self::STARTUP_CLEAN_OLD_BEHAVIORS_TEXT,
632 self::STARTUP_REFRESH_ALIAS_TEXT,
633 self::STARTUP_REFRESH_VHOSTS_TEXT,
634 self::STARTUP_CHECK_PATH_TEXT,
635 self::STARTUP_SCAN_FOLDERS_TEXT,
636 self::STARTUP_CHANGE_PATH_TEXT,
637 self::STARTUP_REGISTRY_TEXT,
638 self::STARTUP_REGISTRY_ERROR_TEXT,
639 self::STARTUP_UPDATE_CONFIG_TEXT,
640 self::STARTUP_CHECK_SERVICE_TEXT,
641 self::STARTUP_INSTALL_SERVICE_TEXT,
642 self::STARTUP_START_SERVICE_TEXT,
643 self::STARTUP_PREPARE_RESTART_TEXT,
644 self::STARTUP_ERROR_TITLE,
645 self::STARTUP_SERVICE_ERROR,
646 self::STARTUP_SERVICE_CREATE_ERROR,
647 self::STARTUP_SERVICE_START_ERROR,
648 self::STARTUP_SERVICE_SYNTAX_ERROR,
649 self::STARTUP_SERVICE_PORT_ERROR,
650 self::STARTUP_REFRESH_GIT_REPOS_TEXT,
651 self::STARTUP_START_SERVICE_TEXT,
652
653 // Action Quit
654 self::EXIT_LEAVING_TEXT,
655 self::EXIT_REMOVE_SERVICE_TEXT,
656 self::EXIT_STOP_OTHER_PROCESS_TEXT,
657
658 // Action Change browser
659 self::CHANGE_BROWSER_TITLE,
660 self::CHANGE_BROWSER_EXP_LABEL,
661 self::CHANGE_BROWSER_OTHER_LABEL,
662 self::CHANGE_BROWSER_OK,
663
664 // Action About
665 self::ABOUT_TITLE,
666 self::ABOUT_TEXT,
667
668 // Action Debug Apache
669 self::DEBUG_APACHE_VERSION_NUMBER,
670 self::DEBUG_APACHE_COMPILE_SETTINGS,
671 self::DEBUG_APACHE_COMPILED_MODULES,
672 self::DEBUG_APACHE_CONFIG_DIRECTIVES,
673 self::DEBUG_APACHE_VHOSTS_SETTINGS,
674 self::DEBUG_APACHE_LOADED_MODULES,
675 self::DEBUG_APACHE_SYNTAX_CHECK,
676
677 // Action Debug MySQL
678 self::DEBUG_MYSQL_VERSION,
679 self::DEBUG_MYSQL_VARIABLES,
680 self::DEBUG_MYSQL_SYNTAX_CHECK,
681
682 // Action Debug MariaDB
683 self::DEBUG_MARIADB_VERSION,
684 self::DEBUG_MARIADB_VARIABLES,
685 self::DEBUG_MARIADB_SYNTAX_CHECK,
686
687 // Action Debug PostgreSQL
688 self::DEBUG_POSTGRESQL_VERSION,
689
690 // Action others
691 self::REGISTRY_SET_ERROR_TEXT,
692
693 // Action check version
694 self::CHECK_VERSION_TITLE,
695 self::CHECK_VERSION_AVAILABLE_TEXT,
696 self::CHECK_VERSION_CHANGELOG_TEXT,
697 self::CHECK_VERSION_LATEST_TEXT,
698
699 // Action gen SSL certificate
700 self::GENSSL_TITLE,
701 self::GENSSL_PATH,
702 self::GENSSL_CREATED,
703 self::GENSSL_CREATED_ERROR,
704
705 // Action restart
706 self::RESTART_TITLE,
707 self::RESTART_TEXT,
708
709 // Action enable
710 self::ENABLE_TITLE,
711 self::ENABLE_BUNDLE_NOT_EXIST,
712
713 // Windows forms
714 self::BUTTON_OK,
715 self::BUTTON_DELETE,
716 self::BUTTON_SAVE,
717 self::BUTTON_FINISH,
718 self::BUTTON_CANCEL,
719 self::BUTTON_NEXT,
720 self::BUTTON_BACK,
721 self::BUTTON_BROWSE,
722 self::LOADING,
723
724 // Homepage
725 self::HOMEPAGE_OFFICIAL_WEBSITE,
726 self::HOMEPAGE_SERVICE_STARTED,
727 self::HOMEPAGE_SERVICE_STOPPED,
728 self::HOMEPAGE_ABOUT_HTML,
729 self::HOMEPAGE_LICENSE_TEXT,
730 self::HOMEPAGE_QUESTIONS_TITLE,
731 self::HOMEPAGE_QUESTIONS_TEXT,
732 self::HOMEPAGE_POST_ISSUE,
733 self::HOMEPAGE_PHPINFO_TEXT,
734 self::HOMEPAGE_APC_TEXT,
735 self::HOMEPAGE_MAILPIT_TEXT,
736 self::HOMEPAGE_XLIGHT_TEXT,
737 self::HOMEPAGE_BACK_TEXT,
738 );
739 }
740}
const COMPOSER
const MARIADB
const LOADING_STOP_SERVICES
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 LOADING_COMPLETE
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 LOADING_START_SERVICES
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 LOADING_START_SERVICE
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 LOADING_STOP_SERVICE
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 POWERSHELL
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 LOADING_RESTART_SERVICES
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