mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Finished migration to use gettext (this now closes #161)
This commit is contained in:
@@ -72,7 +72,7 @@ class RecipesController extends BaseController
|
||||
if ($recipeId == 'new')
|
||||
{
|
||||
$newRecipe = $this->Database->recipes()->createRow(array(
|
||||
'name' => $this->LocalizationService-Translator->__t('New recipe')
|
||||
'name' => $this->LocalizationService->__t('New recipe')
|
||||
));
|
||||
$newRecipe->save();
|
||||
|
||||
|
Reference in New Issue
Block a user