• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
making it possible to cache all catalog messages for a single package

bug fix: forgot to use adp var syntax during refectoring when using local multirow that I introduced to resue a query across to procedures. Would have been caught had I run the unit tests...

fixing misnamed bind variable name in insert statement for lang_message_audit

adding message catalog upgrade support to the acs-lang package. message keys and messages now have an upgrade status (added, deleted, updated). Being more rigorous about determining what is a catalog file and moving this logic to the acs-bootstrap-installer package (apm_is_catalog_file) as it is needed before the acs-lang library is loaded. Updated procedure documentation.

    • -0
    • +13
    ./lang-catalog-procs-oracle.xql
    • -0
    • +13
    ./lang-catalog-procs-postgresql.xql
date and time related localization data added for Finnish by Jarkko Laine. Thanks Jarkko.

I18N: loading the catalog files from the lookup proc now if this hasn't already been done. The reason is that there are message lookups that happen before the acs-lang library files are loaded. The alternative would be to put the loading in a file with a path like acs-boostrap-installer/00-...

if lc_time_fmt is given the empty string, don't crash, but rather, return the empty string

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

    • -0
    • +16
    ./lang-audit-procs-oracle.xql
    • -0
    • +16
    ./lang-audit-procs-postgresql.xql
    • -0
    • +26
    ./lang-audit-procs.tcl
    • -10
    • +0
    ./lang-message-procs-postgresql.xql
    • -0
    • +220
    ./test/acs-lang-test-procs.tcl
  1. … 26 more files in changeset.
cleaning up and improving the criteteria for selecting text in adp:s to consider for translation, making sure adp variable syntax is converted to percentage syntax for adp files when replacing temporary message tags (note: for tcl files this conversion must still be done manually)

unique is oracle specific bug 43/patch 9 Tilmann Singer

Date/time/number localization

  1. … 84 more files in changeset.
fixed the check in lang::message::register that embedded variables are not tampered with, translator mode links vastly improved by Lars - translations that can be edited have a hyperlinked green circle after them, texts with missing translations are highlighted in yellow and have a hyperlinked red star after them, now navigation (links) are not broken by translator mode being on

    • -0
    • +10
    ./lang-message-procs-postgresql.xql
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...:-))

changing the underscore message lookup proc to take only two arguments, changing message registration log message to debug level

making sure that lang::message::lookup can be used without an HTTP connection, also making sure the cache is loaded by lookup if that hasn't already been done

making it possible to extract keys from sql files

  1. … 1 more file in changeset.
optimization of proc extracting message keys and texts from tags in adp and tcl files - don't rewrite the catalog file if there were no tags

adding comment indicating where to check browser locale settings

making sure keys in catalog files are sorted, should make them easier to edit, and cvs diffs should work better

removing debug printout

I18N: adding support for handy interpolation of variables into localized messages from tcl files by using upvar

  1. … 1 more file in changeset.
Adding links to message catalog translation UI from site-wide admin page and from the locale preference page for users, adding explaining text to translation UI

  1. … 4 more files in changeset.
I18N: added SQL statement for updating a catalog message that was missing for PostgreSQL

    • -0
    • +10
    ./lang-message-procs-postgresql.xql
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.