summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-11-19 00:10:11 +0100
committermkanat%bugzilla.org <>2006-11-19 00:10:11 +0100
commit496a78f616b10c1c5c4bd0398021232e9bffa77e (patch)
treefd30d0e1fc1c7789111d43ef5d7ce7dd31baa7de /template
parentb8012210e03800d6473d2b19d7cf1beae6d12dc3 (diff)
downloadbugzilla-496a78f616b10c1c5c4bd0398021232e9bffa77e.tar.gz
bugzilla-496a78f616b10c1c5c4bd0398021232e9bffa77e.tar.xz
Bug 304550: Bugzilla should always store data in MySQL as UTF-8
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/params/core.html.tmpl10
-rw-r--r--template/en/default/global/messages.html.tmpl3
2 files changed, 10 insertions, 3 deletions
diff --git a/template/en/default/admin/params/core.html.tmpl b/template/en/default/admin/params/core.html.tmpl
index 3e1010a7d..2ab6856a8 100644
--- a/template/en/default/admin/params/core.html.tmpl
+++ b/template/en/default/admin/params/core.html.tmpl
@@ -64,9 +64,13 @@
utf8 => "Use UTF-8 (Unicode) encoding for all text in ${terms.Bugzilla}. New " _
"installations should set this to true to avoid character encoding " _
- "problems. Existing databases should set this to true only after " _
- "the data has been converted from existing legacy character " _
- "encodings to UTF-8.",
+ "problems. <strong>Existing databases should set this to true " _
+ " only after the data has been converted from existing legacy " _
+ " character encodings to UTF-8, using the " _
+ " <kbd>contrib/recode.pl</kbd> script</strong>. <br><br> Note " _
+ " that if you turn this parameter from &quot;off&quot; to " _
+ " &quot;on&quot;, you must re-run checksetup.pl immediately " _
+ " afterward.",
shutdownhtml => "If this field is non-empty, then $terms.Bugzilla will be completely " _
"disabled and this text will be displayed instead of all the " _
diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl
index a3b29bee7..b5f736120 100644
--- a/template/en/default/global/messages.html.tmpl
+++ b/template/en/default/global/messages.html.tmpl
@@ -216,6 +216,9 @@
[% IF param_changed.size > 0 %]
[% FOREACH param = param_changed %]
Changed <em>[% param FILTER html %]</em><br>
+ [% IF param == 'utf8' && Param('utf8') %]
+ <strong>You must now re-run checksetup.pl.</strong><br>
+ [% END %]
[% END %]
[% ELSE %]
No changes made.