]> git.lyx.org Git - lyx.git/commit
Fix display of page references when language is not specified
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 5 Jul 2024 14:10:17 +0000 (16:10 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 5 Jul 2024 14:18:09 +0000 (16:18 +0200)
commit6f6d9b631d110fb71fcd99351b4f40d58451700a
tree07297145a76ba89f6a344aad484a14d2251df434
parent8ba74fe9589fca3b00134e4d4f1fc130ad960c69
Fix display of page references when language is not specified

Using translateIfPossible with null language does not make sense (and
gives an error on console).

Using translateIfPossible there actually does not make sense at all: it
is only for string from layout files that may already be translated.

We use the buffer language when no language has been specified. It
might have been better to use the GUI language.

A consequence of the commit is that "elsewhere" will be in the po
files and now really translatable ;)
src/insets/InsetRef.cpp