Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9744

When there is wiki syntax in a parameter, the translation macro fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Major
    • None
    • 5.3-milestone-2
    • Localization
    • Unknown

    Description

      Here is the key:

      platform.wiki.sheet.desc.secure=If enabled, all this wiki''s generated externals URLs will starting with {0}.
      

      Here is the call

      {{translation key="platform.wiki.sheet.desc.secure" parameters="//https//" /}}
      

      Here is the result:

      If enabled, all this wiki''s generated externals URLs will starting with {0}. 
      

      But the following code does not fail:

      $services.localization.render("platform.wiki.sheet.desc.secure", ["//https//"])
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            gdelhumeau Guillaume Delhumeau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: