/
Multi-line phrases in Tcl
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"]
Related content
Multi-line phrases
Multi-line phrases
More like this
Specifying the index of the tcl-formatted parameter
Specifying the index of the tcl-formatted parameter
More like this
Typical errors
Typical errors
More like this
Mark strings to be translated
Mark strings to be translated
More like this
Marking Tcl/Tk code
Marking Tcl/Tk code
More like this
Strings with multiple meanings
Strings with multiple meanings
More like this
COPYRIGHT © 2022 · GID · CIMNE