check if there is a default translation file availabe and also the required js file for
appending the content of the plugin to the main webpage

@return void
963133
private function _checkfiles()
    {
        if (!file_exists($this->_plugin_base."js/".strtolower($this->_plugin_name).".js")) {
            $this->global_error->addError("file_exists(".$this->_plugin_base."js/".strtolower($this->_plugin_name).".js)", "JS-File for Plugin '".$this->_plugin_name."' is missing!");
        } else {
            if (!is_readable($this->_plugin_base."js/".strtolower($this->_plugin_name).".js")) {
                $this->global_error->addError("is_readable(".$this->_plugin_base."js/".strtolower($this->_plugin_name).".js)", "JS-File for Plugin '".$this->_plugin_name."' is not readable but present!");
            }
        }
        if (!file_exists($this->_plugin_base."lang/en.xml")) {
            $this->global_error->addError("file_exists(".$this->_plugin_base."lang/en.xml)", "At least an english translation must exist for the plugin!");
        } else {
            if (!is_readable($this->_plugin_base."lang/en.xml")) {
                $this->global_error->addError("is_readable(".$this->_plugin_base."js/".$this->_plugin_name.".js)", "The english translation can't be read but is present!");
            }
        }
    }
1027450
def install_translations(config):
    """"""

    if not config:
        return

    from . import _translation
    checks_translation = gettext.translation(domain=config["domain"],
                                             localedir=internal.check_dir / config["localedir"],
                                             fallback=True)
    _translation.add_fallback(checks_translation)
710083
protected function resolve()
	{
		$key = $this->templatesFile . '.' . $this->source;

		if (Lang::has($key)) {
			return Lang::get($key);
		}

		return $this->default();
	}
461304
protected function checkInstalled()
    {
        // Assert that fluent is configured
        $locales = Locale::getLocales();
        if (empty($locales)) {
            throw new Exception("Please configure Fluent locales (in the CMS) prior to migrating from translatable");
        }

        $defaultLocale = Locale::getDefault();
        if (empty($defaultLocale)) {
            throw new Exception(
                "Please configure a Fluent default locale (in the CMS) prior to migrating from translatable"
            );
        }
    }
