diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 83235d833a48251d4b6a22d8c6b0cd4692237f42..675ff4b538fe3fdb9350a764db05eb7dec45c40a 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx Wysiwyg 5.x-0.x, xxxx-xx-xx --------------------------- +#264739 by sun: Fixed missing t() around some profile settings options. Wysiwyg 5.x-0.1, 2008-06-07 diff --git a/wysiwyg_editor.admin.inc b/wysiwyg_editor.admin.inc index 9403527e8ae06ab6e683ea26f8256e21de1d1b0b..588546af30d605b9bb8b700fb03bd9d213914b08 100644 --- a/wysiwyg_editor.admin.inc +++ b/wysiwyg_editor.admin.inc @@ -357,7 +357,7 @@ function wysiwyg_editor_profile_form_build($edit) { '#type' => 'select', '#title' => t('Remove linebreaks'), '#default_value' => isset($edit->settings['remove_linebreaks']) ? $edit->settings['remove_linebreaks'] : NULL, - '#options' => array('true' => 'Enabled', 'false' => 'Disabled'), + '#options' => array('true' => t('Enabled'), 'false' => t('Disabled')), '#description' => t('Set this option to false to prevent TinyMCE from removing linebreaks from existing nodes. True avoids conflicts with some filters.'), ); @@ -365,7 +365,7 @@ function wysiwyg_editor_profile_form_build($edit) { '#type' => 'select', '#title' => t('Apply source formatting'), '#default_value' => isset($edit->settings['apply_source_formatting']) ? $edit->settings['apply_source_formatting'] : NULL, - '#options' => array('true' => 'Enabled', 'false' => 'Disabled'), + '#options' => array('true' => t('Enabled'), 'false' => t('Disabled')), '#description' => t('This option makes TinyMCE apply source formatting. Set this to true for a cleaner HTML source. Choose false to avoid conflicts with some filters.'), );