• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added proc to get options-list of enabled locales

  1. … 1 more file in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
bugfix #824: needed to add -user_id switch to some lang::user procs to specify the user for which to get the locale; also had to change the default upvar level of lang::message::lookup from 2 to 1

  1. … 2 more files in changeset.
bugfix #806: flush cache if guest user changes locale

adding a validity check in proc lang::system::site_wide_locale. If the locale is invalid we log an informative error message and return en_US. The much preferable solution that we should look at is of course a mechanism for validity checks in the UI for changing parameter values.

moving code to toggle enable_p for locale into a Tcl proc

  1. … 1 more file in changeset.
memoize the user timezone

  1. … 1 more file in changeset.
Fixed bug #941: lang::conn::timezone fails when not connected

  1. … 1 more file in changeset.
Make lang::user::site_wide_locale_not_cached{} return the system wide

locale for non-registered users, who does not have an ad_locale cookie.

Ensure that the ad_locale cookie never expires. Oops. ;)

Part of the fix for bug #806: Store non-registered visitors locale

setting in a cookie (and not in a client property).

Use untrusted_user_id for user's locale preferences

making danish, french, and finnish enabled by default, fixing Tcl API tests

  1. … 3 more files in changeset.
Removing hard coded dotlrn accidentally left in query selecting packages to load catalog files for. removing debug printout

  1. … 1 more file in changeset.
moving functionality of proc lang::system::default_locale into proc lang::util::default_locale_from_lang and removing lang::system::default_locale

  1. … 5 more files in changeset.
Implemented accept-language content negotiation ; preserving timezones (used to use client-properties)

  1. … 1 more file in changeset.
honoring the accept-language HTTP header in the locale negotiation (right before we resort to system locale). Lars added test case for system package setting

  1. … 3 more files in changeset.
1. Added search for words in messages feature.

2. Added locale enable/disable feature

3. Cleaned up translation UI

4. Improved batch message edit

  1. … 41 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 43 more files in changeset.
More PG 7.3 changes ...

  1. … 4 more files in changeset.
caching the lookup of user locale preference that is done on every request. Making the namespace explicit in each Tcl proc. Making the timezone related procs check whether ref-timezones is installed.

  1. … 1 more file in changeset.
Default timezone to UTC, not New York (not that I don't like New York, I do, a lot, actually, but UTC is more neutral)

adding timezone support, adding auditing of edited messages, adding package scoped locale preference and package scoped locale

  1. … 40 more files in changeset.
adding a charset proc, a proc that checks that embeddded variables in messages are not messed up by translators, fixed regexp bug in the adp message catalog proc, removed caching mistake - we would reload the cache on every request (we were all wondering why our server was so slow...:-))

  1. … 4 more files in changeset.
adding comment indicating where to check browser locale settings

adding translator mode with translation links, adding support for interpolated variables in adp files, bugfixes, removing site-wide locale from the change locale page

  1. … 8 more files in changeset.
Make sure lang::conn::locale can never return an error.

Collaboraid: adding namespaces to the TCL API, adding new procedures for extracting keys from adp pages and parsing keys embedded in text, adding a translation web UI that was used at Greenpeace (at www/admin) and making it work with PostgreSQL, moving the old pages under www to be under www/admin/test, making the lang_messages table use locale rather than language, added upgrade scripts

  1. … 111 more files in changeset.

A bunch of "ACS"->"OpenACS" and similar changes

  1. … 28 more files in changeset.

Forgot to define binary files before importing, so .gifs were messed up.

  1. … 2479 more files in changeset.
Initial revision

    • -0
    • +197
    ./locale-procs.tcl
  1. … 2479 more files in changeset.