Show
Ignore:
Timestamp:
09/03/2007 09:22:15 PM (15 months ago)
Author:
Shadowhand
Message:

Split the User Guide menu into it's own separate language file

Location:
trunk/modules/user_guide
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_guide/i18n/en/User_guide.php

    r493 r494  
    44$lang = array 
    55( 
    6         /** 
    7         * Kohana User Guide Menu 
    8         * Topics in Categories (Eg, General, Libraries) 
    9         * Articles in Sections (Eg, Installation) 
    10         * Libraries and Helpers are in alphabetic order 
    11         * Other Categories are in logical order 
    12         */ 
    13         'menu' => array 
    14         ( 
    15                 'Kohana' => array 
    16                 ( 
    17                         'About', 
    18                         'Requirements', 
    19                         'Downloads', 
    20                         'Installation', 
    21                         'Links' 
    22                 ), 
    23                 'General' => array 
    24                 ( 
    25                         'Definitions', 
    26                         'Bootstrapping', 
    27                         'Configuration', 
    28                         'Libraries', 
    29                         'Controllers', 
    30                         'Models', 
    31                         'Views', 
    32                         'Helpers' 
    33                 ), 
    34                 'Libraries' => array 
    35                 ( 
    36                         'Cache', 
    37                         'Controller', 
    38                         'Database', 
    39                         'Encryption', 
    40                         'Input', 
    41                         'Loader', 
    42                         'Model', 
    43                         'Pagination', 
    44                         'Router', 
    45                         'Session', 
    46                         'URI', 
    47                         'View' 
    48                 ), 
    49                 'Helpers' => array 
    50                 ( 
    51                         'Cookie', 
    52                         'File', 
    53                         'Html', 
    54                         'Text', 
    55                         'Url' 
    56                 ) 
    57         ), 
    586        'title'     => 'Kohana User Guide', 
    597        'copyright' => 'copyright (c) %s Kohana Team :: All rights reserved :: Rendered in {execution_time} seconds using {memory_usage}MB of memory', 
  • trunk/modules/user_guide/views/user_guide/template.php

    r487 r494  
    3737<?php 
    3838 
    39 foreach(Kohana::lang('user_guide.menu') as $category => $menu): 
     39foreach(Kohana::lang('user_guide_menu') as $category => $menu): 
    4040 
    4141        $active = (strtolower($category) == $active_category) ? ' active' : '';