'#description'=>t('A path alias set for a specific language will always be used when displaying this page in that language, and takes precedence over path aliases set for <em>All languages</em>.'),
'#description'=>t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language'))),
);
}
}
// Language field for paths
case'path_admin_form':
/**
* Implementation of hook_form_alter(). Adds language fields to forms.
'#description'=>t('A path alias set for a specific language will always be used when displaying this page in that language, and takes precedence over path aliases set for <em>All languages</em>.'),
'#description'=>t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language'))),
$form['workflow']['language_content_type']['#options'][TRANSLATION_ENABLED]=t('Enabled, with translation');
// Description based on text from locale.module.
$form['workflow']['language_content_type']['#description']=t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. You can also turn on translation for this content type, which lets you have content translated to any of the enabled languages. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language')));
}
/**
* Implementation of hook_form_alter().
*
...
...
@@ -100,14 +110,8 @@ function translation_perm() {
* - Alters language fields on node forms when a translation
$form['workflow']['language_content_type']['#options'][TRANSLATION_ENABLED]=t('Enabled, with translation');
// Description based on text from locale.module.
$form['workflow']['language_content_type']['#description']=t('Enable multilingual support for this content type. If enabled, a language selection field will be added to the editing form, allowing you to select from one of the <a href="!languages">enabled languages</a>. You can also turn on translation for this content type, which lets you have content translated to any of the enabled languages. If disabled, new posts are saved with the default language. Existing content will not be affected by changing this option.',array('!languages'=>url('admin/settings/language')));