hikyuu2/hikyuu_cpp/hikyuu_server/common/mo.cpp

19 lines
349 B
C++
Raw Normal View History

2021-05-02 02:10:27 +08:00
/*
* Copyright(C) 2021 hikyuu.org
*
2021-05-03 01:46:08 +08:00
* Create on: 2021-05-02
2021-05-02 02:10:27 +08:00
* Author: fasiondog
*/
#include "mo.h"
namespace hku {
2021-05-03 01:46:08 +08:00
std::unordered_map<std::string, moFileLib::moFileReader> MOHelper::ms_dict;
2021-05-02 02:10:27 +08:00
2021-05-03 01:46:08 +08:00
void MOHelper::init() {
ms_dict["zh_cn"] = moFileLib::moFileReader();
ms_dict["zh_cn"].ReadFile("i8n/zh_CN.mo");
2021-05-02 02:10:27 +08:00
}
} // namespace hku