Pass the locale settings from loleaflet to wsd/kit.

Change-Id: Ie530db73cfbdb62787f16eae0f4b07fbf8b8acb4
This commit is contained in:
Jan Holesovsky
2017-03-24 12:34:32 +01:00
parent 5c8fb67863
commit 9f17050a7d
9 changed files with 42 additions and 14 deletions

View File

@ -116,19 +116,19 @@ private:
std::mutex _mutex;
protected:
// The actual URL, also in the child, even if the child never accesses that.
/// The actual URL, also in the child, even if the child never accesses that.
std::string _docURL;
// The Jailed document path.
/// The Jailed document path.
std::string _jailedFilePath;
// Password provided, if any, to open the document
/// Password provided, if any, to open the document
std::string _docPassword;
// If password is provided or not
/// If password is provided or not
bool _haveDocPassword;
// Whether document is password protected
/// Whether document is password protected
bool _isDocPasswordProtected;
/// Document options: a JSON string, containing options (rendering, also possibly load in the future).
@ -139,6 +139,9 @@ protected:
/// Name of the user to whom the session belongs to
std::string _userName;
/// Language for the document based on what the user has in the UI.
std::string _lang;
};
#endif