• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bug fixes of import messages and message conflicts pages. Making sure message conflict page works if its called with empty string arguments

adding import/export links on top index page. Making sure all import/export links are only shown to site-wide-admins. Fixing the url of one of the links.

file message-conflicts.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/message-conflicts.tcl
file message-conflicts.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/message-conflicts.adp
file message-conflict-resolve.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/message-conflict-resolve.tcl
file import-messages.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/import-messages.tcl
file import-messages.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/import-messages.adp
file export-messages.tcl was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/export-messages.tcl
file export-messages.adp was initially added on branch oacs-5-0.

    • -0
    • +0
    ./admin/export-messages.adp
Adding support for I18N message catalog upgrades. Any import of

messages from catalog files that is done after the initial import is

considered an upgrade. The message import and upgrade logic is

encapsulated in the proc lang::catalog::import_messages (invoked

through lang::catalog::import).

acs-lang package

- Bumping version of package to 5.0.0b5

- Changes to datamodel:

- Adding columns deleted_p, conflict_p, and sync_time to lang_messages table.

- Removed column upgrade_status from lang_message_keys table

- Adding columns deleted_p, sync_time, conflict_p, upgrade_status to lang_messages_audit table

- Changes to lang::catalog Tcl API:

- Added proc lang::catalog::import_messages that encapsulates the logic for import and upgrade of

messages from catalog files to database.

- Changed the lang::catalog::import_from_file and lang::catalog:import procs to use the new import_messages proc.

- Added the upgrade Tcl API test cases that extensively tests through the import_messages proc with both

en_US and de_DE locales.

- Changes to lang::message Tcl API:

- Changed lang::message::register to take new switches upgrade_sync, upgrade_status, and conlfict. Cleaned up the

proc a little and made it construct SQL dynamically.

- Added procs delete, get, and get_element.

- Added the edit proc that is used when editing attributes of a message other than the message text itself. This

proc will not create a new message revision. It is invoked for example by the delete proc.

- Added the count_conflicts proc.

- Changes to admin UI

- New canonical pages for import/export of catalog files that check for site-wide-admin priv

- Made the message delete page use appropriate Tcl API

- Added the message-conflicts page that shows conflicting messages. Linking to this page from

index page, locale-, and package index pages.

acs-admin package

- Removed the import/export messages pages and using the ones in acs-lang package instead.

    • -11
    • +0
    ./admin/import-locale-from-files.adp
    • -19
    • +0
    ./admin/import-locale-from-files.tcl
    • -0
    • +15
    ./admin/message-conflict-resolve.tcl
  1. … 30 more files in changeset.
fixed 'langauge' typo

added links to current documentation

Changed to load the catalog files immediatly if you enable a locale

Fixed a typo

adding edit history page

    • -0
    • +32
    ./admin/edit-history.adp
    • -0
    • +51
    ./admin/edit-history.tcl
Added a workaround for a bug in Tcl 8.3 on solaris that causes int() to throw an 'integer value too large to represent' error when used on negative decimal numbers

Make create-message-key pagep accept return_url

Allow creating a message-key-creation page to accept message key -- used by translator mode

Renamed page

    • -11
    • +0
    ./admin/export-locale-from-files.adp
    • -16
    • +0
    ./admin/export-locale-from-files.tcl
    • -0
    • +11
    ./admin/export-locale-to-files.adp
    • -0
    • +16
    ./admin/export-locale-to-files.tcl
Added link to ipmort messages for a package

Added exporting all messages for a locale

    • -0
    • +11
    ./admin/export-locale-from-files.adp
    • -0
    • +16
    ./admin/export-locale-from-files.tcl
Update and next button not shown on next-to-last page

moving code to toggle enable_p for locale into a Tcl proc

  1. … 1 more file in changeset.
cleanup and renaming of import/export procs in lang::catalog namespace. Now there are really only two public procs to know about: lang::catalog::import and lang::catalog::export. Updating all invocations of the procs and test cases. Adding proc lang::message::unregister for deleting message keys - used in test case teardown.

  1. … 9 more files in changeset.
Default to system local and timezone

- Fixed translator mode toggle switch

- Reorganized links for clarity

Added page for testing translator mode

    • -0
    • +26
    ./admin/test/translator-mode.adp
    • -0
    • +37
    ./admin/test/translator-mode.tcl
Make the page not break when the en_US message doesn't exist

Added page to test lookup of a message in a locale

Bug 806: disabling timezone setting if use is not logged in. We should set in cookie, but API doesn't currently support this