Assembla home | Assembla project page
 

Changeset 206

Show
Ignore:
Timestamp:
12/25/08 10:33:52 (1 year ago)
Author:
aprice30
Message:

Added extra language strings for application/controllers/admin/settings.php, Closes #73

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/preferences/language/english/preferences_lang.php

    r202 r206  
    2626$lang['preference_desc_autologin_period'] = 'Number of days for which the user will be logged in automaticaly'; 
    2727$lang['preference_desc_login_field'] = 'What way to allow users to login to the system using'; 
     28 
     29$lang['preference_field_activation_method_none'] = 'No activation required'; 
     30$lang['preference_field_activation_method_email'] = 'Self activation by email'; 
     31$lang['preference_field_activation_method_admin'] = 'Manual activation by an administrator'; 
    2832 
    2933// Security Preferences 
  • trunk/system/application/controllers/admin/settings.php

    r204 r206  
    2929                parent::Admin_Controller(); 
    3030 
     31                $this->lang->module_load('preferences','preferences'); 
     32 
    3133                log_message('debug','BackendPro : Settings class loaded'); 
    3234        } 
     
    5254 
    5355                $config['field']['allow_user_registration'] = array('type'=>'boolean'); 
    54                 $config['field']['activation_method'] = array('type'=>'dropdown','params'=>array('options'=>array('none'=>'No activation required','email'=>'Self activation by email','admin'=>'Manual activation by an administrator'))); 
     56                $config['field']['activation_method'] = array('type'=>'dropdown','params'=>array('options'=>array('none'=>$this->lang->line('preference_field_activation_method_none'),'email'=>$this->lang->line('preference_field_activation_method_email'),'admin'=>$this->lang->line('preference_field_activation_method_admin')))); 
    5557                $config['field']['account_activation_time'] = array('rules'=>'trim|required|numeric'); 
    5658                $config['field']['autologin_period'] = array('rules'=>'trim|required|numeric'); 
    5759                $config['field']['default_user_group'] = array('type'=>'dropdown','params'=>array('options'=>$this->access_control_model->buildACLDropdown('group','id'))); 
    5860                $config['field']['allow_user_profiles'] = array('type'=>'boolean'); 
    59                 $config['field']['login_field'] = array('type'=>'dropdown','params'=>array('options'=>array('email'=>'Email','username'=>'Username','either'=>'Either'))); 
     61                $config['field']['login_field'] = array('type'=>'dropdown','params'=>array('options'=>array('email'=>$this->lang->line('userlib_email'),'username'=>$this->lang->line('userlib_username'),'either'=>$this->lang->line('userlib_email_username')))); 
    6062 
    6163                $config['field']['use_login_captcha'] = array('type'=>'boolean'); 
  • trunk/user_guide/general/changelog.html

    r205 r206  
    5656<h3>Additions</h3> 
    5757<ul> 
    58         <li>Status Class i18n Support - The status class language strings are now contained within a language file, See <a href="http://trac2.assembla.com/backendpro/ticket/75">Enhancement #75</a></li> 
     58        <li>i18n Support - The status class language strings are now contained within a language file, See <a href="http://trac2.assembla.com/backendpro/ticket/75">Enhancement #75</a></li> 
    5959        <li>CI Profiler Intergration - The CI profiler is now intergrated into the admin control panel. When turned on in the <a href="../features/preferences.html#page_debug">system settings</a> rather than some of the output being hidden it is now clearly visible, See <a href="http://trac2.assembla.com/backendpro/ticket/41">Enhancement #41</a></li> 
    6060        <li>Login Selection - It is now possible to select how a user can login, either with their email, username or either.</li> 
     
    6262<h3>Modifications</h3> 
    6363<ul> 
     64        <li>Added some extra language strings for the dropdown options inside <var>application/controllers/admin/settings.php</var>, See <a href="http://trac2.assembla.com/backendpro/ticket/73">Enhancement #73</a></li> 
    6465        <li>Updated the Page Module so it uses the functions in the <a href="http://codeigniter.com/user_guide/helpers/html_helper.html">CodeIgniter HTML helper</a>, See <a href="http://trac2.assembla.com/backendpro/ticket/36">Enhancement #36</a></li> 
    6566        <li>Changed the MY_Controller so the charset header and metatag value is taken from the CI config file, See <a href="http://trac2.assembla.com/backendpro/ticket/74">Enhancement #74</a></li>