• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Test cases for lang-message-procs

    • -0
    • +33
    ./test/acs-lang-message-procs.tcl
Made the check for a message key in hashes (i.e. #package_key.message_key#)

more robust by only recognizing it if both parts, separated by a ".", exists.

This reduces the odds of random text between hashes being mistaken for a

key and throwing a "missing key" error.

fixing bug #2905

fixing 2905

Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 718 more files in changeset.
typo in error message.

Added procedure to create edit url for message keys

It does not make sense to export acs-translations at all because the object_ids are different from site tot site

added support to support user_id when setting locale

added order statement

added user_id switch when setting locale

Added get_locale_options

Added lang::util::convert_to_i18n made optional (depending on the installation of acs-translations)

Added procedure to get all locales

Added procedure to retrieve all locales known in the system

Fixed two bugs (in my opinion) as the procedure was doing two entirely different things when called with a user_id or without.

added localize_list_of_lists util proc

Added procedure to transform a string into an I18N version of itself (so it can be translated).

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.