2024.8.23
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
11/**
12 * Class Lang
13 *
14 * This class contains constants used for localization and internationalization
15 * within the Bearsampp application. The constants are categorized into various
16 * sections such as General, Single, Menu, Bins, Apps, Tools, Errors, Actions,
17 * Windows forms, and Homepage. Each constant represents a key that can be used
18 * to retrieve localized strings from a language file or database.
19 */
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 PYTHON_CP = 'pythonCp';
62 const PWGEN = 'pwgen';
63 const QUIT = 'quit';
64 const READ_CHANGELOG = 'readChangelog';
65 const RELOAD = 'reload';
66 const REPOS = 'repos';
67 const RESTART = 'restart';
68 const SERVICE = 'service';
69 const SETTINGS = 'settings';
70 const SSL = 'ssl';
71 const STARTUP = 'startup';
72 const STATUS = 'status';
73 const STATUS_PAGE = 'statusPage';
74 const TARGET = 'target';
75 const TOOLS = 'tools';
76 const VERBOSE_DEBUG = 'verboseDebug';
77 const VERBOSE_REPORT = 'verboseReport';
78 const VERBOSE_SIMPLE = 'verboseSimple';
79 const VERBOSE_TRACE = 'verboseTrace';
80 const VERSION = 'version';
81 const VERSIONS = 'versions';
82 const VERSION_URL = 'https://github.com/Bearsampp/Bearsampp/releases/tag/';
83 const VIRTUAL_HOSTS = 'virtualHosts';
84 const WEBSITE = 'website';
85
86 // Menu
87 const MENU_ABOUT = 'menuAbout';
88 const MENU_ACCESS_LOGS = 'menuAccessLogs';
89 const MENU_ADD_ALIAS = 'menuAddAlias';
90 const MENU_ADD_VHOST = 'menuAddVhost';
91 const MENU_CHANGE_PORT = 'menuChangePort';
92 const MENU_CHANGE_ROOT_PWD = 'menuChangeRootPwd';
93 const MENU_CHECK_PORT = 'menuCheckPort';
94 const MENU_CHECK_UPDATE = 'menuCheckUpdate';
95 const MENU_CLEAR_FOLDERS = 'menuClearFolders';
96 const MENU_EDIT_ALIAS = 'menuEditAlias';
97 const MENU_EDIT_CONF = 'menuEditConf';
98 const MENU_EDIT_VHOST = 'menuEditVhost';
99 const MENU_ENABLE = 'menuEnable';
100 const MENU_ERROR_LOGS = 'menuErrorLogs';
101 const MENU_GEN_SSL_CERTIFICATE = 'menuGenSslCertificate';
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 FILEZILLA = 'filezilla';
128 const PHP = 'php';
129 const PEAR = 'pear';
130 const MEMCACHED = 'memcached';
131 const MAILHOG = 'mailhog';
132 const MAILPIT = 'mailpit';
133 const MARIADB = 'mariadb';
134 const MYSQL = 'mysql';
135 const NODEJS = 'nodejs';
136 const POSTGRESQL = 'postgresql';
137 const XLIGHT = 'xlight';
138
139 // Apps
140 const PHPMYADMIN = 'phpmyadmin';
141 const WEBGRIND = 'webgrind';
142 const ADMINER = 'adminer';
143 const PHPPGADMIN = 'phppgadmin';
144
145 // Tools
146 const COMPOSER = 'composer';
147 const CONSOLEZ = 'consolez';
148 const GHOSTSCRIPT = 'ghostscript';
149 const GIT = 'git';
150 const NGROK = 'ngrok';
151 const PERL = 'perl';
152 const PYTHON = 'python';
153 const RUBY = 'ruby';
154 const XDC = 'xdc';
155 const YARN = 'yarn';
156
157 // Errors
158 const ERROR_CONF_NOT_FOUND = 'errorConfNotFound';
159 const ERROR_EXE_NOT_FOUND = 'errorExeNotFound';
160 const ERROR_FILE_NOT_FOUND = 'errorFileNotFound';
161 const ERROR_INVALID_PARAMETER = 'errorInvalidParameter';
162
163 // Action Switch version
164 const SWITCH_VERSION_TITLE = 'switchVersionTitle';
165 const SWITCH_VERSION_RELOAD_CONFIG = 'switchVersionReloadConfig';
166 const SWITCH_VERSION_RELOAD_BINS = 'switchVersionReloadBins';
167 const SWITCH_VERSION_REGISTRY = 'switchVersionRegistry';
168 const SWITCH_VERSION_RESET_SERVICES = 'switchVersionResetServices';
169 const SWITCH_VERSION_SAME_ERROR = 'switchVersionSameError';
170 const SWITCH_VERSION_OK = 'switchVersionOk';
171 const SWITCH_VERSION_OK_RESTART = 'switchVersionOkRestart';
172 const APACHE_INCPT = 'apacheIncpt';
173 const PHP_INCPT = 'phpIncpt';
174 const BEARSAMPP_CONF_NOT_FOUND_ERROR = 'bearsamppConfNotFoundError';
175 const BEARSAMPP_CONF_MALFORMED_ERROR = 'bearsamppConfMalformedError';
176
177 // Action Switch PHP setting
178 const SWITCH_PHP_SETTING_TITLE = 'switchPhpSettingTitle';
179 const SWITCH_PHP_SETTING_NOT_FOUND = 'switchPhpSettingNotFound';
180
181 // Action Check port
182 const CHECK_PORT_TITLE = 'checkPortTitle';
183 const PORT_USED_BY = 'portUsedBy';
184 const PORT_NOT_USED = 'portNotUsed';
185 const PORT_NOT_USED_BY = 'portNotUsedBy';
186 const PORT_USED_BY_ANOTHER_DBMS = 'portUsedByAnotherDbms';
187 const PORT_CHANGED = 'portChanged';
188
189 // Action Install service
190 const INSTALL_SERVICE_TITLE = 'installServiceTitle';
191 const SERVICE_ALREADY_INSTALLED = 'serviceAlreadyInstalled';
192 const SERVICE_INSTALLED = 'serviceInstalled';
193 const SERVICE_INSTALL_ERROR = 'serviceInstallError';
194
195 // Action Remove service
196 const REMOVE_SERVICE_TITLE = 'removeServiceTitle';
197 const SERVICE_NOT_EXIST = 'serviceNotExist';
198 const SERVICE_REMOVED = 'serviceRemoved';
199 const SERVICE_REMOVE_ERROR = 'serviceRemoveError';
200
201 // Action Start service
202 const START_SERVICE_TITLE = 'startServiceTitle';
203 const START_SERVICE_ERROR = 'startServiceError';
204
205 // Action Stop service
206 const STOP_SERVICE_TITLE = 'stopServiceTitle';
207 const STOP_SERVICE_ERROR = 'stopServiceError';
208
209 // Action Restart service
210 const RESTART_SERVICE_TITLE = 'restartServiceTitle';
211 const RESTART_SERVICE_ERROR = 'restartServiceError';
212
213 // Action Delete alias
214 const DELETE_ALIAS_TITLE = 'deleteAliasTitle';
215 const DELETE_ALIAS = 'deleteAlias';
216 const ALIAS_REMOVED = 'aliasRemoved';
217 const ALIAS_REMOVE_ERROR = 'aliasRemoveError';
218
219 // Action Add/Edit alias
220 const ADD_ALIAS_TITLE = 'addAliasTitle';
221 const ALIAS_NAME_LABEL = 'aliasNameLabel';
222 const ALIAS_DEST_LABEL = 'aliasDestLabel';
223 const ALIAS_EXP_LABEL = 'aliasExpLabel';
224 const ALIAS_DEST_PATH = 'aliasDestPath';
225 const ALIAS_NOT_VALID_ALPHA = 'aliasNotValidAlpha';
226 const ALIAS_ALREADY_EXISTS = 'aliasAlreadyExists';
227 const ALIAS_CREATED = 'aliasCreated';
228 const ALIAS_CREATED_ERROR = 'aliasCreatedError';
229 const EDIT_ALIAS_TITLE = 'editAliasTitle';
230
231 // Action Delete vhost
232 const DELETE_VHOST_TITLE = 'deleteVhostTitle';
233 const DELETE_VHOST = 'deleteVhost';
234 const VHOST_REMOVED = 'vhostRemoved';
235 const VHOST_REMOVE_ERROR = 'vhostRemoveError';
236
237 // Action Add/Edit vhost
238 const ADD_VHOST_TITLE = 'addVhostTitle';
239 const VHOST_SERVER_NAME_LABEL = 'vhostServerNameLabel';
240 const VHOST_DOCUMENT_ROOT_LABEL = 'vhostDocumentRootLabel';
241 const VHOST_EXP_LABEL = 'vhostExpLabel';
242 const VHOST_DOC_ROOT_PATH = 'vhostDocRootPath';
243 const VHOST_NOT_VALID_DOMAIN = 'vhostNotValidDomain';
244 const VHOST_ALREADY_EXISTS = 'vhostAlreadyExists';
245 const VHOST_CREATED = 'vhostCreated';
246 const VHOST_CREATED_ERROR = 'vhostCreatedError';
247 const EDIT_VHOST_TITLE = 'editVhostTitle';
248
249 // Action Change port
250 const CHANGE_PORT_TITLE = 'changePortTitle';
251 const CHANGE_PORT_CURRENT_LABEL = 'changePortCurrentLabel';
252 const CHANGE_PORT_NEW_LABEL = 'changePortNewLabel';
253 const CHANGE_PORT_SAME_ERROR = 'changePortSameError';
254
255 // Action Change database root password
256 const CHANGE_DB_ROOT_PWD_TITLE = 'changeDbRootPwdTitle';
257 const CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL = 'changeDbRootPwdCurrentpwdLabel';
258 const CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL = 'changeDbRootPwdNewpwd1Label';
259 const CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL = 'changeDbRootPwdNewpwd2Label';
260 const CHANGE_DB_ROOT_PWD_NOTSAME_ERROR = 'changeDbRootPwdNotsameError';
261 const CHANGE_DB_ROOT_PWD_INCORRECT_ERROR = 'changeDbRootPwdIncorrectError';
262 const CHANGE_DB_ROOT_PWD_TEXT = 'changeDbRootPwdText';
263
264 // Action Startup
265 const STARTUP_STARTING_TEXT = 'startupStartingText';
266 const STARTUP_ROTATION_LOGS_TEXT = 'startupRotationLogsText';
267 const STARTUP_KILL_OLD_PROCS_TEXT = 'startupKillOldProcsText';
268 const STARTUP_REFRESH_HOSTNAME_TEXT = 'startupRefreshHostnameText';
269 const STARTUP_CHECK_BROWSER_TEXT = 'startupCheckBrowserText';
270 const STARTUP_SYS_INFOS = 'startupSysInfos';
271 const STARTUP_CLEAN_TMP_TEXT = 'startupCleanTmpText';
272 const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT = 'startupCleanOldBehaviorsText';
273 const STARTUP_REFRESH_ALIAS_TEXT = 'startupRefreshAliasText';
274 const STARTUP_REFRESH_VHOSTS_TEXT = 'startupRefreshVhostsText';
275 const STARTUP_CHECK_PATH_TEXT = 'startupCheckPathText';
276 const STARTUP_SCAN_FOLDERS_TEXT = 'startupScanFoldersText';
277 const STARTUP_CHANGE_PATH_TEXT = 'startupChangePathText';
278 const STARTUP_REGISTRY_TEXT = 'startupRegistryText';
279 const STARTUP_REGISTRY_ERROR_TEXT = 'startupRegistryErrorText';
280 const STARTUP_UPDATE_CONFIG_TEXT = 'startupUpdateConfigText';
281 const STARTUP_CHECK_SERVICE_TEXT = 'startupCheckServiceText';
282 const STARTUP_INSTALL_SERVICE_TEXT = 'startupInstallServiceText';
283 const STARTUP_START_SERVICE_TEXT = 'startupStartServiceText';
284 const STARTUP_PREPARE_RESTART_TEXT = 'startupPrepareRestartText';
285 const STARTUP_ERROR_TITLE = 'startupErrorTitle';
286 const STARTUP_SERVICE_ERROR = 'startupServiceError';
287 const STARTUP_SERVICE_CREATE_ERROR = 'startupServiceCreateError';
288 const STARTUP_SERVICE_START_ERROR = 'startupServiceStartError';
289 const STARTUP_SERVICE_SYNTAX_ERROR = 'startupServiceSyntaxError';
290 const STARTUP_SERVICE_PORT_ERROR = 'startupServicePortError';
291 const STARTUP_REFRESH_GIT_REPOS_TEXT = 'startupRefreshGitReposText';
292 const STARTUP_GEN_SSL_CRT_TEXT = 'startupGenSslCrtText';
293
294 // Action Quit
295 const EXIT_LEAVING_TEXT = 'exitLeavingText';
296 const EXIT_REMOVE_SERVICE_TEXT = 'exitRemoveServiceText';
297 const EXIT_STOP_OTHER_PROCESS_TEXT = 'exitStopOtherProcessText';
298
299 // Action Change browser
300 const CHANGE_BROWSER_TITLE = 'changeBrowserTitle';
301 const CHANGE_BROWSER_EXP_LABEL = 'changeBrowserExpLabel';
302 const CHANGE_BROWSER_OTHER_LABEL = 'changeBrowserOtherLabel';
303 const CHANGE_BROWSER_OK = 'changeBrowserOk';
304
305 // Action About
306 const ABOUT_TITLE = 'aboutTitle';
307 const ABOUT_TEXT = 'aboutText';
308
309 // Action Debug Apache
310 const DEBUG_APACHE_VERSION_NUMBER = 'debugApacheVersionNumber';
311 const DEBUG_APACHE_COMPILE_SETTINGS = 'debugApacheCompileSettings';
312 const DEBUG_APACHE_COMPILED_MODULES = 'debugApacheCompiledModules';
313 const DEBUG_APACHE_CONFIG_DIRECTIVES = 'debugApacheConfigDirectives';
314 const DEBUG_APACHE_VHOSTS_SETTINGS = 'debugApacheVhostsSettings';
315 const DEBUG_APACHE_LOADED_MODULES = 'debugApacheLoadedModules';
316 const DEBUG_APACHE_SYNTAX_CHECK = 'debugApacheSyntaxCheck';
317
318 // Action Debug MySQL
319 const DEBUG_MYSQL_VERSION = 'debugMysqlVersion';
320 const DEBUG_MYSQL_VARIABLES = 'debugMysqlVariables';
321 const DEBUG_MYSQL_SYNTAX_CHECK = 'debugMysqlSyntaxCheck';
322
323 // Action Debug MariaDB
324 const DEBUG_MARIADB_VERSION = 'debugMariadbVersion';
325 const DEBUG_MARIADB_VARIABLES = 'debugMariadbVariables';
326 const DEBUG_MARIADB_SYNTAX_CHECK = 'debugMariadbSyntaxCheck';
327
328 // Action Debug PostgreSQL
329 const DEBUG_POSTGRESQL_VERSION = 'debugPostgresqlVersion';
330
331 // Action others
332 const REGISTRY_SET_ERROR_TEXT = 'registrySetErrorText';
333
334 // Action check version
335 const CHECK_VERSION_TITLE = 'checkVersionTitle';
336 const CHECK_VERSION_AVAILABLE_TEXT = 'checkVersionAvailableText';
337 const CHECK_VERSION_CHANGELOG_TEXT = 'checkVersionChangelogText';
338 const CHECK_VERSION_LATEST_TEXT = 'checkVersionLatestText';
339
340 // Action gen SSL certificate
341 const GENSSL_TITLE = 'genSslTitle';
342 const GENSSL_PATH = 'genSslPath';
343 const GENSSL_CREATED = 'genSslCreated';
344 const GENSSL_CREATED_ERROR = 'genSslCreatedError';
345
346 // Action restart
347 const RESTART_TITLE = 'restartTitle';
348 const RESTART_TEXT = 'restartText';
349
350 // Action enable
351 const ENABLE_TITLE = 'enableTitle';
352 const ENABLE_BUNDLE_NOT_EXIST = 'enableBundleNotExist';
353
354 // Windows forms
355 const BUTTON_OK = 'buttonOk';
356 const BUTTON_DELETE = 'buttonDelete';
357 const BUTTON_SAVE = 'buttonSave';
358 const BUTTON_FINISH = 'buttonFinish';
359 const BUTTON_CANCEL = 'buttonCancel';
360 const BUTTON_NEXT = 'buttonNext';
361 const BUTTON_BACK = 'buttonBack';
362 const BUTTON_BROWSE = 'buttonBrowse';
363 const LOADING = 'loading';
364
365 // Homepage
366 const HOMEPAGE_OFFICIAL_WEBSITE = 'homepageOfficialWebsite';
367 const HOMEPAGE_SERVICE_STARTED = 'homepageServiceStarted';
368 const HOMEPAGE_SERVICE_STOPPED = 'homepageServiceStopped';
369 const HOMEPAGE_ABOUT_HTML = 'homepageAboutHtml';
370 const HOMEPAGE_LICENSE_TEXT = 'homepageLicenseText';
371 const HOMEPAGE_QUESTIONS_TITLE = 'homepageQuestionsTitle';
372 const HOMEPAGE_QUESTIONS_TEXT = 'homepageQuestionsText';
373 const HOMEPAGE_POST_ISSUE = 'homepagePostIssue';
374 const HOMEPAGE_PHPINFO_TEXT = 'homepagePhpinfoText';
375 const HOMEPAGE_APC_TEXT = 'homepageApcText';
376 const HOMEPAGE_MAILHOG_TEXT = 'homepageMailhogText';
377 const HOMEPAGE_MAILPIT_TEXT = 'homepageMailpitText';
378 const HOMEPAGE_XLIGHT_TEXT = 'homepageXlightText';
379 const HOMEPAGE_BACK_TEXT = 'homepageBackText';
380
381 /**
382 * Get all the keys defined in the Lang class.
383 *
384 * This method returns an array of all the constants defined in the Lang class.
385 * These constants are used as keys for localization and internationalization
386 * purposes within the Bearsampp application.
387 *
388 * @return array An array of all the localization keys.
389 */
390 public static function getKeys()
391 {
392 return array(
393 // General
394 self::ALL_RUNNING_HINT,
395 self::SOME_RUNNING_HINT,
396 self::NONE_RUNNING_HINT,
397
398 // Single
399 self::ABOUT,
400 self::ADMINISTRATION,
401 self::ALIASES,
402 self::APPS,
403 self::BINS,
404 self::CHANGELOG,
405 self::CONSOLE,
406 self::DEBUG,
407 self::DISABLED,
408 self::DONATE,
409 self::DONATE_VIA,
410 self::DOWNLOAD,
411 self::DOWNLOAD_MORE,
412 self::ENABLED,
413 self::ERROR,
414 self::EXECUTABLE,
415 self::EXTENSIONS,
416 self::GIT_CONSOLE,
417 self::GITHUB,
418 self::HELP,
419 self::HOSTSEDITOR,
420 self::LANG,
421 self::LICENSE,
422 self::LOGS,
423 self::LOGS_VERBOSE,
424 self::MODULES,
425 self::NAME,
426 self::PAYPAL,
427 self::PYTHON_CONSOLE,
428 self::PYTHON_CP,
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::FILEZILLA,
493 self::PHP,
494 self::PEAR,
495 self::MEMCACHED,
496 self::MAILHOG,
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::WEBGRIND,
507 self::ADMINER,
508 self::PHPPGADMIN,
509
510 // Tools
511 self::COMPOSER,
512 self::CONSOLEZ,
513 self::GIT,
514 self::NGROK,
515 self::PERL,
516 self::PYTHON,
517 self::RUBY,
518 self::XDC,
519 self::YARN,
520
521 // Errors
522 self::ERROR_CONF_NOT_FOUND,
523 self::ERROR_EXE_NOT_FOUND,
524 self::ERROR_FILE_NOT_FOUND,
525 self::ERROR_INVALID_PARAMETER,
526
527 // Action Switch version
528 self::SWITCH_VERSION_TITLE,
529 self::SWITCH_VERSION_RELOAD_CONFIG,
530 self::SWITCH_VERSION_RELOAD_BINS,
531 self::SWITCH_VERSION_REGISTRY,
532 self::SWITCH_VERSION_RESET_SERVICES,
533 self::SWITCH_VERSION_SAME_ERROR,
534 self::SWITCH_VERSION_OK,
535 self::SWITCH_VERSION_OK_RESTART,
536 self::APACHE_INCPT,
537 self::PHP_INCPT,
538 self::BEARSAMPP_CONF_NOT_FOUND_ERROR,
539 self::BEARSAMPP_CONF_MALFORMED_ERROR,
540
541 // Action Switch PHP setting
542 self::SWITCH_PHP_SETTING_TITLE,
543 self::SWITCH_PHP_SETTING_NOT_FOUND,
544
545 // Action Check port
546 self::CHECK_PORT_TITLE,
547 self::PORT_USED_BY,
548 self::PORT_NOT_USED,
549 self::PORT_NOT_USED_BY,
550 self::PORT_USED_BY_ANOTHER_DBMS,
551 self::PORT_CHANGED,
552
553 // Action Install service
554 self::INSTALL_SERVICE_TITLE,
555 self::SERVICE_ALREADY_INSTALLED,
556 self::SERVICE_INSTALLED,
557 self::SERVICE_INSTALL_ERROR,
558
559 // Action Remove service
560 self::REMOVE_SERVICE_TITLE,
561 self::SERVICE_NOT_EXIST,
562 self::SERVICE_REMOVED,
563 self::SERVICE_REMOVE_ERROR,
564
565 // Action Start service
566 self::START_SERVICE_TITLE,
567 self::START_SERVICE_ERROR,
568
569 // Action Stop service
570 self::STOP_SERVICE_TITLE,
571 self::STOP_SERVICE_ERROR,
572
573 // Action Restart service
574 self::RESTART_SERVICE_TITLE,
575 self::RESTART_SERVICE_ERROR,
576
577 // Action Delete alias
578 self::DELETE_ALIAS_TITLE,
579 self::DELETE_ALIAS,
580 self::ALIAS_REMOVED,
581 self::ALIAS_REMOVE_ERROR,
582
583 // Action Add/Edit alias
584 self::ADD_ALIAS_TITLE,
585 self::ALIAS_NAME_LABEL,
586 self::ALIAS_DEST_LABEL,
587 self::ALIAS_EXP_LABEL,
588 self::ALIAS_DEST_PATH,
589 self::ALIAS_NOT_VALID_ALPHA,
590 self::ALIAS_ALREADY_EXISTS,
591 self::ALIAS_CREATED,
592 self::ALIAS_CREATED_ERROR,
593 self::EDIT_ALIAS_TITLE,
594
595 // Action Delete vhost
596 self::DELETE_VHOST_TITLE,
597 self::DELETE_VHOST,
598 self::VHOST_REMOVED,
599 self::VHOST_REMOVE_ERROR,
600
601 // Action Add/Edit vhost
602 self::ADD_VHOST_TITLE,
603 self::VHOST_SERVER_NAME_LABEL,
604 self::VHOST_DOCUMENT_ROOT_LABEL,
605 self::VHOST_EXP_LABEL,
606 self::VHOST_DOC_ROOT_PATH,
607 self::VHOST_NOT_VALID_DOMAIN,
608 self::VHOST_ALREADY_EXISTS,
609 self::VHOST_CREATED,
610 self::VHOST_CREATED_ERROR,
611 self::EDIT_VHOST_TITLE,
612
613 // Action Change port
614 self::CHANGE_PORT_TITLE,
615 self::CHANGE_PORT_CURRENT_LABEL,
616 self::CHANGE_PORT_NEW_LABEL,
617 self::CHANGE_PORT_SAME_ERROR,
618
619 // Action Change database root password
620 self::CHANGE_DB_ROOT_PWD_TITLE,
621 self::CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL,
622 self::CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL,
623 self::CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL,
624 self::CHANGE_DB_ROOT_PWD_NOTSAME_ERROR,
625 self::CHANGE_DB_ROOT_PWD_INCORRECT_ERROR,
626 self::CHANGE_DB_ROOT_PWD_TEXT,
627
628 // Action Startup
629 self::STARTUP_STARTING_TEXT,
630 self::STARTUP_ROTATION_LOGS_TEXT,
631 self::STARTUP_KILL_OLD_PROCS_TEXT,
632 self::STARTUP_REFRESH_HOSTNAME_TEXT,
633 self::STARTUP_CHECK_BROWSER_TEXT,
634 self::STARTUP_SYS_INFOS,
635 self::STARTUP_CLEAN_TMP_TEXT,
636 self::STARTUP_CLEAN_OLD_BEHAVIORS_TEXT,
637 self::STARTUP_REFRESH_ALIAS_TEXT,
638 self::STARTUP_REFRESH_VHOSTS_TEXT,
639 self::STARTUP_CHECK_PATH_TEXT,
640 self::STARTUP_SCAN_FOLDERS_TEXT,
641 self::STARTUP_CHANGE_PATH_TEXT,
642 self::STARTUP_REGISTRY_TEXT,
643 self::STARTUP_REGISTRY_ERROR_TEXT,
644 self::STARTUP_UPDATE_CONFIG_TEXT,
645 self::STARTUP_CHECK_SERVICE_TEXT,
646 self::STARTUP_INSTALL_SERVICE_TEXT,
647 self::STARTUP_START_SERVICE_TEXT,
648 self::STARTUP_PREPARE_RESTART_TEXT,
649 self::STARTUP_ERROR_TITLE,
650 self::STARTUP_SERVICE_ERROR,
651 self::STARTUP_SERVICE_CREATE_ERROR,
652 self::STARTUP_SERVICE_START_ERROR,
653 self::STARTUP_SERVICE_SYNTAX_ERROR,
654 self::STARTUP_SERVICE_PORT_ERROR,
655 self::STARTUP_REFRESH_GIT_REPOS_TEXT,
656 self::STARTUP_START_SERVICE_TEXT,
657
658 // Action Quit
659 self::EXIT_LEAVING_TEXT,
660 self::EXIT_REMOVE_SERVICE_TEXT,
661 self::EXIT_STOP_OTHER_PROCESS_TEXT,
662
663 // Action Change browser
664 self::CHANGE_BROWSER_TITLE,
665 self::CHANGE_BROWSER_EXP_LABEL,
666 self::CHANGE_BROWSER_OTHER_LABEL,
667 self::CHANGE_BROWSER_OK,
668
669 // Action About
670 self::ABOUT_TITLE,
671 self::ABOUT_TEXT,
672
673 // Action Debug Apache
674 self::DEBUG_APACHE_VERSION_NUMBER,
675 self::DEBUG_APACHE_COMPILE_SETTINGS,
676 self::DEBUG_APACHE_COMPILED_MODULES,
677 self::DEBUG_APACHE_CONFIG_DIRECTIVES,
678 self::DEBUG_APACHE_VHOSTS_SETTINGS,
679 self::DEBUG_APACHE_LOADED_MODULES,
680 self::DEBUG_APACHE_SYNTAX_CHECK,
681
682 // Action Debug MySQL
683 self::DEBUG_MYSQL_VERSION,
684 self::DEBUG_MYSQL_VARIABLES,
685 self::DEBUG_MYSQL_SYNTAX_CHECK,
686
687 // Action Debug MariaDB
688 self::DEBUG_MARIADB_VERSION,
689 self::DEBUG_MARIADB_VARIABLES,
690 self::DEBUG_MARIADB_SYNTAX_CHECK,
691
692 // Action Debug PostgreSQL
693 self::DEBUG_POSTGRESQL_VERSION,
694
695 // Action others
696 self::REGISTRY_SET_ERROR_TEXT,
697
698 // Action check version
699 self::CHECK_VERSION_TITLE,
700 self::CHECK_VERSION_AVAILABLE_TEXT,
701 self::CHECK_VERSION_CHANGELOG_TEXT,
702 self::CHECK_VERSION_LATEST_TEXT,
703
704 // Action gen SSL certificate
705 self::GENSSL_TITLE,
706 self::GENSSL_PATH,
707 self::GENSSL_CREATED,
708 self::GENSSL_CREATED_ERROR,
709
710 // Action restart
711 self::RESTART_TITLE,
712 self::RESTART_TEXT,
713
714 // Action enable
715 self::ENABLE_TITLE,
716 self::ENABLE_BUNDLE_NOT_EXIST,
717
718 // Windows forms
719 self::BUTTON_OK,
720 self::BUTTON_DELETE,
721 self::BUTTON_SAVE,
722 self::BUTTON_FINISH,
723 self::BUTTON_CANCEL,
724 self::BUTTON_NEXT,
725 self::BUTTON_BACK,
726 self::BUTTON_BROWSE,
727 self::LOADING,
728
729 // Homepage
730 self::HOMEPAGE_OFFICIAL_WEBSITE,
731 self::HOMEPAGE_SERVICE_STARTED,
732 self::HOMEPAGE_SERVICE_STOPPED,
733 self::HOMEPAGE_ABOUT_HTML,
734 self::HOMEPAGE_LICENSE_TEXT,
735 self::HOMEPAGE_QUESTIONS_TITLE,
736 self::HOMEPAGE_QUESTIONS_TEXT,
737 self::HOMEPAGE_POST_ISSUE,
738 self::HOMEPAGE_PHPINFO_TEXT,
739 self::HOMEPAGE_APC_TEXT,
740 self::HOMEPAGE_MAILHOG_TEXT,
741 self::HOMEPAGE_MAILPIT_TEXT,
742 self::HOMEPAGE_XLIGHT_TEXT,
743 self::HOMEPAGE_BACK_TEXT,
744 );
745 }
746}
const CHANGE_DB_ROOT_PWD_NEWPWD1_LABEL
const ALIAS_DEST_PATH
const PYTHON
const VHOST_EXP_LABEL
const RUBY
const ALIAS_DEST_LABEL
const MENU_PUT_OFFLINE
const HOMEPAGE_SERVICE_STOPPED
const STARTUP_INSTALL_SERVICE_TEXT
const ADD_ALIAS_TITLE
const MENU_EDIT_CONF
const ALIAS_CREATED
const CHECK_VERSION_LATEST_TEXT
const DEBUG_MYSQL_VERSION
const STARTUP_CLEAN_OLD_BEHAVIORS_TEXT
const HOMEPAGE_QUESTIONS_TITLE
const STARTUP_CHECK_SERVICE_TEXT
const MENU_SCAN_REPOS_STARTUP
const MENU_TRANSFER_LOGS
const DISCORD
const VHOST_DOCUMENT_ROOT_LABEL
const GITGUI
const DOWNLOAD
const VHOST_REMOVE_ERROR
const MENU_LAUNCH_STARTUP
const VHOST_NOT_VALID_DOMAIN
const HOSTSEDITOR
const SERVICE_ALREADY_INSTALLED
const PWGEN
const CHANGE_DB_ROOT_PWD_NOTSAME_ERROR
const ENABLE_TITLE
const STARTUP_SERVICE_CREATE_ERROR
const CONSOLEZ
const PHP_INCPT
const START_SERVICE_TITLE
const MENU_EDIT_ALIAS
const MENU_ERROR_LOGS
const PORT_NOT_USED_BY
const DELETE_VHOST
const HOMEPAGE_SERVICE_STARTED
static getKeys()
const CHANGE_BROWSER_OK
const DELETE_VHOST_TITLE
const VHOST_CREATED_ERROR
const CHANGELOG
const START_SERVICE_ERROR
const MYSQL
const CHANGE_BROWSER_TITLE
const SERVICE_NOT_EXIST
const STARTUP_REGISTRY_ERROR_TEXT
const STARTUP_SERVICE_ERROR
const BUTTON_CANCEL
const EXIT_REMOVE_SERVICE_TEXT
const VHOST_DOC_ROOT_PATH
const CHECK_VERSION_AVAILABLE_TEXT
const SERVICE_REMOVE_ERROR
const MENU_LOGS
const ERROR_FILE_NOT_FOUND
const GENSSL_CREATED
const MENU_STATS_LOGS
const PORT_USED_BY_ANOTHER_DBMS
const DEBUG_APACHE_CONFIG_DIRECTIVES
const MENU_ACCESS_LOGS
const VHOST_REMOVED
const YARN
const ALIAS_NOT_VALID_ALPHA
const NGROK
const PHPPGADMIN
const STOP_SERVICE_ERROR
const LICENSE
const HELP
const HOMEPAGE_ABOUT_HTML
const MENU_LOCALHOST
const SERVICE_INSTALL_ERROR
const ALIAS_NAME_LABEL
const STARTUP_CLEAN_TMP_TEXT
const XLIGHT
const VERSIONS
const DEBUG_MARIADB_SYNTAX_CHECK
const COMPOSER
const MENU_START_SERVICES
const HOMEPAGE_QUESTIONS_TEXT
const SOME_RUNNING_HINT
const CHANGE_DB_ROOT_PWD_INCORRECT_ERROR
const DEBUG_MYSQL_VARIABLES
const MEMCACHED
const MENU_REBUILD_INI
const MENU_INSTALL_SERVICE
const STARTUP_GEN_SSL_CRT_TEXT
const VERSION_URL
const CHANGE_PORT_TITLE
const NODEJS
const STARTUP_PREPARE_RESTART_TEXT
const MARIADB
const APPS
const STARTUP_CHECK_BROWSER_TEXT
const TOOLS
const BUTTON_SAVE
const STARTUP_SERVICE_SYNTAX_ERROR
const ENABLED
const DEBUG_APACHE_COMPILE_SETTINGS
const ERROR
const HOMEPAGE_XLIGHT_TEXT
const DEBUG_APACHE_COMPILED_MODULES
const ALIASES
const ADMINER
const BUTTON_OK
const REPOS
const BUTTON_NEXT
const VIRTUAL_HOSTS
const STARTUP_CHECK_PATH_TEXT
const CHANGE_PORT_NEW_LABEL
const BUTTON_FINISH
const ALIAS_EXP_LABEL
const DEBUG_MARIADB_VERSION
const CHECK_VERSION_CHANGELOG_TEXT
const ADD_VHOST_TITLE
const VERSION
const LOCALE
const ALIAS_REMOVE_ERROR
const VERBOSE_DEBUG
const MENU_ADD_ALIAS
const DEBUG_APACHE_VHOSTS_SETTINGS
const CHANGE_PORT_CURRENT_LABEL
const INSTALL_SERVICE_TITLE
const RESTART_TITLE
const PAYPAL
const PEAR
const VERBOSE_REPORT
const EDIT_VHOST_TITLE
const DEBUG_APACHE_SYNTAX_CHECK
const GENSSL_PATH
const STARTUP_SERVICE_PORT_ERROR
const STATUS_PAGE
const EDIT_ALIAS_TITLE
const MENU_EDIT_VHOST
const RESTART_SERVICE_TITLE
const ERROR_INVALID_PARAMETER
const PYTHON_CONSOLE
const MENU_ADD_VHOST
const BEARSAMPP_CONF_NOT_FOUND_ERROR
const MENU_CHANGE_ROOT_PWD
const CHECK_PORT_TITLE
const RELOAD
const MENU_RESTART_SERVICES
const DEBUG_MYSQL_SYNTAX_CHECK
const CHANGE_BROWSER_EXP_LABEL
const STARTUP_CHANGE_PATH_TEXT
const WEBGRIND
const MENU_UPDATE_ENV_PATH
const SWITCH_VERSION_OK
const FACEBOOK
const GENSSL_CREATED_ERROR
const STARTUP_SYS_INFOS
const ALIAS_REMOVED
const DEBUG
const STARTUP_START_SERVICE_TEXT
const PYTHON_CP
const REGISTRY_SET_ERROR_TEXT
const EXECUTABLE
const HOMEPAGE_LICENSE_TEXT
const RESTART_SERVICE_ERROR
const MAILHOG
const ALIAS_ALREADY_EXISTS
const STARTUP
const MENU_ENABLE
const MENU_WWW_DIRECTORY
const VERBOSE_SIMPLE
const ALL_RUNNING_HINT
const SWITCH_VERSION_REGISTRY
const WEBSITE
const STARTUP_REFRESH_HOSTNAME_TEXT
const READ_CHANGELOG
const HOMEPAGE_MAILPIT_TEXT
const DEBUG_APACHE_VERSION_NUMBER
const GIT
const SERVICE_REMOVED
const MENU_STOP_SERVICE
const SWITCH_VERSION_SAME_ERROR
const DEBUG_POSTGRESQL_VERSION
const DOWNLOAD_MORE
const STATUS
const STARTUP_KILL_OLD_PROCS_TEXT
const VHOST_SERVER_NAME_LABEL
const LOGS_VERBOSE
const ABOUT
const DONATE_VIA
const RESTART
const MODULES
const ALIAS_CREATED_ERROR
const APACHE_INCPT
const DISABLED
const MENU_CLEAR_FOLDERS
const SWITCH_VERSION_RELOAD_CONFIG
const GITHUB
const REMOVE_SERVICE_TITLE
const LOGS
const CHANGE_DB_ROOT_PWD_TEXT
const RESTART_TEXT
const BUTTON_BACK
const DEBUG_APACHE_LOADED_MODULES
const STARTUP_UPDATE_CONFIG_TEXT
const EXTENSIONS
const HOMEPAGE_APC_TEXT
const NONE_RUNNING_HINT
const NAME
const LOADING
const STARTUP_REFRESH_GIT_REPOS_TEXT
const STARTUP_REFRESH_VHOSTS_TEXT
const STARTUP_REFRESH_ALIAS_TEXT
const QUIT
const ENABLE_BUNDLE_NOT_EXIST
const DELETE_ALIAS
const CHANGE_DB_ROOT_PWD_NEWPWD2_LABEL
const ERROR_CONF_NOT_FOUND
const DONATE
const EXIT_LEAVING_TEXT
const ABOUT_TEXT
const CHANGE_DB_ROOT_PWD_TITLE
const VHOST_CREATED
const GIT_CONSOLE
const SWITCH_VERSION_TITLE
const STARTUP_REGISTRY_TEXT
const SERVICE_INSTALLED
const PHPMYADMIN
const ADMINISTRATION
const HOMEPAGE_BACK_TEXT
const ERROR_EXE_NOT_FOUND
const PHP
const HOMEPAGE_MAILHOG_TEXT
const GENSSL_TITLE
const SWITCH_PHP_SETTING_TITLE
const STARTUP_ROTATION_LOGS_TEXT
const GHOSTSCRIPT
const SSL
const XDC
const PERL
const HOMEPAGE_POST_ISSUE
const MENU_REMOVE_SERVICE
const MENU_RESTART_SERVICE
const MENU_SESSION_LOGS
const APACHE
const MENU_REWRITE_LOGS
const POSTGRESQL
const SWITCH_VERSION_RESET_SERVICES
const TARGET
const VHOST_ALREADY_EXISTS
const CONSOLE
const DEBUG_MARIADB_VARIABLES
const CHANGE_DB_ROOT_PWD_CURRENTPWD_LABEL
const SWITCH_PHP_SETTING_NOT_FOUND
const VERBOSE_TRACE
const MENU_PUT_ONLINE
const STARTUP_SCAN_FOLDERS_TEXT
const LANG
const MENU_GEN_SSL_CERTIFICATE
const BUTTON_BROWSE
const MENU_STOP_SERVICES
const FILEZILLA
const MENU_REFRESH_REPOS
const PORT_USED_BY
const MENU_START_SERVICE
const EXIT_STOP_OTHER_PROCESS_TEXT
const BINS
const STARTUP_SERVICE_START_ERROR
const DELETE_ALIAS_TITLE
const SWITCH_VERSION_RELOAD_BINS
const MENU_CHECK_PORT
const PORT_CHANGED
const MENU_CHECK_UPDATE
const ABOUT_TITLE
const MENU_ABOUT
const HOMEPAGE_OFFICIAL_WEBSITE
const CHANGE_PORT_SAME_ERROR
const SERVICE
const STARTUP_ERROR_TITLE
const CHECK_VERSION_TITLE
const BUTTON_DELETE
const SETTINGS
const MAILPIT
const PORT_NOT_USED
const BEARSAMPP_CONF_MALFORMED_ERROR
const SWITCH_VERSION_OK_RESTART
const STOP_SERVICE_TITLE
const HOMEPAGE_PHPINFO_TEXT
const STARTUP_STARTING_TEXT
const MENU_CHANGE_PORT
const CHANGE_BROWSER_OTHER_LABEL