mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
correct scope for Pot variable
This commit is contained in:
parent
4f37e4a390
commit
86c577c7c0
|
|
@ -55,6 +55,8 @@ class LocalizationService
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$Pot = null;
|
||||||
|
|
||||||
if (GROCY_MODE === 'dev')
|
if (GROCY_MODE === 'dev')
|
||||||
{
|
{
|
||||||
$PotMain = Translations::fromPoFile(__DIR__ . '/../localization/strings.pot');
|
$PotMain = Translations::fromPoFile(__DIR__ . '/../localization/strings.pot');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user