• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Backed out last commit, as the procedure already existed and is called lang::util::localize ...

Added procedure to convert messages in #message_key# syntax to something that can be used in select boxes. This is necessary due to the fact thatwe are storing message_keys e.g. with "pretty_name" directly in the database.

Added namespace eval to avoid start-up failure

fix typo in disable-locale action

document a bit better, add a disable-locale action

include variable define for ::lang::util::percent_match

add proc doc to a bunch of procs, declare some things with explicit namespaces rather than in namespace eval, make some public things private

  1. … 22 more files in changeset.
remove the acs-lang procs which were deprecated/warn in 5.0; fix lingering references to deprecated procs

  1. … 27 more files in changeset.
don't use en_US in lc_numeric if lookup fails since when acs-lang totally borked even en_US might not be there and the admin page won't display

functions for enabling and setting locale in the install.xml file

    • -0
    • +22
    ./lang-install-procs.tcl
%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.