]> git.lyx.org Git - lyx.git/blobdiff - src/Language.h
Disable language combo if there is nothing to select
[lyx.git] / src / Language.h
index 9587d7987a79d032ec6671d084baefdb5131263c..85df29d8d98a9700e2e6d116d90e7729e4e82c14 100644 (file)
@@ -86,6 +86,8 @@ public:
        bool internalFontEncoding() const { return internal_enc_; }
        /// The most suitable font encoding(s) for the selected document font
        std::string fontenc(BufferParams const &) const;
+       /// Return the localized date formats (long, medium, short format)
+       std::string dateFormat(size_t i) const;
        /// This language needs to be passed to babel itself (not the class)
        bool asBabelOptions() const { return as_babel_options_; }
        /// This language corresponds to a translation of the GUI
@@ -134,6 +136,8 @@ private:
        ///
        std::vector<std::string> fontenc_;
        ///
+       std::vector<std::string> dateformats_;
+       ///
        bool internal_enc_;
        ///
        bool as_babel_options_;