diff --git a/manual/docs/en/plugins.txt b/manual/docs/en/plugins.txt index 2bfb01587..48550a767 100644 --- a/manual/docs/en/plugins.txt +++ b/manual/docs/en/plugins.txt @@ -47,11 +47,10 @@ In the following example we add some data with finnish and english translations: $item = new NewsItem(); -$item->title = 'Some title'; $item->content = 'This is some content. This field is not being translated.'; $item->Translation['FI']->title = 'Joku otsikko'; - +$item->Translation['EN']->title = 'Some title'; $item->save();