Skip to main content

Rigi Documentation

QT Parser for TS files

Parser ID: ts.

Format: https://doc.qt.io/qt-5/linguist-ts-file-format.html.

Parser settings:

  • Comment to include in string id (idComment).

    Rigi creates unique string IDs. Use this setting to specify if and which comment attribute shall be included in the string ID.

    Table 14.

    Setting

    Description

    oldcomment

    Include the oldcomment as part of the string ID.

    comment

    Include the comment as part of the string ID.

    Do not include comment information in the string ID (default).

    extracomment

    Include the extracomment as part of the string ID.


Generate target file

The following settings apply to the generated target files.

  • Escape above 0x7F (EscapeAbove0x7F).

    Default: false.

    If true, all characters with codes greater than 7F are written in their escaped form.

  • Indentation (indentation).

    An integer value that specifies the indentation of elements in the generated file.

  • ' and " (writeEntities).

    Default: true.

    If true, then the single quotation marks are written as ' and double quotation marks are written as &quot.

  • Write nbsp as (writeNbsp).

    Default:  .

    Defines how the non-breaking space must be written to the file.

For other parser settings, see the Generic parser settings article.