mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 10:44:37 +00:00
Browser-cache localization strings (+ new API endpoint to get them)
This commit is contained in:
@@ -129,7 +129,6 @@ class BaseController
|
||||
$this->View->set('__n', function ($number, $singularForm, $pluralForm) use ($localizationService) {
|
||||
return $localizationService->__n($number, $singularForm, $pluralForm);
|
||||
});
|
||||
$this->View->set('GettextPo', $localizationService->GetPoAsJsonString());
|
||||
|
||||
// TODO: Better handle this generically based on the current language (header in .po file?)
|
||||
$dir = 'ltr';
|
||||
|
Reference in New Issue
Block a user