From 39ef61c4af2774eea163339ebaf96d117fc6ff7a Mon Sep 17 00:00:00 2001 From: MrBlasyMSK <85447029+MrBlasyMSK@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:45:18 +0100 Subject: [PATCH 1/2] Rename es_ES.yml to es_SPA.yml --- resources/{es_ES.yml => es_SPA.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename resources/{es_ES.yml => es_SPA.yml} (100%) diff --git a/resources/es_ES.yml b/resources/es_SPA.yml similarity index 100% rename from resources/es_ES.yml rename to resources/es_SPA.yml From c72225c1dc15066eb49fdaeef84ccf85d4dd46f4 Mon Sep 17 00:00:00 2001 From: MrBlasyMSK <85447029+MrBlasyMSK@users.noreply.github.com> Date: Wed, 16 Mar 2022 21:46:44 +0100 Subject: [PATCH 2/2] Update FactionMasterBank.php --- src/FactionMasterBank.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FactionMasterBank.php b/src/FactionMasterBank.php index 4bd9410..a70b187 100644 --- a/src/FactionMasterBank.php +++ b/src/FactionMasterBank.php @@ -171,8 +171,8 @@ private function initConfigLang(): void { $this->saveResource('en_EN.yml'); $this->saveResource('tr_TR.yml'); $this->saveResource('ja_JP.yml'); - $this->saveResource('es_ES.yml'); $this->saveResource('ru_RU.yml'); + $this->saveResource('es_SPA.yml'); $this->saveResource('config.yml'); $this->config = new Config($this->getDataFolder() . "config.yml"); ConfigUpdater::checkUpdate($this, $this->config, "file-version", 2); @@ -180,14 +180,14 @@ private function initConfigLang(): void { ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "en_EN.yml", Config::YAML), "file-version", 3); ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "tr_TR.yml", Config::YAML), "file-version", 2); ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "ja_JP.yml", Config::YAML), "file-version", 1); - ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "es_ES.yml", Config::YAML), "file-version", 2); ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "ru_RU.yml", Config::YAML), "file-version", 1); + ConfigUpdater::checkUpdate($this, new Config($this->getDataFolder() . "es_SPA.yml", Config::YAML), "file-version", 2); $this->langConfig = [ "FR" => new Config($this->getDataFolder() . "fr_FR.yml", Config::YAML), "EN" => new Config($this->getDataFolder() . "en_EN.yml", Config::YAML), "TR" => new Config($this->getDataFolder() . "tr_TR.yml", Config::YAML), "JP" => new Config($this->getDataFolder() . "ja_JP.yml", Config::YAML), - "SPA" => new Config($this->getDataFolder() . "es_ES.yml", Config::YAML), + "SPA" => new Config($this->getDataFolder() . "es_SPA.yml", Config::YAML), "RU" => new Config($this->getDataFolder() . "ru_RU.yml", Config::YAML) ]; }