Index: openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl,v
diff -u -r1.43.2.2 -r1.43.2.3
--- openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl 20 Feb 2007 16:57:48 -0000 1.43.2.2
+++ openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl 21 Feb 2007 00:00:03 -0000 1.43.2.3
@@ -366,9 +366,8 @@
@param locale Name of a locale, as language_COUNTRY using ISO 639 and ISO 3166
@return IANA MIME character set name
} {
- # LARS:
- # This should probably be cached
- return [db_string charset_for_locale {}]
+ # DRB: cache this now that ad_conn tracks it
+ return [db_string -cache_key ad_lang_mime_charset_$locale charset_for_locale {}]
}
ad_proc -private lang::util::default_locale_from_lang_not_cached {
Index: openacs-4/packages/acs-lang/www/admin/locale-edit.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/admin/locale-edit.tcl,v
diff -u -r1.7.6.2 -r1.7.6.3
--- openacs-4/packages/acs-lang/www/admin/locale-edit.tcl 20 Feb 2007 16:57:48 -0000 1.7.6.2
+++ openacs-4/packages/acs-lang/www/admin/locale-edit.tcl 21 Feb 2007 00:00:03 -0000 1.7.6.3
@@ -153,6 +153,7 @@
where locale = :locale"
}
+ db_flush_cache -cache_key_pattern ad_lang_mime_charset_$locale
forward "index?tab=locales"
}
Index: openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl,v
diff -u -r1.85.2.2 -r1.85.2.3
--- openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 20 Feb 2007 16:57:49 -0000 1.85.2.2
+++ openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 21 Feb 2007 00:00:03 -0000 1.85.2.3
@@ -645,6 +645,7 @@
if { [catch {
ad_conn -set locale [lang::conn::locale]
ad_conn -set language [lang::conn::language]
+ ad_conn -set charset [lang::util::charset_for_locale [ad_conn locale]]
}] } {
# acs-lang doesn't seem to be installed. Even though it must be installed now,
# the problem is that if it isn't, everything breaks. So we wrap it in
@@ -653,6 +654,7 @@
# to assume that most people have added acs-lang to their system.
ad_conn -set locale ""
ad_conn -set language ""
+ ad_conn -set charset ""
}
# Who's online
Index: openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml,v
diff -u -r1.47.2.2 -r1.47.2.3
--- openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml 20 Feb 2007 16:57:49 -0000 1.47.2.2
+++ openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml 21 Feb 2007 00:00:03 -0000 1.47.2.3
@@ -38,6 +38,7 @@
Administer<img border=0 valign="bottom" src="/resources/dotlrn/admin.gif" alt="Administer">Administration
+ aAdministration CockpitAdministratorAdministrators
@@ -104,6 +105,7 @@
CockpitComma Separated ValuesCommunities
+ mCommunity%clubs_pretty_name% NameCommunity ID
@@ -125,13 +127,15 @@
Confirm DropConfirmationControl Panel
+ pCopyWe couldn't find user #%user_id%; perhaps this person was deleted?Course AdministratorCourse AdministratorsCourse AssistantCourse AssistantsCourses
+ rCreate A New UserCreate a Web LogCreate Club
@@ -219,7 +223,6 @@
FromfuchsiaFull
- fullFull AccessGeneral InformationGeneral Site Help
@@ -255,6 +258,7 @@
HelpHide .LRN toolbarHome
+ hHTMLID:ID
@@ -569,9 +573,6 @@
Send DateSend EmailSend to everyone in the group
- In addition, send to the following people (if you have not selected "Send to Everyone" above):
- Send to the following roles:
- Set all screenames where no screenname is setShared FilesShow .LRN Toolbarsilver
@@ -597,7 +598,6 @@
Parameters AdministrationSmallSorry!
- SpamSpam ...Spam CommunitySpam Users
@@ -674,9 +674,7 @@
YesyesYes, delete
- Yes, delete membershipsYes, I'm sure.
- Yes, keep membershipsYou can specify colors by name<b>Note:</b> You must create <a href="%terms_url%">%terms_pretty_plural%</a> to be able to create %class_instances_pretty_plural%, since these must be associated with %terms_pretty_plural%.Your icon is too large. The publisher of %system_name% has chosen to limit attachments to %max_attachments_bytes% bytes.\n
Index: openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml,v
diff -u -r1.17.2.1 -r1.17.2.2
--- openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml 20 Feb 2007 16:57:50 -0000 1.17.2.1
+++ openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml 21 Feb 2007 00:00:03 -0000 1.17.2.2
@@ -46,5 +46,4 @@
Sloantransaction failedUnused Portlets
- Maximize window to display content
Index: openacs-4/packages/theme-zen/theme-zen.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/theme-zen.info,v
diff -u -r1.1.2.3 -r1.1.2.4
--- openacs-4/packages/theme-zen/theme-zen.info 20 Feb 2007 16:57:51 -0000 1.1.2.3
+++ openacs-4/packages/theme-zen/theme-zen.info 21 Feb 2007 00:00:03 -0000 1.1.2.4
@@ -22,7 +22,7 @@
-
+
Index: openacs-4/packages/theme-zen/lib/lrn-master.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/lib/lrn-master.adp,v
diff -u -r1.1.2.6 -r1.1.2.7
--- openacs-4/packages/theme-zen/lib/lrn-master.adp 20 Feb 2007 16:57:51 -0000 1.1.2.6
+++ openacs-4/packages/theme-zen/lib/lrn-master.adp 21 Feb 2007 00:00:02 -0000 1.1.2.7
@@ -100,11 +100,13 @@
-