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