-namespace {
-
-string floatname(string const & type, BufferParams const & bp)
-{
- FloatList const & floats = bp.getLyXTextClass().floats();
- FloatList::const_iterator it = floats[type];
- if (it == floats.end())
- return type;
-
- return _(it->second.name());
-}
-
-} // namespace anon
-