Bearsampp 2026.7.11
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 DOCUMENTATION = 'documentation';
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_GEN_ROOT_CA = 'menuGenRootCa';
102 const MENU_INSTALL_SERVICE = 'menuInstallService';
103 const MENU_LAUNCH_STARTUP = 'menuLaunchStartup';
104 const MENU_LOCALHOST = 'menuLocalhost';
105 const MENU_LOGS = 'menuLogs';
106 const MENU_PUT_OFFLINE = 'menuPutOffline';
107 const MENU_PUT_ONLINE = 'menuPutOnline';
108 const MENU_REBUILD_INI = 'menuRebuildIni';
109 const MENU_REFRESH_REPOS = 'menuRefreshRepos';
110 const MENU_REMOVE_SERVICE = 'menuRemoveService';
111 const MENU_RESTART_SERVICE = 'menuRestartService';
112 const MENU_RESTART_SERVICES = 'menuRestartServices';
113 const MENU_REWRITE_LOGS = 'menuRewriteLogs';
114 const MENU_SCAN_REPOS_STARTUP = 'menuScanReposStartup';
115 const MENU_SESSION_LOGS = 'menuSessionLogs';
116 const MENU_START_SERVICE = 'menuStartService';
117 const MENU_START_SERVICES = 'menuStartServices';
118 const MENU_STATS_LOGS = 'menuStatsLogs';
119 const MENU_STOP_SERVICE = 'menuStopService';
120 const MENU_STOP_SERVICES = 'menuStopServices';
121 const MENU_TRANSFER_LOGS = 'menuTransferLogs';
122 const MENU_UPDATE_ENV_PATH = 'menuUpdateEnvPath';
123 const MENU_WWW_DIRECTORY = 'menuWwwDirectory';
124
125 // Bins
126 const APACHE = 'apache';
127 const PHP = 'php';
128 const PEAR = 'pear';
129 const MEMCACHED = 'memcached';
130 const MAILPIT = 'mailpit';
131 const MARIADB = 'mariadb';
132 const MYSQL = 'mysql';
133 const NODEJS = 'nodejs';
134 const POSTGRESQL = 'postgresql';
135 const XLIGHT = 'xlight';
136
137 // Apps
138 const PHPMYADMIN = 'phpmyadmin';
139 const PHPPGADMIN = 'phppgadmin';
140
141 // Tools
142 const BRUNO = 'bruno';
143 const COMPOSER = 'composer';
144 const POWERSHELL = 'powershell';
145 const GHOSTSCRIPT = 'ghostscript';
146 const GIT = 'git';
147 const NGROK = 'ngrok';
148 const PERL = 'perl';
149 const PYTHON = 'python';
150 const RUBY = 'ruby';
151
152 // Errors
153 const ERROR_CONF_NOT_FOUND = 'errorConfNotFound';
154 const ERROR_EXE_NOT_FOUND = 'errorExeNotFound';
155 const ERROR_FILE_NOT_FOUND = 'errorFileNotFound';
156 const ERROR_INVALID_PARAMETER = 'errorInvalidParameter';
157 const ERROR_ADMIN_REQUIRED_TITLE = 'errorAdminRequiredTitle';
158 const ERROR_ADMIN_REQUIRED_TEXT = 'errorAdminRequiredText';
159
160 // Action Switch version
161 const SWITCH_VERSION_TITLE = 'switchVersionTitle';
162 const SWITCH_VERSION_RELOAD_CONFIG = 'switchVersionReloadConfig';
163 const SWITCH_VERSION_RELOAD_BINS = 'switchVersionReloadBins';
164 const SWITCH_VERSION_REGISTRY = 'switchVersionRegistry';
165 const SWITCH_VERSION_RESET_SERVICES = 'switchVersionResetServices';
166 const SWITCH_VERSION_SAME_ERROR = 'switchVersionSameError';
167 const SWITCH_VERSION_OK = 'switchVersionOk';
168 const SWITCH_VERSION_OK_RESTART = 'switchVersionOkRestart';
169 const APACHE_INCPT = 'apacheIncpt';
170 const PHP_INCPT = 'phpIncpt';
171 const BEARSAMPP_CONF_NOT_FOUND_ERROR = 'bearsamppConfNotFoundError';
172 const BEARSAMPP_CONF_MALFORMED_ERROR = 'bearsamppConfMalformedError';
173
174 // Action Switch PHP setting
175 const SWITCH_PHP_SETTING_TITLE = 'switchPhpSettingTitle';
176 const SWITCH_PHP_SETTING_NOT_FOUND = 'switchPhpSettingNotFound';
177
178 // Action Check port
179 const CHECK_PORT_TITLE = 'checkPortTitle';
180 const PORT_USED_BY = 'portUsedBy';
181 const PORT_NOT_USED = 'portNotUsed';
182 const PORT_NOT_USED_BY = 'portNotUsedBy';
183 const PORT_USED_BY_ANOTHER_DBMS = 'portUsedByAnotherDbms';
184 const PORT_CHANGED = 'portChanged';
185
186 // Action Install service
187 const INSTALL_SERVICE_TITLE = 'installServiceTitle';
188 const SERVICE_ALREADY_INSTALLED = 'serviceAlreadyInstalled';
189 const SERVICE_INSTALLED = 'serviceInstalled';
190 const SERVICE_INSTALL_ERROR = 'serviceInstallError';
191
192 // Action Remove service
193 const REMOVE_SERVICE_TITLE = 'removeServiceTitle';
194 const SERVICE_NOT_EXIST = 'serviceNotExist';
195 const SERVICE_REMOVED = 'serviceRemoved';
196 const SERVICE_REMOVE_ERROR = 'serviceRemoveError';
197
198 // Action Start service
199 const START_SERVICE_TITLE = 'startServiceTitle';
200 const START_SERVICE_ERROR = 'startServiceError';
201
202 // Action Stop service
203 const STOP_SERVICE_TITLE = 'stopServiceTitle';
204 const STOP_SERVICE_ERROR = 'stopServiceError';
205
206 // Action Restart service
207 const RESTART_SERVICE_TITLE = 'restartServiceTitle';
208 const RESTART_SERVICE_ERROR = 'restartServiceError';
209
210 // Action Delete alias
211 const DELETE_ALIAS_TITLE = 'deleteAliasTitle';
212 const DELETE_ALIAS = 'deleteAlias';
213 const ALIAS_REMOVED = 'aliasRemoved';
214 const ALIAS_REMOVE_ERROR = 'aliasRemoveError';
215
216 // Action Add/Edit alias
217 const ADD_ALIAS_TITLE = 'addAliasTitle';
218 const ALIAS_NAME_LABEL = 'aliasNameLabel';
219 const ALIAS_DEST_LABEL = 'aliasDestLabel';
220 const ALIAS_EXP_LABEL = 'aliasExpLabel';
221 const ALIAS_DEST_PATH = 'aliasDestPath';
222 const ALIAS_NOT_VALID_ALPHA = 'aliasNotValidAlpha';
223 const ALIAS_ALREADY_EXISTS = 'aliasAlreadyExists';
224 const ALIAS_CREATED = 'aliasCreated';
225 const ALIAS_CREATED_ERROR = 'aliasCreatedError';
226 const EDIT_ALIAS_TITLE = 'editAliasTitle';
227
228 // Action Delete vhost
229 const DELETE_VHOST_TITLE = 'deleteVhostTitle';
230 const DELETE_VHOST = 'deleteVhost';
231 const VHOST_REMOVED = 'vhostRemoved';
232 const VHOST_REMOVE_ERROR = 'vhostRemoveError';
233
234 // Action Add/Edit vhost
235 const ADD_VHOST_TITLE = 'addVhostTitle';
236 const VHOST_SERVER_NAME_LABEL = 'vhostServerNameLabel';
237 const VHOST_DOCUMENT_ROOT_LABEL = 'vhostDocumentRootLabel';
238 const VHOST_EXP_LABEL = 'vhostExpLabel';
239 const VHOST_DOC_ROOT_PATH = 'vhostDocRootPath';
240 const VHOST_NOT_VALID_DOMAIN = 'vhostNotValidDomain';
241 const VHOST_ALREADY_EXISTS = 'vhostAlreadyExists';
242 const VHOST_CREATED = 'vhostCreated';
243 const VHOST_CREATED_ERROR = 'vhostCreatedError';
244 const EDIT_VHOST_TITLE = 'editVhostTitle';
245
246 // Action Change port
247 const CHANGE_PORT_TITLE = 'changePortTitle';
248 const CHANGE_PORT_CURRENT_LABEL = 'changePortCurrentLabel';
249 const CHANGE_PORT_NEW_LABEL = 'changePortNewLabel';
250 const CHANGE_PORT_SAME_ERROR = 'changePortSameError';
251
252 // Action Change database root password
253 const CHANGE_DB_ROOT_PWD_TITLE = 'changeDbRootPwdTitle';
254 const CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL = 'changeDbRootPwdCurrentpwdLabel';
255 const CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL = 'changeDbRootPwdNewpwd1Label';
256 const CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL = 'changeDbRootPwdNewpwd2Label';
257 const CHANGE_DB_ROOT_PWD_NOTSAME_ERROR = 'changeDbRootPwdNotsameError';
258 const CHANGE_DB_ROOT_PWD_INCORRECT_ERROR = 'changeDbRootPwdIncorrectError';
259 const CHANGE_DB_ROOT_PWD_TEXT = 'changeDbRootPwdText';
260
261 // Action Start All Services
262 const LOADING_START_SERVICES = 'loadingStartServices';
263 const LOADING_START_SERVICE = 'loadingStartService';
264 const LOADING_STOP_SERVICES = 'loadingStopServices';
265 const LOADING_STOP_SERVICE = 'loadingStopService';
266 const LOADING_RESTART_SERVICES = 'loadingRestartServices';
267 const LOADING_COMPLETE = 'loadingComplete';
268
269 // Action Startup
270 const STARTUP_STARTING_TEXT = 'startupStartingText';
271 const STARTUP_ROTATION_LOGS_TEXT = 'startupRotationLogsText';
272 const STARTUP_KILL_OLD_PROCS_TEXT = 'startupKillOldProcsText';
273 const STARTUP_REFRESH_HOSTNAME_TEXT = 'startupRefreshHostnameText';
274 const STARTUP_CHECK_BROWSER_TEXT = 'startupCheckBrowserText';
275 const STARTUP_SYS_INFOS = 'startupSysInfos';
276 const STARTUP_CLEAN_TMP_TEXT = 'startupCleanTmpText';
277 const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT = 'startupCleanOldBehaviorsText';
278 const STARTUP_REFRESH_ALIAS_TEXT = 'startupRefreshAliasText';
279 const STARTUP_REFRESH_VHOSTS_TEXT = 'startupRefreshVhostsText';
280 const STARTUP_CHECK_PATH_TEXT = 'startupCheckPathText';
281 const STARTUP_SCAN_FOLDERS_TEXT = 'startupScanFoldersText';
282 const STARTUP_CHANGE_PATH_TEXT = 'startupChangePathText';
283 const STARTUP_REGISTRY_TEXT = 'startupRegistryText';
284 const STARTUP_REGISTRY_ERROR_TEXT = 'startupRegistryErrorText';
285 const STARTUP_UPDATE_CONFIG_TEXT = 'startupUpdateConfigText';
286 const STARTUP_CHECK_SERVICE_TEXT = 'startupCheckServiceText';
287 const STARTUP_VERIFY_SERVICE_TEXT = 'startupVerifyServiceText';
288 const STARTUP_INSTALL_SERVICE_TEXT = 'startupInstallServiceText';
289 const STARTUP_START_SERVICE_TEXT = 'startupStartServiceText';
290 const STARTUP_PREPARE_RESTART_TEXT = 'startupPrepareRestartText';
291 const STARTUP_ERROR_TITLE = 'startupErrorTitle';
292 const STARTUP_SERVICE_ERROR = 'startupServiceError';
293 const STARTUP_SERVICE_CREATE_ERROR = 'startupServiceCreateError';
294 const STARTUP_SERVICE_START_ERROR = 'startupServiceStartError';
295 const STARTUP_SERVICE_SYNTAX_ERROR = 'startupServiceSyntaxError';
296 const STARTUP_SERVICE_PORT_ERROR = 'startupServicePortError';
297 const STARTUP_REFRESH_GIT_REPOS_TEXT = 'startupRefreshGitReposText';
298 const STARTUP_GEN_SSL_CRT_TEXT = 'startupGenSslCrtText';
299
300 // Action Quit
301 const EXIT_LEAVING_TEXT = 'exitLeavingText';
302 const EXIT_REMOVE_SERVICE_TEXT = 'exitRemoveServiceText';
303 const EXIT_STOP_OTHER_PROCESS_TEXT = 'exitStopOtherProcessText';
304
305 // Action Change browser
306 const CHANGE_BROWSER_TITLE = 'changeBrowserTitle';
307 const CHANGE_BROWSER_EXP_LABEL = 'changeBrowserExpLabel';
308 const CHANGE_BROWSER_OTHER_LABEL = 'changeBrowserOtherLabel';
309 const CHANGE_BROWSER_OK = 'changeBrowserOk';
310
311 // Action About
312 const ABOUT_TITLE = 'aboutTitle';
313 const ABOUT_TEXT = 'aboutText';
314
315 // Action Debug Apache
316 const DEBUG_APACHE_VERSION_NUMBER = 'debugApacheVersionNumber';
317 const DEBUG_APACHE_COMPILE_SETTINGS = 'debugApacheCompileSettings';
318 const DEBUG_APACHE_COMPILED_MODULES = 'debugApacheCompiledModules';
319 const DEBUG_APACHE_CONFIG_DIRECTIVES = 'debugApacheConfigDirectives';
320 const DEBUG_APACHE_VHOSTS_SETTINGS = 'debugApacheVhostsSettings';
321 const DEBUG_APACHE_LOADED_MODULES = 'debugApacheLoadedModules';
322 const DEBUG_APACHE_SYNTAX_CHECK = 'debugApacheSyntaxCheck';
323
324 // Action Debug MySQL
325 const DEBUG_MYSQL_VERSION = 'debugMysqlVersion';
326 const DEBUG_MYSQL_VARIABLES = 'debugMysqlVariables';
327 const DEBUG_MYSQL_SYNTAX_CHECK = 'debugMysqlSyntaxCheck';
328
329 // Action Debug MariaDB
330 const DEBUG_MARIADB_VERSION = 'debugMariadbVersion';
331 const DEBUG_MARIADB_VARIABLES = 'debugMariadbVariables';
332 const DEBUG_MARIADB_SYNTAX_CHECK = 'debugMariadbSyntaxCheck';
333
334 // Action Debug PostgreSQL
335 const DEBUG_POSTGRESQL_VERSION = 'debugPostgresqlVersion';
336
337 // Action others
338 const REGISTRY_SET_ERROR_TEXT = 'registrySetErrorText';
339
340 // Action check version
341 const CHECK_VERSION_TITLE = 'checkVersionTitle';
342 const CHECK_VERSION_AVAILABLE_TEXT = 'checkVersionAvailableText';
343 const CHECK_VERSION_CHANGELOG_TEXT = 'checkVersionChangelogText';
344 const CHECK_VERSION_LATEST_TEXT = 'checkVersionLatestText';
345
346 // Action gen SSL certificate
347 const GENSSL_TITLE = 'genSslTitle';
348 const GENSSL_PATH = 'genSslPath';
349 const GENSSL_CREATED = 'genSslCreated';
350 const GENSSL_CREATED_ERROR = 'genSslCreatedError';
351
352 // Action del SSL certificate
353 const DELSSL_TITLE = 'delSslTitle';
354 const DELSSL_DELETED = 'delSslDeleted';
355 const DELSSL_DELETED_ERROR = 'delSslDeletedError';
356
357 // Action restart
358 const RESTART_TITLE = 'restartTitle';
359 const RESTART_TEXT = 'restartText';
360
361 // Action enable
362 const ENABLE_TITLE = 'enableTitle';
363 const ENABLE_BUNDLE_NOT_EXIST = 'enableBundleNotExist';
364
365 // Windows forms
366 const BUTTON_OK = 'buttonOk';
367 const BUTTON_DELETE = 'buttonDelete';
368 const BUTTON_SAVE = 'buttonSave';
369 const BUTTON_FINISH = 'buttonFinish';
370 const BUTTON_CANCEL = 'buttonCancel';
371 const BUTTON_NEXT = 'buttonNext';
372 const BUTTON_BACK = 'buttonBack';
373 const BUTTON_BROWSE = 'buttonBrowse';
374 const LOADING = 'loading';
375
376 // Homepage
377 const HOMEPAGE_OFFICIAL_WEBSITE = 'homepageOfficialWebsite';
378 const HOMEPAGE_SERVICE_STARTED = 'homepageServiceStarted';
379 const HOMEPAGE_SERVICE_STOPPED = 'homepageServiceStopped';
380 const HOMEPAGE_ABOUT_HTML = 'homepageAboutHtml';
381 const HOMEPAGE_LICENSE_TEXT = 'homepageLicenseText';
382 const HOMEPAGE_QUESTIONS_TITLE = 'homepageQuestionsTitle';
383 const HOMEPAGE_QUESTIONS_TEXT = 'homepageQuestionsText';
384 const HOMEPAGE_POST_ISSUE = 'homepagePostIssue';
385 const HOMEPAGE_PHPINFO_TEXT = 'homepagePhpinfoText';
386 const HOMEPAGE_APC_TEXT = 'homepageApcText';
387 const HOMEPAGE_MAILPIT_TEXT = 'homepageMailpitText';
388 const HOMEPAGE_XLIGHT_TEXT = 'homepageXlightText';
389 const HOMEPAGE_BACK_TEXT = 'homepageBackText';
390
400 public static function getKeys()
401 {
402 return array(
403 // General
404 self::ALL_RUNNING_HINT,
405 self::SOME_RUNNING_HINT,
406 self::NONE_RUNNING_HINT,
407
408 // Single
409 self::ABOUT,
410 self::ADMINISTRATION,
411 self::ALIASES,
412 self::APPS,
413 self::BINS,
414 self::CHANGELOG,
415 self::CONSOLE,
416 self::DEBUG,
417 self::DISABLED,
418 self::DONATE,
419 self::DONATE_VIA,
420 self::DOWNLOAD,
421 self::DOWNLOAD_MORE,
422 self::ENABLED,
423 self::ERROR,
424 self::EXECUTABLE,
425 self::EXTENSIONS,
426 self::GIT_CONSOLE,
427 self::GITHUB,
428 self::DOCUMENTATION,
429 self::HOSTSEDITOR,
430 self::LANG,
431 self::LICENSE,
432 self::LOGS,
433 self::LOGS_VERBOSE,
434 self::MODULES,
435 self::NAME,
436 self::PAYPAL,
437 self::PYTHON_CONSOLE,
438 self::PWGEN,
439 self::QUIT,
440 self::READ_CHANGELOG,
441 self::RELOAD,
442 self::REPOS,
443 self::RESTART,
444 self::SERVICE,
445 self::SETTINGS,
446 self::SSL,
447 self::STARTUP,
448 self::STATUS,
449 self::STATUS_PAGE,
450 self::TARGET,
451 self::TOOLS,
452 self::VERBOSE_DEBUG,
453 self::VERBOSE_REPORT,
454 self::VERBOSE_SIMPLE,
455 self::VERBOSE_TRACE,
456 self::VERSION,
457 self::VERSIONS,
458 self::VIRTUAL_HOSTS,
459 self::WEBSITE,
460
461 // Menu
462 self::MENU_ABOUT,
463 self::MENU_ACCESS_LOGS,
464 self::MENU_ADD_ALIAS,
465 self::MENU_ADD_VHOST,
466 self::MENU_CHANGE_PORT,
467 self::MENU_CHANGE_ROOT_PWD,
468 self::MENU_CHECK_PORT,
469 self::MENU_CHECK_UPDATE,
470 self::MENU_CLEAR_FOLDERS,
471 self::MENU_EDIT_ALIAS,
472 self::MENU_EDIT_VHOST,
473 self::MENU_ENABLE,
474 self::MENU_ERROR_LOGS,
475 self::MENU_GEN_ROOT_CA,
476 self::MENU_GEN_SSL_CERTIFICATE,
477 self::MENU_INSTALL_SERVICE,
478 self::MENU_LAUNCH_STARTUP,
479 self::MENU_LOCALHOST,
480 self::MENU_LOGS,
481 self::MENU_PUT_OFFLINE,
482 self::MENU_PUT_ONLINE,
483 self::MENU_REBUILD_INI,
484 self::MENU_REFRESH_REPOS,
485 self::MENU_REMOVE_SERVICE,
486 self::MENU_RESTART_SERVICE,
487 self::MENU_RESTART_SERVICES,
488 self::MENU_REWRITE_LOGS,
489 self::MENU_SCAN_REPOS_STARTUP,
490 self::MENU_SESSION_LOGS,
491 self::MENU_START_SERVICE,
492 self::MENU_START_SERVICES,
493 self::MENU_STATS_LOGS,
494 self::MENU_STOP_SERVICE,
495 self::MENU_STOP_SERVICES,
496 self::MENU_TRANSFER_LOGS,
497 self::MENU_UPDATE_ENV_PATH,
498 self::MENU_WWW_DIRECTORY,
499
500 // Bins
501 self::APACHE,
502 self::PHP,
503 self::PEAR,
504 self::MEMCACHED,
505 self::MAILPIT,
506 self::MARIADB,
507 self::MYSQL,
508 self::NODEJS,
509 self::POSTGRESQL,
510 self::XLIGHT,
511
512 // Apps
513 self::PHPMYADMIN,
514 self::PHPPGADMIN,
515
516 // Tools
517 self::BRUNO,
518 self::COMPOSER,
519 self::POWERSHELL,
520 self::GIT,
521 self::NGROK,
522 self::PERL,
523 self::PYTHON,
524 self::RUBY,
525
526 // Errors
527 self::ERROR_CONF_NOT_FOUND,
528 self::ERROR_EXE_NOT_FOUND,
529 self::ERROR_FILE_NOT_FOUND,
530 self::ERROR_INVALID_PARAMETER,
531 self::ERROR_ADMIN_REQUIRED_TITLE,
532 self::ERROR_ADMIN_REQUIRED_TEXT,
533
534 // Action Switch version
535 self::SWITCH_VERSION_TITLE,
536 self::SWITCH_VERSION_RELOAD_CONFIG,
537 self::SWITCH_VERSION_RELOAD_BINS,
538 self::SWITCH_VERSION_REGISTRY,
539 self::SWITCH_VERSION_RESET_SERVICES,
540 self::SWITCH_VERSION_SAME_ERROR,
541 self::SWITCH_VERSION_OK,
542 self::SWITCH_VERSION_OK_RESTART,
543 self::APACHE_INCPT,
544 self::PHP_INCPT,
545 self::BEARSAMPP_CONF_NOT_FOUND_ERROR,
546 self::BEARSAMPP_CONF_MALFORMED_ERROR,
547
548 // Action Switch PHP setting
549 self::SWITCH_PHP_SETTING_TITLE,
550 self::SWITCH_PHP_SETTING_NOT_FOUND,
551
552 // Action Check port
553 self::CHECK_PORT_TITLE,
554 self::PORT_USED_BY,
555 self::PORT_NOT_USED,
556 self::PORT_NOT_USED_BY,
557 self::PORT_USED_BY_ANOTHER_DBMS,
558 self::PORT_CHANGED,
559
560 // Action Install service
561 self::INSTALL_SERVICE_TITLE,
562 self::SERVICE_ALREADY_INSTALLED,
563 self::SERVICE_INSTALLED,
564 self::SERVICE_INSTALL_ERROR,
565
566 // Action Remove service
567 self::REMOVE_SERVICE_TITLE,
568 self::SERVICE_NOT_EXIST,
569 self::SERVICE_REMOVED,
570 self::SERVICE_REMOVE_ERROR,
571
572 // Action Start service
573 self::START_SERVICE_TITLE,
574 self::START_SERVICE_ERROR,
575
576 // Action Stop service
577 self::STOP_SERVICE_TITLE,
578 self::STOP_SERVICE_ERROR,
579
580 // Action Restart service
581 self::RESTART_SERVICE_TITLE,
582 self::RESTART_SERVICE_ERROR,
583
584 // Action Delete alias
585 self::DELETE_ALIAS_TITLE,
586 self::DELETE_ALIAS,
587 self::ALIAS_REMOVED,
588 self::ALIAS_REMOVE_ERROR,
589
590 // Action Add/Edit alias
591 self::ADD_ALIAS_TITLE,
592 self::ALIAS_NAME_LABEL,
593 self::ALIAS_DEST_LABEL,
594 self::ALIAS_EXP_LABEL,
595 self::ALIAS_DEST_PATH,
596 self::ALIAS_NOT_VALID_ALPHA,
597 self::ALIAS_ALREADY_EXISTS,
598 self::ALIAS_CREATED,
599 self::ALIAS_CREATED_ERROR,
600 self::EDIT_ALIAS_TITLE,
601
602 // Action Delete vhost
603 self::DELETE_VHOST_TITLE,
604 self::DELETE_VHOST,
605 self::VHOST_REMOVED,
606 self::VHOST_REMOVE_ERROR,
607
608 // Action Add/Edit vhost
609 self::ADD_VHOST_TITLE,
610 self::VHOST_SERVER_NAME_LABEL,
611 self::VHOST_DOCUMENT_ROOT_LABEL,
612 self::VHOST_EXP_LABEL,
613 self::VHOST_DOC_ROOT_PATH,
614 self::VHOST_NOT_VALID_DOMAIN,
615 self::VHOST_ALREADY_EXISTS,
616 self::VHOST_CREATED,
617 self::VHOST_CREATED_ERROR,
618 self::EDIT_VHOST_TITLE,
619
620 // Action Change port
621 self::CHANGE_PORT_TITLE,
622 self::CHANGE_PORT_CURRENT_LABEL,
623 self::CHANGE_PORT_NEW_LABEL,
624 self::CHANGE_PORT_SAME_ERROR,
625
626 // Action Change database root password
627 self::CHANGE_DB_ROOT_PWD_TITLE,
628 self::CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL,
629 self::CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL,
630 self::CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL,
631 self::CHANGE_DB_ROOT_PWD_NOTSAME_ERROR,
632 self::CHANGE_DB_ROOT_PWD_INCORRECT_ERROR,
633 self::CHANGE_DB_ROOT_PWD_TEXT,
634
635 // Action Startup
636 self::STARTUP_STARTING_TEXT,
637 self::STARTUP_ROTATION_LOGS_TEXT,
638 self::STARTUP_KILL_OLD_PROCS_TEXT,
639 self::STARTUP_REFRESH_HOSTNAME_TEXT,
640 self::STARTUP_CHECK_BROWSER_TEXT,
641 self::STARTUP_SYS_INFOS,
642 self::STARTUP_CLEAN_TMP_TEXT,
643 self::STARTUP_CLEAN_OLD_BEHAVIORS_TEXT,
644 self::STARTUP_REFRESH_ALIAS_TEXT,
645 self::STARTUP_REFRESH_VHOSTS_TEXT,
646 self::STARTUP_CHECK_PATH_TEXT,
647 self::STARTUP_SCAN_FOLDERS_TEXT,
648 self::STARTUP_CHANGE_PATH_TEXT,
649 self::STARTUP_REGISTRY_TEXT,
650 self::STARTUP_REGISTRY_ERROR_TEXT,
651 self::STARTUP_UPDATE_CONFIG_TEXT,
652 self::STARTUP_CHECK_SERVICE_TEXT,
653 self::STARTUP_VERIFY_SERVICE_TEXT,
654 self::STARTUP_INSTALL_SERVICE_TEXT,
655 self::STARTUP_START_SERVICE_TEXT,
656 self::STARTUP_PREPARE_RESTART_TEXT,
657 self::STARTUP_ERROR_TITLE,
658 self::STARTUP_SERVICE_ERROR,
659 self::STARTUP_SERVICE_CREATE_ERROR,
660 self::STARTUP_SERVICE_START_ERROR,
661 self::STARTUP_SERVICE_SYNTAX_ERROR,
662 self::STARTUP_SERVICE_PORT_ERROR,
663 self::STARTUP_REFRESH_GIT_REPOS_TEXT,
664 self::STARTUP_START_SERVICE_TEXT,
665
666 // Action Quit
667 self::EXIT_LEAVING_TEXT,
668 self::EXIT_REMOVE_SERVICE_TEXT,
669 self::EXIT_STOP_OTHER_PROCESS_TEXT,
670
671 // Action Change browser
672 self::CHANGE_BROWSER_TITLE,
673 self::CHANGE_BROWSER_EXP_LABEL,
674 self::CHANGE_BROWSER_OTHER_LABEL,
675 self::CHANGE_BROWSER_OK,
676
677 // Action About
678 self::ABOUT_TITLE,
679 self::ABOUT_TEXT,
680
681 // Action Debug Apache
682 self::DEBUG_APACHE_VERSION_NUMBER,
683 self::DEBUG_APACHE_COMPILE_SETTINGS,
684 self::DEBUG_APACHE_COMPILED_MODULES,
685 self::DEBUG_APACHE_CONFIG_DIRECTIVES,
686 self::DEBUG_APACHE_VHOSTS_SETTINGS,
687 self::DEBUG_APACHE_LOADED_MODULES,
688 self::DEBUG_APACHE_SYNTAX_CHECK,
689
690 // Action Debug MySQL
691 self::DEBUG_MYSQL_VERSION,
692 self::DEBUG_MYSQL_VARIABLES,
693 self::DEBUG_MYSQL_SYNTAX_CHECK,
694
695 // Action Debug MariaDB
696 self::DEBUG_MARIADB_VERSION,
697 self::DEBUG_MARIADB_VARIABLES,
698 self::DEBUG_MARIADB_SYNTAX_CHECK,
699
700 // Action Debug PostgreSQL
701 self::DEBUG_POSTGRESQL_VERSION,
702
703 // Action others
704 self::REGISTRY_SET_ERROR_TEXT,
705
706 // Action check version
707 self::CHECK_VERSION_TITLE,
708 self::CHECK_VERSION_AVAILABLE_TEXT,
709 self::CHECK_VERSION_CHANGELOG_TEXT,
710 self::CHECK_VERSION_LATEST_TEXT,
711
712 // Action gen SSL certificate
713 self::GENSSL_TITLE,
714 self::GENSSL_PATH,
715 self::GENSSL_CREATED,
716 self::GENSSL_CREATED_ERROR,
717
718 // Action del SSL certificate
719 self::DELSSL_TITLE,
720 self::DELSSL_DELETED,
721 self::DELSSL_DELETED_ERROR,
722
723 // Action restart
724 self::RESTART_TITLE,
725 self::RESTART_TEXT,
726
727 // Action enable
728 self::ENABLE_TITLE,
729 self::ENABLE_BUNDLE_NOT_EXIST,
730
731 // Windows forms
732 self::BUTTON_OK,
733 self::BUTTON_DELETE,
734 self::BUTTON_SAVE,
735 self::BUTTON_FINISH,
736 self::BUTTON_CANCEL,
737 self::BUTTON_NEXT,
738 self::BUTTON_BACK,
739 self::BUTTON_BROWSE,
740 self::LOADING,
741
742 // Homepage
743 self::HOMEPAGE_OFFICIAL_WEBSITE,
744 self::HOMEPAGE_SERVICE_STARTED,
745 self::HOMEPAGE_SERVICE_STOPPED,
746 self::HOMEPAGE_ABOUT_HTML,
747 self::HOMEPAGE_LICENSE_TEXT,
748 self::HOMEPAGE_QUESTIONS_TITLE,
749 self::HOMEPAGE_QUESTIONS_TEXT,
750 self::HOMEPAGE_POST_ISSUE,
751 self::HOMEPAGE_PHPINFO_TEXT,
752 self::HOMEPAGE_APC_TEXT,
753 self::HOMEPAGE_MAILPIT_TEXT,
754 self::HOMEPAGE_XLIGHT_TEXT,
755 self::HOMEPAGE_BACK_TEXT,
756 );
757 }
758}
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 DOCUMENTATION
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 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 DELSSL_DELETED_ERROR
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 ERROR_ADMIN_REQUIRED_TITLE
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 DELSSL_DELETED
const STARTUP_VERIFY_SERVICE_TEXT
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 ERROR_ADMIN_REQUIRED_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_GEN_ROOT_CA
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 DELSSL_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