From 687187d21a540dd90b931c2a40ae654e2d6a3700 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Fri, 16 Nov 2007 17:24:06 +0000 Subject: [PATCH] Updated I18n example. --- manual/docs/en/plugins.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();