- ost << lcolor.getGUIName(color()) << ", ";
- if (emph() != INHERIT) {
-#if USE_BOOST_FORMAT
- ost << boost::format(_("Emphasis %1$s, "))
- % _(GUIMiscNames[emph()]);
-#else
- ost << _("Emphasis ") << _(GUIMiscNames[emph()]) << ", ";
-#endif
- }
- if (underbar() != INHERIT) {
-#if USE_BOOST_FORMAT
- ost << boost::format(_("Underline %1$s, "))
- % _(GUIMiscNames[underbar()]);
-#else
- ost << _("Underline ") << _(GUIMiscNames[underbar()]) << ", ";
-#endif
- }
- if (noun() != INHERIT) {
-#if USE_BOOST_FORMAT
- ost << boost::format(_("Noun %1$s, "))
- % _(GUIMiscNames[noun()]);
-#else
- ost << _("Noun ") << _(GUIMiscNames[noun()]) << ", ";
-#endif
- }
+ os << lcolor.getGUIName(color()) << ", ";
+ if (emph() != INHERIT)
+ os << to_utf8(bformat(_("Emphasis %1$s, "),
+ _(GUIMiscNames[emph()])));
+ if (underbar() != INHERIT)
+ os << to_utf8(bformat(_("Underline %1$s, "),
+ _(GUIMiscNames[underbar()])));
+ if (noun() != INHERIT)
+ os << to_utf8(bformat(_("Noun %1$s, "),
+ _(GUIMiscNames[noun()])));