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

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