1154558
function init()
    {
        // overiddable variables
        $this->file_new_name_body   = null;     // replace the name body
        $this->file_name_body_add   = null;     // append to the name body
        $this->file_name_body_pre   = null;     // prepend to the name body
        $this->file_new_name_ext    = null;     // replace the file extension
        $this->file_safe_name       = true;     // format safely the filename
        $this->file_force_extension = true;     // forces extension if there isn't one
        $this->file_overwrite       = false;    // allows overwritting if the file already exists
        $this->file_auto_rename     = true;     // auto-rename if the file already exists
        $this->dir_auto_create      = true;     // auto-creates directory if missing
        $this->dir_auto_chmod       = true;     // auto-chmod directory if not writeable
        $this->dir_chmod            = 0777;     // default chmod to use

        $this->no_script  = true;     // turns scripts into test files
        $this->mime_check = true;     // checks the mime type against the allowed list

        // these are the different MIME detection methods. if one of these method doesn't work on your
        // system, you can deactivate it here; just set it to false
        $this->mime_fileinfo     = true;     // MIME detection with Fileinfo PECL extension
        $this->mime_file         = true;     // MIME detection with UNIX file() command
        $this->mime_magic        = true;     // MIME detection with mime_magic (mime_content_type())
        $this->mime_getimagesize = true;     // MIME detection with getimagesize()

        // get the default max size from php.ini
        $this->file_max_size_raw = trim(ini_get('upload_max_filesize'));
        $this->file_max_size     = $this->getsize($this->file_max_size_raw);

        $this->image_resize  = false;    // resize the image
        $this->image_convert = '';       // convert. values :''; 'png'; 'jpeg'; 'gif'; 'bmp'

        $this->image_x                 = 150;
        $this->image_y                 = 150;
        $this->image_ratio             = false;    // keeps aspect ratio with x and y dimensions
        $this->image_ratio_crop        = false;    // keeps aspect ratio with x and y dimensions, filling the space
        $this->image_ratio_fill        = false;    // keeps aspect ratio with x and y dimensions, fitting the image in the space, and coloring the rest
        $this->image_ratio_pixels      = false;    // keeps aspect ratio, calculating x and y so that the image is approx the set number of pixels
        $this->image_ratio_no_zoom_in  = false;
        $this->image_ratio_no_zoom_out = false;
        $this->image_ratio_x           = false;    // calculate the $image_x if true
        $this->image_ratio_y           = false;    // calculate the $image_y if true
        $this->png_compression         = null;
        $this->jpeg_quality            = 85;
        $this->jpeg_size               = null;
        $this->image_interlace         = false;
        $this->preserve_transparency   = false;
        $this->image_is_transparent    = false;
        $this->image_transparent_color = null;
        $this->image_background_color  = null;
        $this->image_default_color     = '#ffffff';
        $this->image_is_palette        = false;

        $this->image_max_width  = null;
        $this->image_max_height = null;
        $this->image_max_pixels = null;
        $this->image_max_ratio  = null;
        $this->image_min_width  = null;
        $this->image_min_height = null;
        $this->image_min_pixels = null;
        $this->image_min_ratio  = null;

        $this->image_brightness        = null;
        $this->image_contrast          = null;
        $this->image_opacity           = null;
        $this->image_threshold         = null;
        $this->image_tint_color        = null;
        $this->image_overlay_color     = null;
        $this->image_overlay_opacity   = null;
        $this->image_overlay_percent   = null;
        $this->image_negative          = false;
        $this->image_greyscale         = false;
        $this->image_pixelate          = null;
        $this->image_unsharp           = false;
        $this->image_unsharp_amount    = 80;
        $this->image_unsharp_radius    = 0.5;
        $this->image_unsharp_threshold = 1;

        $this->image_text                    = null;
        $this->image_text_direction          = null;
        $this->image_text_color              = '#FFFFFF';
        $this->image_text_opacity            = 100;
        $this->image_text_percent            = 100;
        $this->image_text_background         = null;
        $this->image_text_background_opacity = 100;
        $this->image_text_background_percent = 100;
        $this->image_text_font               = 5;
        $this->image_text_x                  = null;
        $this->image_text_y                  = null;
        $this->image_text_position           = null;
        $this->image_text_padding            = 0;
        $this->image_text_padding_x          = null;
        $this->image_text_padding_y          = null;
        $this->image_text_alignment          = 'C';
        $this->image_text_line_spacing       = 0;

        $this->image_reflection_height  = null;
        $this->image_reflection_space   = 2;
        $this->image_reflection_color   = '#ffffff';
        $this->image_reflection_opacity = 60;

        $this->image_watermark             = null;
        $this->image_watermark_x           = null;
        $this->image_watermark_y           = null;
        $this->image_watermark_position    = null;
        $this->image_watermark_no_zoom_in  = true;
        $this->image_watermark_no_zoom_out = false;

        $this->image_flip        = null;
        $this->image_auto_rotate = true;
        $this->image_rotate      = null;
        $this->image_crop        = null;
        $this->image_precrop     = null;

        $this->image_bevel              = null;
        $this->image_bevel_color1       = '#FFFFFF';
        $this->image_bevel_color2       = '#000000';
        $this->image_border             = null;
        $this->image_border_color       = '#FFFFFF';
        $this->image_border_opacity     = 100;
        $this->image_border_transparent = null;
        $this->image_frame              = null;
        $this->image_frame_colors       = '#FFFFFF #999999 #666666 #000000';
        $this->image_frame_opacity      = 100;

        $this->forbidden = [];
        $this->allowed   = [
            'application/arj',
            'application/excel',
            'application/gnutar',
            'application/mspowerpoint',
            'application/msword',
            'application/octet-stream',
            'application/onenote',
            'application/pdf',
            'application/plain',
            'application/postscript',
            'application/powerpoint',
            'application/rar',
            'application/rtf',
            'application/vnd.ms-excel',
            'application/vnd.ms-excel.addin.macroEnabled.12',
            'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
            'application/vnd.ms-excel.sheet.macroEnabled.12',
            'application/vnd.ms-excel.template.macroEnabled.12',
            'application/vnd.ms-office',
            'application/vnd.ms-officetheme',
            'application/vnd.ms-powerpoint',
            'application/vnd.ms-powerpoint.addin.macroEnabled.12',
            'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
            'application/vnd.ms-powerpoint.slide.macroEnabled.12',
            'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
            'application/vnd.ms-powerpoint.template.macroEnabled.12',
            'application/vnd.ms-word',
            'application/vnd.ms-word.document.macroEnabled.12',
            'application/vnd.ms-word.template.macroEnabled.12',
            'application/vnd.oasis.opendocument.chart',
            'application/vnd.oasis.opendocument.database',
            'application/vnd.oasis.opendocument.formula',
            'application/vnd.oasis.opendocument.graphics',
            'application/vnd.oasis.opendocument.graphics-template',
            'application/vnd.oasis.opendocument.image',
            'application/vnd.oasis.opendocument.presentation',
            'application/vnd.oasis.opendocument.presentation-template',
            'application/vnd.oasis.opendocument.spreadsheet',
            'application/vnd.oasis.opendocument.spreadsheet-template',
            'application/vnd.oasis.opendocument.text',
            'application/vnd.oasis.opendocument.text-master',
            'application/vnd.oasis.opendocument.text-template',
            'application/vnd.oasis.opendocument.text-web',
            'application/vnd.openofficeorg.extension',
            'application/vnd.openxmlformats-officedocument.presentationml.presentation',
            'application/vnd.openxmlformats-officedocument.presentationml.slide',
            'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
            'application/vnd.openxmlformats-officedocument.presentationml.template',
            'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
            'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
            'application/vocaltec-media-file',
            'application/wordperfect',
            'application/x-bittorrent',
            'application/x-bzip',
            'application/x-bzip2',
            'application/x-compressed',
            'application/x-excel',
            'application/x-gzip',
            'application/x-latex',
            'application/x-midi',
            'application/xml',
            'application/x-msexcel',
            'application/x-rar',
            'application/x-rar-compressed',
            'application/x-rtf',
            'application/x-shockwave-flash',
            'application/x-sit',
            'application/x-stuffit',
            'application/x-troff-msvideo',
            'application/x-zip',
            'application/x-zip-compressed',
            'application/zip',
            'audio/*',
            'image/*',
            'multipart/x-gzip',
            'multipart/x-zip',
            'text/plain',
            'text/rtf',
            'text/richtext',
            'text/xml',
            'video/*',
            'text/csv',
        ];

        $this->mime_types = [
            'jpg'     => 'image/jpeg',
            'jpeg'    => 'image/jpeg',
            'jpe'     => 'image/jpeg',
            'gif'     => 'image/gif',
            'png'     => 'image/png',
            'bmp'     => 'image/bmp',
            'flv'     => 'video/x-flv',
            'js'      => 'application/x-javascript',
            'json'    => 'application/json',
            'tiff'    => 'image/tiff',
            'css'     => 'text/css',
            'xml'     => 'application/xml',
            'doc'     => 'application/msword',
            'docx'    => 'application/msword',
            'xls'     => 'application/vnd.ms-excel',
            'xlt'     => 'application/vnd.ms-excel',
            'xlm'     => 'application/vnd.ms-excel',
            'xld'     => 'application/vnd.ms-excel',
            'xla'     => 'application/vnd.ms-excel',
            'xlc'     => 'application/vnd.ms-excel',
            'xlw'     => 'application/vnd.ms-excel',
            'xll'     => 'application/vnd.ms-excel',
            'ppt'     => 'application/vnd.ms-powerpoint',
            'pps'     => 'application/vnd.ms-powerpoint',
            'rtf'     => 'application/rtf',
            'pdf'     => 'application/pdf',
            'html'    => 'text/html',
            'htm'     => 'text/html',
            'php'     => 'text/html',
            'txt'     => 'text/plain',
            'mpeg'    => 'video/mpeg',
            'mpg'     => 'video/mpeg',
            'mpe'     => 'video/mpeg',
            'mp3'     => 'audio/mpeg3',
            'wav'     => 'audio/wav',
            'aiff'    => 'audio/aiff',
            'aif'     => 'audio/aiff',
            'avi'     => 'video/msvideo',
            'wmv'     => 'video/x-ms-wmv',
            'mov'     => 'video/quicktime',
            'zip'     => 'application/zip',
            'tar'     => 'application/x-tar',
            'swf'     => 'application/x-shockwave-flash',
            'odt'     => 'application/vnd.oasis.opendocument.text',
            'ott'     => 'application/vnd.oasis.opendocument.text-template',
            'oth'     => 'application/vnd.oasis.opendocument.text-web',
            'odm'     => 'application/vnd.oasis.opendocument.text-master',
            'odg'     => 'application/vnd.oasis.opendocument.graphics',
            'otg'     => 'application/vnd.oasis.opendocument.graphics-template',
            'odp'     => 'application/vnd.oasis.opendocument.presentation',
            'otp'     => 'application/vnd.oasis.opendocument.presentation-template',
            'ods'     => 'application/vnd.oasis.opendocument.spreadsheet',
            'ots'     => 'application/vnd.oasis.opendocument.spreadsheet-template',
            'odc'     => 'application/vnd.oasis.opendocument.chart',
            'odf'     => 'application/vnd.oasis.opendocument.formula',
            'odb'     => 'application/vnd.oasis.opendocument.database',
            'odi'     => 'application/vnd.oasis.opendocument.image',
            'oxt'     => 'application/vnd.openofficeorg.extension',
            'docx'    => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
            'docm'    => 'application/vnd.ms-word.document.macroEnabled.12',
            'dotx'    => 'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
            'dotm'    => 'application/vnd.ms-word.template.macroEnabled.12',
            'xlsx'    => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
            'xlsm'    => 'application/vnd.ms-excel.sheet.macroEnabled.12',
            'xltx'    => 'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
            'xltm'    => 'application/vnd.ms-excel.template.macroEnabled.12',
            'xlsb'    => 'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
            'xlam'    => 'application/vnd.ms-excel.addin.macroEnabled.12',
            'pptx'    => 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
            'pptm'    => 'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
            'ppsx'    => 'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
            'ppsm'    => 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
            'potx'    => 'application/vnd.openxmlformats-officedocument.presentationml.template',
            'potm'    => 'application/vnd.ms-powerpoint.template.macroEnabled.12',
            'ppam'    => 'application/vnd.ms-powerpoint.addin.macroEnabled.12',
            'sldx'    => 'application/vnd.openxmlformats-officedocument.presentationml.slide',
            'sldm'    => 'application/vnd.ms-powerpoint.slide.macroEnabled.12',
            'thmx'    => 'application/vnd.ms-officetheme',
            'onetoc'  => 'application/onenote',
            'onetoc2' => 'application/onenote',
            'onetmp'  => 'application/onenote',
            'onepkg'  => 'application/onenote',
            'csv'     => 'text/csv',
        ];
    }
