#include "support/convert.h"
#include "support/Length.h"
#include "support/lstrings.h"
+#include "support/qstring_helpers.h"
#include "support/lassert.h"
result = _("Vertical fill");
break;
case LENGTH:
- result = from_ascii(len_.asString());
+ result = locLengthDocString(from_ascii(len_.asString()));
break;
}
if (keep_)
#include "support/lassert.h"
#include "support/Length.h"
#include "support/lstrings.h"
+#include "support/qstring_helpers.h"
#include "frontends/Application.h"
#include "frontends/FontMetrics.h"
case InsetSpaceParams::CUSTOM:
// FIXME unicode
message = support::bformat(_("Horizontal Space (%1$s)"),
- from_ascii(params_.length.asString()));
+ locLengthDocString(from_ascii(params_.length.asString())));
break;
case InsetSpaceParams::CUSTOM_PROTECTED:
// FIXME unicode
message = support::bformat(_("Non-Breaking Horizontal Space (%1$s)"),
- from_ascii(params_.length.asString()));
+ locLengthDocString(from_ascii(params_.length.asString())));
break;
}
return message;