This patch adds a file "lib/languages_strings" tha contains translations to
label strings (Figure, Abstract etc.). These translations are used to
translate the label strings according to the language of the paragraph (no
need to edit the layout files!).

Notes:
1. The implementation is not very efficient: the translation is done every
time the label string is accessed. This can be changed that so that
LyXParagraph::labelstring will store the translated translated label, and it
is recomputed when there is an edit operation on the paragraph.

2. The implementation is specific to language translation. A more general
approach may be taken.

patch2.gz

languages_strings.gz

Reply via email to