1144915
public function init()
    {
        parent::init();

        Requirements::clear();
        Requirements::css(KICKASSETS_DIR . '/javascript/build/main.css');
        Requirements::add_i18n_javascript(KICKASSETS_DIR . '/lang');
        $js = $this->config()->js_file;

        Requirements::javascript(KICKASSETS_DIR . "/javascript/build/$js");
        Requirements::clear_combined_files();
    }
227085
function() {
            cfg = this.config.get('pluginsConfig.localized-footer'), _this = this;

            try {
                fs.statSync(this.resolve(cfg.filename));
                hasFooterFile = true;
            } catch (e) {
                hasFooterFile = false;
                return;
            }

            deprecationWarning(this);

            this.readFileAsString(cfg.filename)
                .then(function(data) {
                    return _this.renderBlock('markdown', data);
                }, this.log.error)
                .then(function(html) {
                    footerString = html;
                }, this.log.error);
        }
1262709
private function _setContentFromFile() {
		
		// empty original template content
		$this->setContent('');
		
		// check for template file and load it
		if ($filename = $this->getTemplate()) {
			if (file_exists($filename)) {
				$content = trim(file_get_contents($this->_filename));
				$this->setContent($content);
			}
		}
	}
201680
private function _generateJSFile()
    {
        $this->_loadLanguageItems();

        $data = [];
        foreach ($this->_languageItems as $language_item) {
            $data[md5($language_item->message)] = $language_item->languageTranslate->translation;
        }

        $filename = $this->_basePath . '/' . $this->_languageId . '.js';

        file_put_contents($filename, str_replace('{language_items}', Json::encode($data), $this->_template));
    }
