mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Fix quote menu item, from Dan
Current language is relevant here, not main language
This commit is contained in:
parent
6141b437b1
commit
7aa00f0b92
@ -1967,7 +1967,7 @@ void MenuDefinition::expandQuotes(BufferView const * bv)
|
|||||||
add(MenuItem(MenuItem::Command, toqstr(desc), cmd));
|
add(MenuItem(MenuItem::Command, toqstr(desc), cmd));
|
||||||
}
|
}
|
||||||
if (!main_langdef_qs) {
|
if (!main_langdef_qs) {
|
||||||
FuncRequest cmd = FuncRequest(LFUN_INSET_MODIFY, subcmd + globalqsc + wildcards);
|
FuncRequest cmd = FuncRequest(LFUN_INSET_MODIFY, subcmd + langqs + wildcards);
|
||||||
docstring const desc = (main_dynamic_qs || display_static)
|
docstring const desc = (main_dynamic_qs || display_static)
|
||||||
? bformat(_("Reset to language default (%1$s, %2$s)|l"),
|
? bformat(_("Reset to language default (%1$s, %2$s)|l"),
|
||||||
quoteparams.getGuiLabel(langdefqs), _("static[[Quotes]]"))
|
quoteparams.getGuiLabel(langdefqs), _("static[[Quotes]]"))
|
||||||
|
Loading…
Reference in New Issue
Block a user