mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-04 10:51:48 +01:00
cache available languages and make translator shared
This commit is contained in:
parent
0e369f5a1d
commit
b1329aa961
8 changed files with 69 additions and 52 deletions
|
|
@ -33,6 +33,7 @@ namespace bot {
|
|||
private:
|
||||
std::string m_apiKey;
|
||||
std::string m_hostname;
|
||||
supported_languages m_languages;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue