• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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.