Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 195ce3ea8f0b0ee32c8bc6f61efbbca2d09107f2
Ticket: 3544988fffffffffffffffffffffffffffffffff
Add msgcat current file local
User & Date: oehhar on 2012-08-28 14:09:53
Changes

  1. icomment:
    Thank you for the branch and the documentation.
    
    I have the following remarks:
    
    1) clock.tcl explicitly requires msgcat 1.4 - if version 1.5 is used, this must be changed.
    
    2) the part with the mcconfig command was removed, which is also contained in the tip.
      I personally like such opaque things where the file locale may be accessed, but this is not mandatory.
    
    3) if the file locale is hidden to the user (by removing the mcconfig command), I would add a bit code to
      treat recursive calls to mcload:
      if {[info exists FileLocale} {set FileLocaleUp $FileLocale}
      ...
      if {[info exists FileLocaleUp]} {set FileLocale $FileLocaleUp} else {unset FileLocale}
    
    4) msgcat.test
      - The easiest would be to copy the whole msgcat-5.* tests and repeat them with mcflset commands
      - In addition:
      - Add a test where mcflset is called outside an mcload -> error message
      - Add a test where mcload commands are nested
    
    Thank you,
    Harald
    
    
  2. login: "oehhar"
  3. mimetype: "text/plain"
  4. username: "oehhar"