Yii Framework Forum: Wrong Display Summary On Cgridview - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Wrong Display Summary On Cgridview Rate Topic: -----

#1 User is offline   darwin88 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 25-September 11

Posted 20 September 2012 - 03:00 AM

I have update framework to 1.1.12 (before 1.1.10), but in my CGridView show wrong summary like this:
"Displaying 1-10 of 1 result.|Displaying 1-10 of 1295 results."

I use Indonesian language in my message folder, but in CGridView still show English.
Is it a bug?
0

#2 User is offline   softark 

  • Keep It Simple
  • Yii
  • Group: Moderators
  • Posts: 2,041
  • Joined: 16-February 11
  • Location:Japan

Posted 20 September 2012 - 07:49 AM

Do you use a customized version of the translation message file ... /protected/messages/id/zii.php ?
If you do, you have to update your customized version of zii.php.
See the original message file in /framework/messages/id/zii.php.

Change Log of Yii

Quote

Version 1.1.10 ... February 12, 2012
Version 1.1.11 ... July 29, 2012
Version 1.1.12 ... August 19, 2012


Change Log of framework/messages/id/zii.php

Quote

2010/11/14 ... merge from yiidoc
2012/03/21 ... make CBaseListView use ChoiceFormat in translation


The change made in 2012/03/21

Quote

From:
'Displaying {start}-{end} of {count} result(s).' => 'Menampilkan {start}-{end} dari {count} hasil'
To:
'Displaying {start}-{end} of 1 result.|Displaying {start}-{end} of {count} results.' => 'Menampilkan {start}-{end} dari {count} hasil'

1

#3 User is offline   darwin88 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 25-September 11

Posted 26 September 2012 - 08:51 PM

Solved! thanks for help..
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users