]> git.lyx.org Git - lyx.git/blobdiff - src/Language.cpp
Update fr.po
[lyx.git] / src / Language.cpp
index 9801668846b998b1377535eff9f77cd01eb4f6ef..31212cba2894c1e624d45fb7ec9cbbd6eabe4553 100644 (file)
@@ -44,6 +44,12 @@ bool Language::isPolyglossiaExclusive() const
 }
 
 
+bool Language::isBabelExclusive() const
+{
+       return !babel().empty() && polyglossia().empty() && requires().empty();
+}
+
+
 docstring const Language::translateLayout(string const & m) const
 {
        if (m.empty())
@@ -323,7 +329,7 @@ Match match(string const & code, Language const & lang)
        return NoMatch;
 }
 
-}
+} // namespace
 
 
 void Languages::readLayoutTranslations(support::FileName const & filename)