correct scope for Pot variable

This commit is contained in:
zebardy 2019-11-21 18:56:40 +00:00
parent 4f37e4a390
commit 86c577c7c0

View File

@ -55,6 +55,8 @@ class LocalizationService
))
{
$Pot = null;
if (GROCY_MODE === 'dev')
{
$PotMain = Translations::fromPoFile(__DIR__ . '/../localization/strings.pot');