if (it != layoutTranslations_.end())
return it->second;
- return from_ascii(m);
+ docstring t = from_ascii(m);
+ cleanTranslation(t);
+ return t;
}
LA_POLYGLOSSIAOPTS,
LA_POSTBABELPREAMBLE,
LA_PREBABELPREAMBLE,
+ LA_REQUIRES,
LA_RTL
};
{ "polyglossiaopts", LA_POLYGLOSSIAOPTS },
{ "postbabelpreamble", LA_POSTBABELPREAMBLE },
{ "prebabelpreamble", LA_PREBABELPREAMBLE },
+ { "requires", LA_REQUIRES },
{ "rtl", LA_RTL }
};
babel_presettings_ =
lex.getLongString("EndPreBabelPreamble");
break;
+ case LA_REQUIRES:
+ lex >> requires_;
+ break;
case LA_RTL:
lex >> rightToLeft_;
break;