mirror of
https://github.com/grocy/grocy.git
synced 2025-10-14 09:11:11 +00:00
More or less finalize recipes feature
This commit is contained in:
@@ -2,14 +2,12 @@
|
||||
|
||||
namespace Grocy\Services;
|
||||
|
||||
class LocalizationService extends BaseService
|
||||
class LocalizationService
|
||||
{
|
||||
const DEFAULT_CULTURE = 'en';
|
||||
|
||||
public function __construct(string $culture)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->Culture = $culture;
|
||||
|
||||
$this->StringsDefaultCulture = $this->LoadLocalizationFile(self::DEFAULT_CULTURE);
|
||||
|
Reference in New Issue
Block a user