• last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
during internationalization of adp:s and tcl files, when adding a key to the message catalog file, also add it to the database so the two are in sync

made translate links show the key of the message and be smaller font size, changed the adp message catalog conversion script to not process message lookups that are already in the adp

making the adp texts -> tags conversion script (Jeff's script) less restrictive now that it's used interactively

fixing adp message tag regexp, it wouldn't accept tags in messages

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. … 4 more files in changeset.
merging lang-catalog-init.tcl and lang-message-init.tcl into acs-lang-init.tcl

  1. … 1 more file in changeset.
changing message lookup so that if no locale is provided and there is no HTTP connection then the system locale is used

making localize proc output a TRANSLATION MISSING message

Splitting up the message keys into package_key and message_key in the datamodel, adding a message key table, changing format of catalog files to be xml based, cleaning up tcl API and its documentation, adding acs-automated-testing tests that test some catalog and message TCL procs

    • -12
    • +2
    ./lang-message-procs-postgresql.xql
    • -0
    • +132
    ./test/acs-lang-test.tcl
  1. … 24 more files in changeset.
adding the format proc to allow variables to be interpolated into catalog messages, updating documentation for the lookup procs, simplifying the lookup proc greatly, not attempting anything smart if lookup fails for now

Adding a key short hand for the temporary message lookup tag - the underscore, syntax: <#_ text#>

Peter: making the proc replace_adp_message_tags_with_lookups work on tcl files as well as adp files to make it easier to translate TCL libraries and TCL pages

Peter: making the locale argument to the message lookup proc _ be optional

cleanup on .xql files, add rdbms tags to db specific files, clean XML, etc

  1. … 28 more files in changeset.
Peter: added Jeff's proc that we call replace_adp_text_with_message_tags that is used to make adp templates multilingual. There is a web interface in the package manager for this proc

Make sure lang::conn::locale can never return an error.

adding file

    • -0
    • +18
    ./lang-util-procs-oracle.xql
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

    • -0
    • +31
    ./lang-catalog-init.tcl
    • -0
    • +148
    ./lang-catalog-procs.tcl
    • -0
    • +28
    ./lang-catalog-procs.xql
    • -0
    • +22
    ./lang-message-init.tcl
    • -0
    • +24
    ./lang-message-procs-oracle.xql
    • -0
    • +22
    ./lang-message-procs-postgresql.xql
    • -0
    • +399
    ./lang-message-procs.tcl
    • -0
    • +29
    ./lang-message-procs.xql
  1. … 97 more files in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 691 more files in changeset.
correct my email address.

  1. … 13 more files in changeset.

1. Changed a lot of package info files to fix problems ...

2. Added Vinod's bboard patch

3. Rationalized party e-mail checking by putting a "before insert or update"

trigger on the table that lower-cases email (this was already done by the

party.new() func but at least one update missed this). Got rid of all

"lower(email) = " and "upper(email) = " checks and just made all use the

db email column directly and lower-cased Tcl vars. In this way the index

on the email column is always and consistently used without needing to

define functional indexes on the column (an EE feature for Oracle).

4. Rationalized naming of a couple of workflows and fixed a glossary PG bug

where apparently its workflow got overwritten by one from the CMS at some

point in time.

5. Made the .cmp/.dat/.frm filters in the template code usable though not

very beautiful nor exactly correct. But with practice you can use them

to debug pages in the packages/* hierarchy. I also turned these off by

default as there's no need to run these filters on a production site!

6. Performed minor surgery on templating, including adding a new

"ad_return_exception_template" that allows you to return a templated

error page and aborts the script.

7. ??? probably but I think this covers most stuff.

  1. … 73 more files in changeset.

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

  1. … 28 more files in changeset.
Correction in the function call that should use 2 underscores in place of a dot used in oracle to denote package container.

  1. … 3 more files in changeset.
First port commit

    • -0
    • +14
    ./lang-init-oracle.xql
    • -0
    • +13
    ./lang-init-postgresql.xql
    • -0
    • +22
    ./lang-procs-oracle.xql
    • -0
    • +16
    ./locale-procs-oracle.xql
    • -0
    • +16
    ./locale-procs-postgresql.xql
    • -0
    • +28
    ./localization-procs-oracle.xql
    • -0
    • +24
    ./localization-procs-postgresql.xql
    • -0
    • +23
    ./localization-procs.xql
  1. … 9 more files in changeset.

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

  1. … 2473 more files in changeset.
Initial revision

    • -0
    • +11
    ./acs-lang-procs.tcl
    • -0
    • +197
    ./locale-procs.tcl
    • -0
    • +194
    ./localization-data-init.tcl
    • -0
    • +634
    ./localization-procs.tcl
  1. … 2473 more files in changeset.