Changes between Version 3 and Version 4 of Ticket #2112


Ignore:
Timestamp:
03/13/2015 02:30:11 PM (6 years ago)
Author:
trev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2112 – Description

    v3 v4  
    11=== Background === 
    2 Currently there is an occasional patterns like `$s123$ 20 $s124$` in our source code. The two strings `s123` and `s124` should really be one string but the number `20` is fixed and preventing these strings from being merged. 
     2Currently there is an occasional patterns like `{{s123 There are more than}} 20 {{s124 million users}}` in our pages. The two strings `s123` and `s124` should really be one string but the number `20` is fixed and preventing these strings from being merged. 
    33 
    44=== What to change === 
    5 Support inserting fixed strings into a localizable string in addition to links, e.g. as `$s123("20")$`. The insertion points for fixed strings should be indicated as `{1}` and `{2}` in the strings: `There are more than {1} million users.` 
     5Support inserting fixed strings into a localizable string, e.g. as `{{s123 There are more than <fix>20</fix> s124 million users}}`. The actual string to be translated should be `There are more than {1} million users.` - insertion points for fixed strings should be indicated by placeholders `{1}` and `{2}`.