• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move 'util::content_size_pretty' into 'acs-lang' and rename it to 'lc_content_size_pretty', localicing 'bytes' and adapting automated tests. Bump 'acs-lang' version.

    • -0
    • +1
    ./catalog/acs-lang.ca_ES.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.da_DK.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.de_DE.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.en_AU.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.en_US.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.es_CO.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.es_ES.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.es_GT.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.eu_ES.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.it_IT.ISO-8859-1.xml
  1. … 27 more files in changeset.
Fix for issue #3409

Fix regression on enabling/disabling locales

improve spelling

replace deprecated function ad_var_type_check_number_p which was used improperly

    • -9
    • +18
    ./www/admin/set-system-timezone.tcl
Simplify multirow logic using 'template::util::list_to_multirow'

Add the option to unregister (delete permanently the message key from all locales) a message key that has been already marked as deleted. Useful for cleaning up old message keys

    • -0
    • +1
    ./www/admin/edit-localized-message.adp
    • -3
    • +4
    ./www/admin/edit-localized-message.tcl
file message-unregister.adp was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./www/admin/message-unregister.tcl
Fix query and logic for retrieving a particular locale stats for acs-lang admin/index page. In particular, messages that do not exist in a certain locale are properly computed in order to calculate deleted and untranslated ones, at the price of executing one query per locale instead of just a big one.

Update italian translation

    • -0
    • +1
    ./catalog/acs-lang.it_IT.ISO-8859-1.xml
  1. … 1 more file in changeset.
Default deleted_p should be false for non-existing translations

    • -2
    • +2
    ./www/admin/edit-localized-message.tcl
Allow to undelete a message from acs-lang 'edit-localized-message', instead of showing the option to delete it whatever the state is

    • -1
    • +6
    ./www/admin/edit-localized-message.adp
    • -1
    • +9
    ./www/admin/edit-localized-message.tcl
Refactor acs-lang 'admin/index' page, adding the new columns 'total' and 'deleted' to the listing, and reworking the query so it is faster (53ms -> 7ms), correct (number of messages by state are computed coherently with other acs-lang pages) and gives more information

file index.xql was initially added on branch oacs-5-10.

Refactor acs-lang 'message-list', using a single query for counting the different message states instead of one per state, and simplifying tcl logic

improve spelling

  1. … 17 more files in changeset.
Rework acs-lang 'package-list' query 'packages_locale_status' query (89ms -> 4ms)

Rework acs-lang 'package-list' query 'packages_locale_status_default' query (48ms -> 2ms)

Add deleted column to acs-lang 'package-list', and fixed number of messages depending on status, making it coherent with 'message-list'. Also fixed translated/untranslated count on default locale in 'message-list'. Version bump.

    • -0
    • +1
    ./catalog/acs-lang.en_US.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.es_ES.ISO-8859-1.xml
file package-list.xql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/admin/package-list.xql
Fix untranslated count and view on acs-lang 'message-list' + some refactoring

Fix acs-lang 'admin/message-list' page, making the number of messages in different states coherent, and general refactoring

HTML cleanup

Whitespace changes

Fix message key description edition

    • -7
    • +4
    ./www/admin/edit-localized-message.tcl
Add 'message-undelete' page to make use of the new '::message::undelete' proc for undeleting messages, a couple of icons, the undelete option in 'message-list' and the undelete action in automated tests

  1. … 2 more files in changeset.
file message-undelete.adp was initially added on branch oacs-5-10.

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

    • -0
    • +0
    ./www/admin/message-undelete.tcl
Add 'lang::message::undelete', in order to provide an API for undeletion of messages deleted via 'lang::message::delete', and modify 'lang::message::edit' accordingly. Next step would be to provide a user interface for it.