mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 22:41:09 +00:00
Remove bad hack.
The macro N_() is a no-op which does exactly what is needed here: tell gettext that the string should be in the list of translations.
This commit is contained in:
parent
ffa6e74c74
commit
03b010b4ce
@ -126,7 +126,7 @@ string translateReadType(TextClass::ReadType rt)
|
|||||||
|
|
||||||
// This string should not be translated here,
|
// This string should not be translated here,
|
||||||
// because it is a layout identifier.
|
// because it is a layout identifier.
|
||||||
docstring const TextClass::plain_layout_ = from_ascii("Plain Layout");
|
docstring const TextClass::plain_layout_ = from_ascii(N_("Plain Layout"));
|
||||||
|
|
||||||
|
|
||||||
InsetLayout DocumentClass::plain_insetlayout_;
|
InsetLayout DocumentClass::plain_insetlayout_;
|
||||||
@ -155,7 +155,6 @@ TextClass::TextClass()
|
|||||||
titletype_ = TITLE_COMMAND_AFTER;
|
titletype_ = TITLE_COMMAND_AFTER;
|
||||||
titlename_ = "maketitle";
|
titlename_ = "maketitle";
|
||||||
loaded_ = false;
|
loaded_ = false;
|
||||||
_("Plain Layout"); // a hack to make this translatable
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user