summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsun2008-06-07 17:53:28 (GMT)
committer sun2008-06-07 17:53:28 (GMT)
commit0c8b5e9d9340bbcb5bc73c5f514052777fdff0a3 (patch)
treea772b8ef8267eee543458cf69a50f61c617d57d8
parente22809372e9921daa515f66623235c97c665e445 (diff)
#264739 by sun: Fixed missing t() around some profile settings options.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--wysiwyg_editor.admin.inc4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 83235d8..675ff4b 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 9403527..588546a 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.'),
);