mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 16:44:55 +00:00
Finished migration to use gettext (this now closes #161)
This commit is contained in:
@@ -48,7 +48,7 @@ class RecipesService extends BaseService
|
||||
$shoppinglistRow = $this->Database->shopping_list()->createRow(array(
|
||||
'product_id' => $recipePosition->product_id,
|
||||
'amount' => $toOrderAmount,
|
||||
'note' => $this->LocalizationService-Translator->__t('Added for recipe %s', $recipe->name)
|
||||
'note' => $this->LocalizationService->__t('Added for recipe %s', $recipe->name)
|
||||
));
|
||||
$shoppinglistRow->save();
|
||||
}
|
||||
|
Reference in New Issue
Block a user