Capitalize labels of floats, etc. Fixes #11993.

Patch from Daniel.
This commit is contained in:
Richard Kimberly Heck 2021-01-03 14:38:49 -05:00
parent 8871229f5f
commit 33f9cfb796
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ OutlinerName index "Index Entries" #no AddToToc (built-in)
OutlinerName listing "Listings" #no AddToToc (built-in)
InsetLayout Marginal
LabelString margin
LabelString Margin
LatexType command
LatexName marginpar
Font

View File

@ -900,10 +900,10 @@ void InsetFloat::setSubfloat(bool s, bool update_label)
void InsetFloat::setNewLabel()
{
docstring lab = _("float: ");
docstring lab = _("Float: ");
if (params_.subfloat)
lab = _("subfloat: ");
lab = _("Subfloat: ");
lab += floatName(params_.type);

View File

@ -65,7 +65,7 @@ void InsetWrap::setCaptionType(std::string const & type)
{
InsetCaptionable::setCaptionType(type);
params_.type = captionType();
setLabel(_("wrap: ") + floatName(type));
setLabel(_("Wrap: ") + floatName(type));
}