Typo in INSTALL.txt
serkan.arikusu - January 4, 2008 - 02:04
| Project: | Internationalization |
| Version: | 5.x-2.2 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
At the near end of the INSTALL.txt, there is a section with Language dependent variables which gives a sample array definition, beginning with:
$conf['i18n_variables'] = array(
In this example, there is a ';' after 'menu_secondary_menu' option which must be converted to ','
and
there is a ',' after 'theme_garland_settings' which must be removed.
i.e. the final code should be:
$conf['i18n_variables'] = array(
// Site configuration
'site_name',
'site_slogan',
'site_mission',
'site_footer',
'anonymous',
// Node help
'blog_help',
'story_help',
// User configuration
'user_registration_help',
'user_mail_welcome_subject',
'user_mail_welcome_body',
'user_mail_approval_subject',
'user_mail_approval_body',
'user_mail_pass_subject',
'user_mail_pass_body',
// Primary and secondary links
'menu_primary_menu',
'menu_secondary_menu',
// Theme settings. This is an 'all or nothing' for each theme
// This is for 'garland' theme, for other theme it would be 'theme_[themename]_settings'
'theme_garland_settings'
);
#1
You're right about the first typo.
The second one is intended and common practice, to allow easily adding more items in the array.
Thanks.
#2
Automatically closed -- issue fixed for two weeks with no activity.