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 should be included in the string ID.

    Table 14.

    Setting

    Description

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

    oldcomment

    Include the oldcomment as part of the string ID.

    comment

    Include the comment as part of the string ID.

    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.

  • Extracomment as comment (comment-extracomment).

    Default: true.

    When true, the extracomment comment field will be added as a comment to the string list.

  • Oldcomment as comment (comment-oldcomment).

    Default: true.

    When true, the oldcomment comment field will be added as a comment to the string list.

  • Comment as comment (comment-comment).

    Default: true.

    When true, the comment comment field will be added as a comment to the string list.

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