localization-data-init.tcl

  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Address lc_time_fmt shortcomings:

- use clock scan to enforce supported date formats, 'YYYY-MM-DD' (undocumented, but explicitly checked for in the code) and 'YYYY-MM-DD HH:MM:SS'

- leverage clock scan capabilities to correctly handle 'impossible dates' such as 1999-02-29

- leverage clock format to obtain the correct week day

- leverage clock api to correctly handle gregorian/julian dates

- implement documented formats that had an empty entry in format array (%W, u, %U, %j)

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

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

  1. … 754 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.
- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 9 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.
include variable define for ::lang::util::percent_match

%D format (which should not be used) had month twice.

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
An attempt to speed up the lc_time_fmt call, which gets hit 10+ times per page in calendar applications. We're now memoizing the compilation of % codes to tcl procs and vars. Also, we're no longer rebuilding the hash array of percent codes each time, instead using a namespace var that gets initialized in localization-data-init.tcl

  1. … 1 more file in changeset.
Adding comments to try and make sense of the money formatting data

changing localization data to be stored in the message catalog instead of in an nsv array so that those values can be set via a web interface instead of having to update a file

  1. … 23 more files in changeset.
adding italian locale

pt_BR (portugese - Brazil) datetime locale data provided by Roberto

march in norwegian should be mars, not marts, of course... Thanks Erik Valevatn

Adding norwegian datetime info. Thanks Erik Valevatn.

applying patch from Aldert Nooitgedagt changing currency symbol to euro and adding date-time data for dutch

adding russian date-time localization data, provided by Vadim Makarov

adding polish date-time localization data, provided by Marcin Kuczkowski

adding missing date localizations of the fi_FI locale, provided by Jarkko Laine

date and time related localization data added for Finnish by Jarkko Laine. Thanks Jarkko.

Date/time/number localization

  1. … 85 more files in changeset.
correct my email address.

  1. … 16 more files in changeset.

Forgot to define binary files before importing, so .gifs were messed up.

  1. … 2479 more files in changeset.
Initial revision

    • -0
    • +194
    ./localization-data-init.tcl
  1. … 2479 more files in changeset.