1097832
protected function initTranslations()
    {
        /** @var \yii\i18n\I18N $i18n */
        $i18n = Instance::ensure($this->i18n, \yii\i18n\I18N::class);
        $i18n->translations['recaptcha*'] = [
            'class' => PhpMessageSource::class,
            'basePath' => dirname(__FILE__) . DIRECTORY_SEPARATOR . 'messages',
            'sourceLanguage' => 'en',
            'fileMap' => [
                'recaptcha' => 'recaptcha.php',
            ],
        ];
    }
360011
private function ensureHrefDefaultsToNull()
    {
        if (!($this->database->tableExists('tl_metamodel_translatedurl'))) {
            return;
        }

        foreach ($this->database->listFields('tl_metamodel_translatedurl', true) as $field) {
            if ('href' == $field['name'] && $field['type'] != 'index') {
                // Already updated?
                if ('NOT NULL' === $field['null']) {
                    $this->database->execute(
                        'ALTER TABLE `tl_metamodel_translatedurl` CHANGE `href` `href` varchar(255) NULL;'
                    );
                    return;
                }
                // Found!
                break;
            }
        }
    }
1236885
private function _checkTemplateLanguage()
    {
        if (!defined("PSI_DEFAULT_TEMPLATE") || (($this->_template = strtolower(trim(PSI_DEFAULT_TEMPLATE))) == "") || !file_exists(PSI_APP_ROOT.'/templates/'.$this->_template.".css")) {
            $this->_template = 'phpsysinfo';
        }
        if (!defined("PSI_DEFAULT_BOOTSTRAP_TEMPLATE") || (($this->_bootstrap_template = strtolower(trim(PSI_DEFAULT_BOOTSTRAP_TEMPLATE))) == "") || !file_exists(PSI_APP_ROOT.'/templates/'.$this->_bootstrap_template."_bootstrap.css")) {
            $this->_bootstrap_template = 'phpsysinfo';
        }
        $this->_pick_template = !defined("PSI_SHOW_PICKLIST_TEMPLATE") || (PSI_SHOW_PICKLIST_TEMPLATE !== false);

        if (!defined("PSI_DEFAULT_LANG") || (($this->_language = strtolower(trim(PSI_DEFAULT_LANG))) == "") || !file_exists(PSI_APP_ROOT.'/language/'.$this->_language.".xml")) {
            $this->_language = 'en';
        }
        $this->_pick_language = !defined("PSI_SHOW_PICKLIST_LANG") || (PSI_SHOW_PICKLIST_LANG !== false);
    }
