lyx_mirror/src
Jean-Marc Lasgouttes f64349db8d 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 GUI language when no language has been specified (this is
different and probably safer than what is done in master).

A consequence of the commit is that "elsewhere" will be in the po
files and now really translatable ;)

(cherry picked from commit 6f6d9b631d)
2024-07-10 15:23:46 +02:00
..
client Cmake build Qt6: Remove some redundant statements. 2021-03-24 11:42:39 +01:00
convert Use bool literals 2020-11-01 22:24:48 +02:00
frontends Remove unneeded cycle checks (#12954) 2024-07-03 09:50:52 +02:00
graphics Merge branch '2.4.x' into 2.4.1-devel 2024-06-02 21:49:54 -04:00
insets Fix display of page references when language is not specified 2024-07-10 15:23:46 +02:00
mathed Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
support Remove performance bottleneck in getAuthors() 2024-07-05 18:54:03 +02:00
tests Amend febd1855eb: fix compilability 2022-12-28 12:57:45 +01:00
tex2lyx Using the latest commit and building lyx with cmake on macos-sonoma with 2024-03-20 11:44:22 +01:00
.gitignore
AppleSpellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AppleSpellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
AspellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Author.cpp Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
Author.h Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
BiblioInfo.cpp Cut excessively long author lists before parsing them for the GUI 2024-07-05 18:54:27 +02:00
BiblioInfo.h Cut excessively long author lists before parsing them for the GUI 2024-07-05 18:54:27 +02:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp Copy/paste error in BranchList::setColors 2021-01-29 18:51:19 +01:00
BranchList.h Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
buffer_funcs.cpp
buffer_funcs.h
Buffer.cpp Fix bug #12934 2024-06-01 13:05:42 -04:00
Buffer.h Fix bug #13017. 2024-01-11 17:23:52 -05:00
BufferEncodings.cpp CharInfo: allow to store several commands (both text and math) for each character. 2022-02-20 01:33:03 +01:00
BufferEncodings.h
BufferList.cpp Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
BufferList.h
BufferParams.cpp avoid adding redundant preamble to double column hebrew documents (#12919) 2024-06-03 21:05:20 +03:00
BufferParams.h Consider PackageOptions with parskip 2023-10-30 12:54:29 +01:00
BufferView.cpp Always repaint the gray area below main inset 2024-04-18 16:46:38 +02:00
BufferView.h Implement quick scroll 2024-04-18 16:45:58 +02:00
Bullet.cpp Whitespace 2022-03-05 13:45:27 +01:00
Bullet.h Use a more transparent lexic for bullet label functions 2022-03-05 09:00:47 +01:00
Changes.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Changes.h More enums & includes refactoring 2020-12-06 18:26:41 +02:00
Chktex.cpp
Chktex.h
Citation.h
CiteEnginesList.cpp Change name in source files 2020-12-05 17:17:02 -05:00
CiteEnginesList.h Change name in source files 2020-12-05 17:17:02 -05:00
CMakeLists.txt prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
CmdDef.cpp
CmdDef.h
Color.cpp Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
Color.h Branch: Implement separate static colors in dark mode 2021-01-19 17:04:04 +01:00
ColorCode.h Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
ColorSet.h Set GUI name for local greyedouttext color (#12130) 2021-02-11 09:05:42 +01:00
Compare.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Compare.h Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
CompletionList.h
Converter.cpp Amend 12e3d46b 2023-09-23 16:18:28 +02:00
Converter.h Revert "Do not return copies of string members" 2023-05-15 17:13:41 +02:00
ConverterCache.cpp Refactor checksum calculation 2020-11-21 20:32:43 +02:00
ConverterCache.h
CoordCache.cpp Group most verbose dbg output into more intuitive categories. 2023-07-18 22:25:28 +02:00
CoordCache.h Revert a9c6fb0c. 2023-07-27 22:39:49 +02:00
Counters.cpp Fix reference to temporary 2023-07-29 14:41:22 -04:00
Counters.h New RefFormat tag for counters, and PrettyFormat for floats. 2023-07-28 17:37:13 -04:00
Cursor.cpp Remove setBuffer call in Cursor::push. 2024-07-05 12:28:40 +02:00
Cursor.h Fix word selection expansion when going to the left 2023-11-06 11:53:03 +01:00
CursorSlice.cpp Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CursorSlice.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CutAndPaste.cpp Fix assertion when pasting paragraph with insets in lyxrc.ct_markup_copied 2024-04-07 06:31:26 +02:00
CutAndPaste.h Introduce new function copyInsetToTemp 2022-11-04 21:44:24 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h Simplify constructors 2020-11-20 15:57:26 +02:00
DispatchResult.h
DocIterator.cpp Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
DocIterator.h Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
DocumentClassPtr.h Change name in source files 2020-12-05 17:17:02 -05:00
EnchantChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
EnchantChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Encoding.cpp Amend 04bfbc0f 2023-09-30 20:20:03 -04:00
Encoding.h Amend 3f9e21b8 2022-03-06 23:01:56 +01:00
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Rename subindex to subentry 2022-10-31 06:51:38 +01:00
factory.h
Floating.cpp Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages. 2022-03-01 16:05:42 +01:00
Floating.h Another indentation fix 2022-02-27 14:53:01 +01:00
FloatList.cpp
FloatList.h
Font.cpp Return false on invalid input in Font::fromString() 2024-06-09 13:10:05 -04:00
Font.h Improve some debug messages 2020-11-26 11:09:17 +01:00
FontEnums.h
FontInfo.cpp Simplify Changers 2020-11-12 14:22:00 +02:00
FontInfo.h Fix display of emphasize in slanted text 2021-03-07 13:32:34 +01:00
FontList.cpp
FontList.h
Format.cpp Fix bug #3205. 2021-01-10 00:43:01 -05:00
Format.h Better naming for enums 2020-12-01 00:46:21 +02:00
FuncCode.h Allow relative statistics values in statusbar. 2024-04-05 19:44:25 +02:00
FuncRequest.cpp Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncRequest.h Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Change name in source files 2020-12-05 17:17:02 -05:00
Graph.h Change name in source files 2020-12-05 17:17:02 -05:00
HunspellChecker.cpp Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
HunspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
IndicesList.cpp
IndicesList.h
InsetIterator.cpp Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetIterator.h Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Detect when one tries to bind a lfun to a prefix of longer commands 2023-07-22 00:01:34 +02:00
KeyMap.h Detect when one tries to bind a lfun to a prefix of longer commands 2023-07-22 00:01:34 +02:00
KeySequence.cpp Cleanup included headers 2020-11-30 13:04:54 +02:00
KeySequence.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.cpp Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.h
LaTeX.cpp Limit nomencl backwards support to case when old package is really used 2023-11-08 16:17:58 +01:00
LaTeX.h Merge namespace signals2 into namespace lyx 2020-12-19 22:52:51 +02:00
LaTeXFeatures.cpp Fix change tracking colors with RTL languages (#12923) 2024-06-10 15:20:16 +03:00
LaTeXFeatures.h LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
LaTeXFonts.cpp Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXFonts.h Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXPackages.cpp Handle the case of outdated chkconfig.ltx in user directory 2024-04-21 09:36:21 +02:00
LaTeXPackages.h Handle the case of outdated chkconfig.ltx in user directory 2024-04-21 09:36:21 +02:00
Layout.cpp Introduce NeedCProtect -1 layout option 2024-05-15 13:25:03 +02:00
Layout.h Introduce NeedCProtect -1 layout option 2024-05-15 13:25:03 +02:00
LayoutEnums.h
LayoutFile.cpp Include standard <regex> 2020-11-29 15:27:28 +02:00
LayoutFile.h Change name in source files 2020-12-05 17:17:02 -05:00
LayoutModuleList.cpp Sync with master 2022-10-26 10:52:21 +02:00
LayoutModuleList.h Sync with master 2022-10-26 10:52:21 +02:00
Lexer.cpp Fix bug #12852. 2023-08-16 17:51:55 -04:00
Lexer.h Correct the description of Lexer::getLongString 2023-01-10 16:25:48 +01:00
lyx_commit_hash.h.in
LyX.cpp Fix support for screen fractional scaling with Wayland 2024-02-29 10:28:15 +01:00
LyX.h Fix support for screen fractional scaling with Wayland 2024-02-29 10:28:15 +01:00
LyXAction.cpp Let the middle button pasting respect newlines by default. 2024-06-24 22:39:20 +02:00
LyXAction.h Use range-based loops 2020-11-21 20:32:16 +02:00
lyxfind.cpp Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
lyxfind.h refactor: keep meaning of a variable consistent 2021-07-16 15:50:30 -04:00
LyXRC.cpp Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
LyXRC.h Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
LyXVC.cpp Typo 2020-12-19 18:29:10 +01:00
LyXVC.h Use right style for private member 2020-12-18 14:30:21 -05:00
lyxwinres.rc
main.cpp Set correct Windows console code page since all LyX output is in UTF-8 2021-03-12 18:15:33 +02:00
Makefile.am Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
MetricsInfo.cpp Fix display of a math hull inset in a tight inset 2024-03-22 15:40:40 +01:00
MetricsInfo.h Fix display of a math hull inset in a tight inset 2024-03-22 15:40:40 +01:00
ModuleList.cpp Change name in source files 2020-12-05 17:17:02 -05:00
ModuleList.h Change name in source files 2020-12-05 17:17:02 -05:00
Mover.cpp Add new placeholder $${python} to configure 2022-01-04 00:21:34 +00:00
Mover.h Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header. 2023-11-10 13:14:34 +01:00
output_docbook.cpp Update comment: a function was renamed. 2024-02-26 02:17:48 +01:00
output_docbook.h DocBook: add some TODOs for the future. 2022-12-27 00:03:07 +01:00
output_latex.cpp \cprotect amendment 2024-06-22 20:03:56 +02:00
output_latex.h Do not try to pop from an empty stack 2022-02-04 17:23:52 +01:00
output_plaintext.cpp Refactor InsetQuotes.h enums 2020-12-01 00:46:09 +02:00
output_plaintext.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
output_xhtml.cpp XHTML: export paragraph IDs also for list items, but not for the opening tag of the list. 2024-06-02 11:59:41 +02:00
output_xhtml.h Change name in source files 2020-12-05 17:17:02 -05:00
output.cpp
output.h
OutputEnums.h Change name in source files 2020-12-05 17:17:02 -05:00
OutputParams.cpp Account for babel's bidi option (#12866) 2023-08-17 14:25:33 +02:00
OutputParams.h Introduce NeedCProtect -1 layout option 2024-05-15 13:25:03 +02:00
paper.h
Paragraph.cpp Amend a716fb96b5 2024-05-15 13:33:18 +02:00
Paragraph.h Fix brokenBiblio() and fixBiblio() with change tracking (#12909) 2023-09-16 08:34:43 +02:00
ParagraphList.h
ParagraphMetrics.cpp At metrics time, store paragraph id too 2023-03-03 10:34:18 +01:00
ParagraphMetrics.h Introduce new helpers ParagraphMetrics::top/bottom 2024-04-18 16:45:58 +02:00
ParagraphParameters.cpp Match header/source function argument naming 2020-11-01 22:23:44 +02:00
ParagraphParameters.h Use const references 2020-11-01 22:23:26 +02:00
ParIterator.cpp Remove useless casts reported by GCC with -Wuseless-cast option 2021-09-30 10:37:24 +03:00
ParIterator.h Get rid of std::iterator 2021-10-15 18:13:09 +02:00
PDFOptions.cpp Extend flexible version check to packages 2022-12-19 17:42:27 +01:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
Row.cpp Revert "Fix display of a math hull inset in a tight inset" 2024-03-22 15:08:26 +01:00
Row.h Avoid row breaking at inconvenient places. 2023-09-25 12:46:54 +02:00
RowFlags.h Sync with master 2022-10-26 10:52:21 +02:00
RowPainter.cpp Do not draw appendix lines below en of document 2024-06-06 18:18:02 +02:00
RowPainter.h Display bookmarks in the workarea (take 2). 2021-02-26 19:09:25 +01:00
Server.cpp Use specialized WINAPI functions for specialized arguments 2021-06-19 10:48:15 +02:00
Server.h Add missing header include 2020-12-20 12:42:04 +01:00
ServerSocket.cpp
ServerSocket.h
Session.cpp Fix compiler warning about unused string consts 2023-04-26 14:06:25 -04:00
Session.h Sync with master 2022-10-26 10:52:21 +02:00
Spacing.cpp Use iround function, amend c0ce79452f 2020-11-27 12:16:50 +02:00
Spacing.h
SpellChecker.h Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
TexRow.cpp Sync with master 2022-10-26 10:52:21 +02:00
TexRow.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
texstream.cpp Sync with master 2022-10-26 10:52:21 +02:00
texstream.h
Text.cpp Let the middle button pasting respect newlines by default. 2024-06-24 22:39:20 +02:00
Text.h Avoid crash when inserting macro template in tabular inset 2024-02-27 18:21:57 +01:00
TextClass.cpp Strip quotes from PackageOptions. Amends a77c84a0b4 2024-06-06 19:00:34 +02:00
TextClass.h Fix bug #12068 2021-01-14 01:15:19 -05:00
TextMetrics.cpp Merge branch '2.4.x' into 2.4.1-devel 2024-06-02 21:49:54 -04:00
TextMetrics.h Improve the code that limits scrolling at top/bottom 2024-04-18 16:45:58 +02:00
Thesaurus.cpp Use const references 2020-11-01 22:23:26 +02:00
Thesaurus.h
Toc.h
TocBackend.cpp Sync with master 2022-10-26 10:52:21 +02:00
TocBackend.h Display equation/theorem numbers in insert cross reference dialog. 2023-07-26 13:35:42 -04:00
TocBuilder.cpp Fix wrong nesting in Outline. 2023-07-28 10:31:54 +02:00
TocBuilder.h
Trans.cpp
Trans.h
Undo.cpp Make undo action no-ops when the buffer is read-only 2022-02-20 19:48:13 +01:00
Undo.h Fixup 3aab9ad2: improve UndoGroupHelper docs again. 2021-11-14 19:14:31 +01:00
update_flags.h Next runtime messages to be ommitted if compiled with clang using flag '-fsanitize'. 2022-01-23 20:13:26 +01:00
VCBackend.cpp * better wording 2021-10-21 16:01:57 +02:00
VCBackend.h Remove redundant semicolons reported by GCC with -Wextra-semi option 2021-09-28 11:28:43 +03:00
version.cpp
version.h Introduce default box frame color (#12921) 2023-09-30 09:56:27 +02:00
VSpace.cpp Sync with master 2022-10-26 10:52:21 +02:00
VSpace.h
WordLangTuple.h Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
WordList.cpp
WordList.h Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header. 2023-11-10 13:14:34 +01:00
xml.cpp DocBook: fix case with emphasis at end of footnote 2023-09-25 10:41:21 -04:00
xml.h DocBook: fix case with emphasis at end of footnote 2023-09-25 10:41:21 -04:00