• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make lang::user::site_wide_locale_not_cached{} return the system wide

locale for non-registered users, who does not have an ad_locale cookie.

Ensure that the ad_locale cookie never expires. Oops. ;)

Part of the fix for bug #806: Store non-registered visitors locale

setting in a cookie (and not in a client property).

removing print statement that seemed superfluous

Changed message key encoding to not confuse eval or subst

  1. … 1 more file in changeset.
bugfix in xml catalog import proc, variable named charset should have been named mime_charset

Don't dress localization data up as links to translate when in translator mode

Translator mode now reintroduces the green circles

bug 787 and bug 174 - adding new robust translator mode that lists all translations on the current page at the bottom of the page

  1. … 2 more files in changeset.
Added more documentation for lang::message::lookup

bugfix: ad_conn isconnected doesn't mean ad_conn user_id is defined - it's not during bootstrapping. Wrapping in catch

adding the lang::catalog::export_to_files proc for exporting all messages in a list of locales. Making import_from_files always import the en_US locale messages first.

making lang::message::register refuse to register a message for a key that doesn't exist unless it's for the en_US locale. This is a precaution for the case where non en_US locales have somehow corrupted keys or keys that have been forgotten to be added to en_US

adding the columns creation_user and creation_date to lang_messages. At least on the translation server those are useful. Those columns replace the table lang_messages_created in the messages-audit.sql file (now removed)

  1. … 5 more files in changeset.
making sure creation of messages is recorded in audit table

making sure import_from_files proc does not produce error messages trying to find correct charsets for a locale if there are no files for that locale anyway

Use untrusted_user_id for user's locale preferences

adding check in import_from_files so that we don't attempt to find catalog files if there isn't even a catalog directory

making sure danish locale is temporarily enabled for testcase to pass

To speed up package installation we made en_US be the only enabled locale by default. Changed catalog loading to only load files for enabled locales. Added a link in UI so that catalog files can be loaded for a certain enabled locale after installation

  1. … 6 more files in changeset.
removing annoying "not upgrading" message when importing catalog files

Kill the timestamp on the catalog files, it only causes confusion by CVS

Removed this file, it was empty

The with_catch logic was broken

Improved the documentation

making danish, french, and finnish enabled by default, fixing Tcl API tests

  1. … 2 more files in changeset.
removing debug printouts

Commenting in check to make sure lang::catalog::import_from_all_files_and_cache is only run once

Removing hard coded dotlrn accidentally left in query selecting packages to load catalog files for. removing debug printout

moving functionality of proc lang::system::default_locale into proc lang::util::default_locale_from_lang and removing lang::system::default_locale

  1. … 2 more files in changeset.
Added queries to deal with descriptions

    • -0
    • +10
    ./lang-message-procs-postgresql.xql
    • -13
    • +417
    ./test/acs-lang-test-procs.tcl