mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Make GUI string translatable
Part of #10999
(cherry picked from commit 26755a015e
)
This commit is contained in:
parent
f66807dd80
commit
0df51f0f85
@ -341,7 +341,7 @@ void GuiBox::paramsToDialog(Inset const * inset)
|
||||
// add the entry "Stretch" if the box is \makebox or \framebox and if not already there
|
||||
if ((inner_type == "makebox" || (type == "Boxed" && inner_type == "none"))
|
||||
&& halignCO->count() < 4)
|
||||
halignCO->addItem(toqstr("Stretch"));
|
||||
halignCO->addItem(qt_("Stretch"));
|
||||
else if (inner_type != "makebox" && (type != "Boxed" && inner_type != "none"))
|
||||
halignCO->removeItem(3);
|
||||
// pagebreak is only allowed for Boxed without inner box
|
||||
@ -556,7 +556,7 @@ bool GuiBox::checkWidgets(bool readonly) const
|
||||
// add the entry "Stretch" if the box is \makebox or \framebox and if not already there
|
||||
if ((itype == "makebox" || (outer == "Boxed" && itype == "none"))
|
||||
&& halignCO->count() < 4)
|
||||
halignCO->addItem(toqstr("Stretch"));
|
||||
halignCO->addItem(qt_("Stretch"));
|
||||
else if (itype != "makebox" && (outer != "Boxed" && itype != "none"))
|
||||
halignCO->removeItem(3);
|
||||
// pagebreak is only allowed for Boxed without inner box
|
||||
|
@ -142,6 +142,8 @@ What's new
|
||||
|
||||
- Enable OK/Apply buttons when resetting to class defaults.
|
||||
|
||||
- Fix untranslated GUI string in Box dialog (bug 10999).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user