• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed typo in message-key. Bump acs-lang version to reload message keys.

    • -1
    • +1
    ./catalog/acs-lang.de_DE.ISO-8859-1.xml
Trailing whitespace cleanup

Code cleanup: use "ad_form" for form processing and "ad_include_contract"; dropped support for "change-locale-include"-include attribute "return_p" as it was never used in the include's code.

    • -122
    • +94
    ./www/change-locale-include.tcl
move test cases for lc_monetary_currency to acs-outdated, where the definition lives

  1. … 2 more files in changeset.
use existing api

validate user_locale

improve handling of invalid (hacked) ad_locale cookies.

Previously, invalid ad_locale cookies lead to an error, which in turn

prevented all communication with OpenACS. So, a user had to delete the

cookie manually. Now, we just produce a warning, ignore and delete such

broken cookies.

improve spelling

Delete obsolete UI

Use 'ns_log Error' for error logging, instead of 'ns_log Notice: Error...'

  1. … 4 more files in changeset.
Fix typo

Do not rely on error trapping for file retrieval, introduce a test for this proc

improve spelling

  1. … 12 more files in changeset.
improve spelling

  1. … 7 more files in changeset.
Trailing whitespace cleanup

Prefer '==' over 'eq' on numeric comparison

  1. … 2 more files in changeset.
Prefer '==' over 'eq' on numeric comparison

lc_content_size_pretty: go the extra mile and return a localized 'byte' when the result is just 1 byte. Bump acs-lang version to reload message keys.

    • -0
    • +1
    ./catalog/acs-lang.ast_ES.ISO-8859-1.xml
    • -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
    • +2
    ./catalog/acs-lang.en_GB.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
  1. … 20 more files in changeset.
Add more translations for 'bytes'

    • -0
    • +1
    ./catalog/acs-lang.ast_ES.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.fr_FR.ISO-8859-1.xml
    • -0
    • +1
    ./catalog/acs-lang.gl_ES.ISO-8859-1.xml
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.