• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
%D format (which should not be used) had month twice.

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2273 more files in changeset.
An attempt to speed up the lc_time_fmt call, which gets hit 10+ times per page in calendar applications. We're now memoizing the compilation of % codes to tcl procs and vars. Also, we're no longer rebuilding the hash array of percent codes each time, instead using a namespace var that gets initialized in localization-data-init.tcl

Change locale to unamed optional parameter.

reverting DaveB's changes because the change in params is breaking things

Back out previous commit. Remove -locale switch from lang::util::localize

Add optional -locale parameter to lang::util::localize. Defaults to

[ad_conn locale]

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040712 and jcd-merge-5-1-20040724 to HEAD

  1. … 138 more files in changeset.
Partly applying patch #572, fixing #2006

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 685 more files in changeset.
- There's no consistent use of upper/lower case in the locale and language

columns of the ad_locales table so we need to do case insensitive searches.

- ad_locales defines the language column as char(3). Searches for 2-letter

language codes fail because (at least on PG) all 2-letter entries have a

trailing space in the database.

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 645 more files in changeset.
stripping off trailing space in the text of temporary tags on syntax <# key text #>. Checked new functionality with test case.

Proc lang::message::format (used by lang::message::lookup) - implementing ability to have embedded array variables in I18N messages on syntax %var_name.key_name%. Adding corresponding test case.

adding support for variables embedded in I18N messages to have the noquote instruction (from the corresponding adp variable). TODO: make sure we do ad_quotehtml and lang::util::localize on the embedded variables. Adding the proc convert_percentage_signs_to_adp_variables that we don't currently need, but I'm leaving it in in case it would be useful later on.

  1. … 1 more file in changeset.
adding the procs flag to the localize test case

merge the changes between 5.0.3 and 5.0.4 to head

  1. … 248 more files in changeset.
lang::util::localize wasn't working properly for multiple embedded message keys. I reworked the algorithm and added a test case for the proc. Thanks to Peter Alberer for reporting.

merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 287 more files in changeset.
Added categories to the automated test(s).

  1. … 10 more files in changeset.
when doing message lookups in lang::util::localize we need to fetch value of any embedded vars two levels up

merge Lee Denisons fix for bug 1489 to oacs-5-0

Fixed is ad_conn isconnected check - previous check always returned true.

making import procs report errors encountered. Making message::register proc throw error if en_US message doesn't already exist. Adding message::revert proc.

changing the lang_messages_audit table to have a new audit_id integer primary key column. Having the overwrite_date in a composite primary key seemed problematic. Bumping version number of acs-lang to 5.0.1

  1. … 5 more files in changeset.
removing comment about package_id in lang::user::locale proc being preliminary

removing comment about package_id in lang::user::locale proc being preliminary

merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 285 more files in changeset.
Added proc to get options-list of enabled locales

changing to always create catalog backup file on export even if one already exists (not sure if this is necessarily the right thing to do, but at least it's what I seem to need most often)