| Index: src/shared/Dictionary.h |
| =================================================================== |
| --- a/src/shared/Dictionary.h |
| +++ b/src/shared/Dictionary.h |
| @@ -4,13 +4,14 @@ |
| #include <map> |
| #include <string> |
| #include <utility> |
| +#include "Utils.h" |
| class Dictionary |
| { |
| friend class DictionaryTest; |
| public: |
| - static void Create(const std::wstring& locale); |
| + static void Create(const std::wstring& locale, std::wstring basePath = Location::locales_dir() ); |
| static Dictionary* GetInstance(); |
| std::wstring Lookup(const std::string& section, const std::string& key) const; |
| @@ -21,7 +22,7 @@ |
| typedef std::map<KeyType,std::wstring> DataType; |
| DataType data; |
| - Dictionary(const std::wstring& locale); |
| + Dictionary(const std::wstring& locale, std::wstring basePath); |
| bool ReadDictionary(const std::wstring& basePath, const std::wstring& locale); |
| }; |