X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvspace.C;h=c1fdbf71ad93d5747f5dc0a219b58b96658fdd18;hb=16b2e76d1a7f8f5037d3d2e9fb78baeb4f67b0c6;hp=341229483c094c05b905ad62e79a7b6cc178c4f9;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/vspace.C b/src/vspace.C index 341229483c..c1fdbf71ad 100644 --- a/src/vspace.C +++ b/src/vspace.C @@ -482,31 +482,31 @@ string const VSpace::asLatexCommand(BufferParams const & params) const } -string const VSpace::asGUIName() const +docstring const VSpace::asGUIName() const { - string result; + docstring result; switch (kind_) { case DEFSKIP: - result = to_utf8(_("Default skip")); + result = _("Default skip"); break; case SMALLSKIP: - result = to_utf8(_("Small skip")); + result = _("Small skip"); break; case MEDSKIP: - result = to_utf8(_("Medium skip")); + result = _("Medium skip"); break; case BIGSKIP: - result = to_utf8(_("Big skip")); + result = _("Big skip"); break; case VFILL: - result = to_utf8(_("Vertical fill")); + result = _("Vertical fill"); break; case LENGTH: - result = len_.asString(); + result = from_ascii(len_.asString()); break; } if (keep_) - result += ", " + to_utf8(_("protected")); + result += ", " + _("protected"); return result; }