946902
protected function overrideLangJS(): void
    {
        // Bind the Laravel JS Localization command into the app IOC.
        $this->app->singleton('localization.js', function ($app) {
            $app = $this->app;
            $laravelMajorVersion = (int) $app::VERSION;

            $files = $app['files'];

            if ($laravelMajorVersion === 4) {
                $langs = $app['path.base'].'/app/lang';
            } elseif ($laravelMajorVersion === 5) {
                $langs = $app['path.base'].'/resources/lang';
            }
            $messages = $app['config']->get('localization-js.messages');
            $generator = new LangJsGenerator($files, $langs, $messages);

            return new LangJsCommand($generator);
        });

        // Bind the Laravel JS Localization command into Laravel Artisan.
        $this->commands('localization.js');
    }
922957
protected function load_translations() {

		$domain = 'wp-requirements';
		$locale = get_locale();
		$mofile = $domain . '-' . $locale . '.mo';

		// Try to load from the languages directory first.
		if ( ! load_textdomain( $domain, WP_LANG_DIR . '/' . $mofile ) ) {
			// Then try to load from our languages folder.
			load_textdomain( $domain, dirname( __FILE__ ) . '/../languages/' . $mofile );
		}

	}
652690
public function check()
    {
        $origStage = Versioned::get_reading_mode();
        Versioned::set_reading_mode(Versioned::LIVE);

        $files = $this->getFiles();
        if ($files) {
            $fileTypeValidateFunc = $this->fileTypeValidateFunc;
            if (method_exists($this, $fileTypeValidateFunc)) {
                $invalidFiles = [];
                $validFiles = [];

                foreach ($files as $file) {
                    if ($this->$fileTypeValidateFunc($file)) {
                        $validFiles[] = $file;
                    } else {
                        $invalidFiles[] = $file;
                    }
                }

                // If at least one file was valid, count as passed
                if ($this->checkType == self::CHECK_SINGLE && count($invalidFiles) < count($files)) {
                    $validFileList = PHP_EOL;
                    foreach ($validFiles as $vf) {
                        $validFileList .= $vf . PHP_EOL;
                    }
                    if ($fileTypeValidateFunc == 'noVidation') {
                        $checkReturn = [
                            EnvironmentCheck::OK,
                            sprintf('At least these file(s) accessible: %s', $validFileList)
                        ];
                    } else {
                        $checkReturn = [
                            EnvironmentCheck::OK,
                            sprintf(
                                'At least these file(s) passed file type validate function "%s": %s',
                                $fileTypeValidateFunc,
                                $validFileList
                            )
                        ];
                    }
                } else {
                    if (count($invalidFiles) == 0) {
                        $checkReturn = [EnvironmentCheck::OK, 'All files valideted'];
                    } else {
                        $invalidFileList = PHP_EOL;
                        foreach ($invalidFiles as $vf) {
                            $invalidFileList .= $vf . PHP_EOL;
                        }

                        if ($fileTypeValidateFunc == 'noVidation') {
                            $checkReturn = [
                                EnvironmentCheck::ERROR,
                                sprintf('File(s) not accessible: %s', $invalidFileList)
                            ];
                        } else {
                            $checkReturn = [
                                EnvironmentCheck::ERROR,
                                sprintf(
                                    'File(s) not passing the file type validate function "%s": %s',
                                    $fileTypeValidateFunc,
                                    $invalidFileList
                                )
                            ];
                        }
                    }
                }
            } else {
                $checkReturn =  array(
                    EnvironmentCheck::ERROR,
                    sprintf("Invalid file type validation method name passed: %s ", $fileTypeValidateFunc)
                );
            }
        } else {
            $checkReturn = array(
                EnvironmentCheck::ERROR,
                sprintf("No files accessible at path %s", $this->path)
            );
        }

        Versioned::set_reading_mode($origStage);

        return $checkReturn;
    }
249298
public function parseTranslationFile() {
        $base_path = $this->getMinkParameter('files_path');
        $base_path = $base_path."/";
        $file_path = $base_path.$this->multilingual_parameters['translations'];
        $yaml = file_get_contents($file_path);
        $yaml_parse_array_check = Yaml::parse($yaml);
        if(is_array($yaml_parse_array_check)) {
            $this->translations = $yaml_parse_array_check;
        }
    }
596874
private function scanAndSaveTranslations()
    {
        // Scan translations
        $this->info('Scanning codebase and storing all translations');

        $this->strReplaceInFile(config_path('admin-translations.php'),
            '// here you can add your own directories',
            '// here you can add your own directories
        // base_path(\'routes\'), // uncomment if you have translations in your routes i.e. you have localized URLs
        base_path(\'vendor/brackets/admin-auth/src\'),
        base_path(\'vendor/brackets/admin-auth/resources\'),');

        $this->call('admin-translations:scan-and-save', [
            'paths' => array_merge(config('admin-translations.scanned_directories'),
                ['vendor/brackets/admin-auth/src', 'vendor/brackets/admin-auth/resources']),
        ]);
    }