mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
parent
92f8612ace
commit
48e7b1d01e
@ -442,10 +442,9 @@ void InsetCaption::updateBuffer(ParIterator const & it, UpdateType utype, bool c
|
||||
sec += from_ascii(" ");
|
||||
sec += bformat(from_ascii("(%1$s)"), labelstring);
|
||||
}
|
||||
if (!sec.empty())
|
||||
full_label_ = bformat(from_ascii("%1$s %2$s: "), name, sec);
|
||||
else
|
||||
full_label_ = bformat(from_ascii("%1$s #: "), name);
|
||||
if (sec.empty())
|
||||
sec = from_ascii("#");
|
||||
full_label_ = bformat(master.B_("%1$s %2$s: [[Caption label (ex. Figure 1: )]]"), name, sec);
|
||||
}
|
||||
|
||||
// Do the real work now.
|
||||
|
Loading…
Reference in New Issue
Block a user