Finished migration to use gettext (this now closes #161)

This commit is contained in:
Bernd Bestel
2019-05-02 20:20:18 +02:00
parent 5d3f248d94
commit 4912dd56d1
75 changed files with 2275 additions and 1581 deletions

View File

@@ -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();
}