correct indentation and variable out of scope

This commit is contained in:
zebardy 2019-11-21 15:51:18 +00:00
parent 1b458dcbd0
commit aabc719f5b

View File

@ -114,7 +114,7 @@ class LocalizationService
$this->PoUserStrings = apcu_fetch("grocy_LocalizationService_".$culture."_PoUserStrings"); $this->PoUserStrings = apcu_fetch("grocy_LocalizationService_".$culture."_PoUserStrings");
$this->Translator = new Translator(); $this->Translator = new Translator();
$this->Translator->loadTranslations($Po); $this->Translator->loadTranslations($this->Po);
} }
public function GetPoAsJsonString() public function GetPoAsJsonString()