Changeset 907 for trunk/system/views

Show
Ignore:
Timestamp:
10/28/2007 02:04:14 AM (13 months ago)
Author:
Geert
Message:

I figured it's better not to use the inflector::plural() to i18n language items because that function is only made for English. So I added the plurals of 'page' and 'item' to the language file by hand.

Location:
trunk/system/views/pagination
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/views/pagination/extended.php

    r904 r907  
    1717        | <?php echo Kohana::lang('pagination.page') ?> <?php echo $current_page ?> <?php echo utf8::strtolower(Kohana::lang('pagination.of')) ?> <?php echo $total_pages ?> 
    1818         
    19         | <?php echo Kohana::lang('pagination.item') ?> <?php echo $current_first_item ?>&ndash;<?php echo $current_last_item ?> <?php echo utf8::strtolower(Kohana::lang('pagination.of')) ?> <?php echo $total_items ?> 
     19        | <?php echo Kohana::lang('pagination.items') ?> <?php echo $current_first_item ?>&ndash;<?php echo $current_last_item ?> <?php echo utf8::strtolower(Kohana::lang('pagination.of')) ?> <?php echo $total_items ?> 
    2020         
    2121        | <?php if ($next_page): ?> 
  • trunk/system/views/pagination/punbb.php

    r904 r907  
    99<p class="pagination"> 
    1010         
    11         <?php echo inflector::plural(Kohana::lang('pagination.page')) ?>: 
     11        <?php echo Kohana::lang('pagination.pages') ?>: 
    1212 
    1313        <?php if ($current_page > 3): ?>