diff options
Diffstat (limited to 'platform/get_text_by_id.hpp')
-rw-r--r-- | platform/get_text_by_id.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/get_text_by_id.hpp b/platform/get_text_by_id.hpp index 9a6fd38467..b153617820 100644 --- a/platform/get_text_by_id.hpp +++ b/platform/get_text_by_id.hpp @@ -50,4 +50,8 @@ private: /// * a factory returns nullptr TGetTextByIdPtr GetTextByIdFactory(TextSource textSource, string const & localeName); TGetTextByIdPtr ForTestingGetTextByIdFactory(string const & jsonBuffer, string const & localeName); + +/// \bried fills jsonBuffer with json file in twine format with strings in a language of localeName. +/// @return true if no error was happened and false otherwise. +bool GetJsonBuffer(platform::TextSource textSource, string const & localeName, string & jsonBuffer); } // namespace platform |