GiD - The personal pre and post processor

Multi-line phrases in Tcl


Although it is valid in Tcl, in general it is convenient to try to construct short sentences of a single line, to facilitate the task of the search program for strings in the files.

For example:
Worse:

set to [_ "Very long text and therefore can \
Occupy multiple lines"]


Better:

set to [_ "Shorter text in a single line of text"]

Another valid option, if the sentences of each line are independent, would be:

set to [_ "Very long text that spans several lines. "]
append to [_ "You can use append to join the lines"]


Instead, it would be wrong if the second line is a continuation of the first, since the independent translation of the lines may have a different meaning than the translation as a single phrase.

Incorrect:

set to [_ "very long text and therefore can"]
append to [_ "occupy multiple lines"]

COPYRIGHT © 2022 · GID · CIMNE