Changes between Version 5 and Version 6 of Submitting/TclTk


Ignore:
Timestamp:
Jun 21, 2014, 5:24:07 AM (10 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/TclTk

    v5 v6  
    5454== Messages ==
    5555
    56 Always use the gettext macros with [G_msg "..."] for user messages.
     56Always use the gettext macros with `[G_msg "..."]` for user messages.
    5757    The string must be quoted using quotation marks, not braces, for
    5858    xgettext to find it. The string cannot include variable ($) or
     
    6161
    6262    Examples:
     63{{{
    6364    button .ok -text [G_msg "Ok"]
    6465
    6566    set statusbartext [format [G_msg "Monitor %d running"] $monitor_number]]
    66 
     67}}}
    6768    Use positional parameters if substitutions might be rearranged in another language:
    68 
     69{{{
    6970    format [G_msg "We produced %1\$d units in location %2\$s"] $num $city
    7071    format [G_msg "In location %2\$s we produced %1\$d units"] $num $city
    71 
     72}}}
    7273== Environmental Variables ==
    7374