hikyuu2/hikyuu_cpp/hikyuu_server/common/mo.cpp
2021-05-03 01:46:08 +08:00

19 lines
349 B
C++

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