Am 10.03.2019 um 18:26 schrieb Jürgen Spitzmüller: > Am Sonntag, den 10.03.2019, 17:38 +0100 schrieb Jürgen Womser-Schütz: >> PS: If the small change is worth to merge in LyX: what is about the >> translation of the new introduced string into all supported languages > Our l7n machinery will catch this string and add it to the po files for > translation. The translators will handle it. > > BTW I would do > > docstring pre = file_exist_ ? docstring() : _("FILE MISSING: "); > > (not flag the empty string as translatable) and maybe also handle the > trailing space outside the translatable string, since this is prone to > be missed by translators. I.e., > > docstring pre = file_exist_ ? docstring() : _("FILE MISSING:"); > > ... > > return pre.empty() ? temp : pre + from_ascii(" ") + temp; > >> and whats about the LyX documentation (also all languages)?
Ahh, I see: _() is the C++ user defined flag for enabling the translation machinery! I couldn't find the definition :-( > Is there something to document here? I am not sure. Maybe not. I will have a look. Jürgen