My favorites | Sign in
yii
Project Home Downloads Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3150: Add plural translation option to CGridView summaryText
6 people starred this issue and may be notified of changes. Back to list
Status:  Migrated
Owner:  qiang.xue


Sign in to add a comment
 
Reported by marcovtw...@gmail.com, Feb 1, 2012
Instead of displaying "Displaying 1-10 of 100 result(s)." (which looks very ugly in certain local translations), we can use Yii's plural form notation after a small modification in the Yii::t() call in CBaseListView.

See patch file.

(and then ofcourse update the language files)
cgridview-summary-plural.patch
1.3 KB   View   Download
Feb 1, 2012
#1 ma...@vtwout.net
Example patch for the dutch language file (after applying patch in starter post)
cgridview-summary-plural-nl.patch
1.7 KB   View   Download
Feb 13, 2012
Project Member #2 qiang.xue
(No comment was entered for this change.)
Labels: Milestone-1.1.11
Feb 15, 2012
Project Member #3 qiang.xue
Migrated to http://github.com/yiisoft/yii/issues/95
Status: Migrated
Sign in to add a comment

Powered by Google Project Hosting