lang-catalog-procs.tcl

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve robustness of "file delete" operations

  1. … 19 more files in changeset.
Get rid of strange construct: [lindex [array get $array $name] 1]

  1. … 5 more files in changeset.
Some more Tcl cleanup

- use curly brackes to enable byte code compilation

- don't use "[expr ...]" when not needed

- prefer "incr i -1" over "set i [expr {$i - 1}] "

  1. … 15 more files in changeset.
- prefer ns_quotehtml over ad_quotehtml

  1. … 28 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- remove globals for errorInfo and use namespace qualifiers instead

  1. … 15 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- reduce number of remaining "string equal" operations

- modernize tcl

- fix output of descriptions into catalog files

- get rid of empty_string_p in non-deprecated code

- make use of tcl byte-code compiler

  1. … 42 more files in changeset.
Completed work for getting rid of usage of deprecated "template::util::multirow_foreach". Reducing complexity of lang::catalog::all_messages_for_package_and_locale.

- work towards getting rid of deprecated "template::util::multirow_foreach"

Rolling back Jeff commit. Doesn't work well with template::multirow foreach when exporting catalogs

use template::multirow foreach rather that the deprecated version; fix template::multirow so it works when adp_level is undefined

  1. … 2 more files in changeset.
Rollingback (OACS-5-4 Branch) implementation of TIP 113 and bugfixes committed after that.

Removing this functionality was decided by OCT on April 16 2008.

Commits removed on HEAD:

http://xarg.net/tools/cvs/change-set-details?key=29129

http://xarg.net/tools/cvs/change-set-details?key=28264

http://xarg.net/tools/cvs/change-set-details?key=28219

http://xarg.net/tools/cvs/change-set-details?key=28218

This needs to be correctly implemented in the future.

  1. … 14 more files in changeset.
Rollingback (HEAD) implementation of TIP 113 and bugfixes committed after that.

Removing this functionality was decided by OCT on April 16 2008.

Commits removed on HEAD:

http://xarg.net/tools/cvs/change-set-details?key=28264

http://xarg.net/tools/cvs/change-set-details?key=28219

http://xarg.net/tools/cvs/change-set-details?key=28218

This needs to be correctly implemented in the future.

  1. … 14 more files in changeset.
Removed version info from catalog file code as was TIP'd ages ago, which

will make merging much easier in the future. I had en_US and de_DE installed

so the catalogs for these languages in core have been exported and don't

have version numbers. The rest of the packages and locales for core and

dotlrn will be exported from the translation server as part of our release

process and will get fixed up then.

  1. … 17 more files in changeset.
Minor bugfix to make sure that the parameter is found even when upgrading the packages

  1. … 1 more file in changeset.
Fixing two things I forgot

  1. … 2 more files in changeset.
Introduced (from AIMS product by Quest) the KeepLocalTranslations Parameter which allows anyone to keep their local changes even if the merge function believes the local change should be overwritten. A conflict is raised in this case. Additionally made sure we cannot register a message to a non existent package_key. Also be a little bit more conservative when deleting message keys (so they can only be deleted from the main locale, otherwise only unregistered

  1. … 14 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
It does not make sense to export acs-translations at all because the object_ids are different from site tot site

remove the acs-lang procs which were deprecated/warn in 5.0; fix lingering references to deprecated procs

  1. … 32 more files in changeset.
merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 293 more files in changeset.
making import procs report errors encountered. Making message::register proc throw error if en_US message doesn't already exist. Adding message::revert proc.

  1. … 1 more file in changeset.
merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.
changing to always create catalog backup file on export even if one already exists (not sure if this is necessarily the right thing to do, but at least it's what I seem to need most often)

number of processed messages wasn't being counted properly by import_messages proc