Skip to content

Max lines check #20714

Description

@michael-smt

Describe the problem

On multi-line strings it is not possible to check for a maximum amount of lines.

For example when translating for displays that can show a certain amount of lines of text.

Solution brainstorm

Add a max-lines:<value> check that triggers when the amount of lines exceeds the value.

Describe alternatives you have considered

  • Have the source string always use the max amount of lines and rely on the newline-count: cumbersome, means having to always append the full amount of empty lines to translations.

Screenshots

No response

Additional context

The newline-count is not sufficient, because with a compact source language like English there might be less lines used in the source string than are actually available.

Metadata

Metadata

Assignees

No one assigned

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions