code cleanup
This commit is contained in:
parent
a9f3ff9644
commit
265af2f79a
@ -216,7 +216,6 @@ extern const std::unordered_map<std::wstring, std::wstring> codes
|
|||||||
|
|
||||||
bool translateSelectedOnly = false, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true, addTranslatorPrefix = false;
|
bool translateSelectedOnly = false, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true, addTranslatorPrefix = false;
|
||||||
int tokenCount = 30, rateLimitTimespan = 60000, maxSentenceSize = 1000;
|
int tokenCount = 30, rateLimitTimespan = 60000, maxSentenceSize = 1000;
|
||||||
std::wstring dontTranslateIfMatch = L"";
|
|
||||||
|
|
||||||
std::pair<bool, std::wstring> Translate(const std::wstring& text, TranslationParam tlp)
|
std::pair<bool, std::wstring> Translate(const std::wstring& text, TranslationParam tlp)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user