code cleanup
This commit is contained in:
parent
9826aa06e2
commit
0ed1e6b378
@ -214,7 +214,7 @@ extern const std::unordered_map<std::wstring, std::wstring> codes
|
|||||||
{ { L"?" }, { L"auto" } }
|
{ { L"?" }, { L"auto" } }
|
||||||
};
|
};
|
||||||
|
|
||||||
bool translateSelectedOnly = true, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true, addTranslatorPrefix = false;
|
bool translateSelectedOnly = true, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true;
|
||||||
int tokenCount = 30, rateLimitTimespan = 60000, maxSentenceSize = 1000;
|
int tokenCount = 30, rateLimitTimespan = 60000, maxSentenceSize = 1000;
|
||||||
|
|
||||||
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