changed default

This commit is contained in:
Blu3train 2022-08-06 01:55:52 +02:00
parent 265af2f79a
commit 9826aa06e2

View File

@ -214,7 +214,7 @@ extern const std::unordered_map<std::wstring, std::wstring> codes
{ { L"?" }, { L"auto" } }
};
bool translateSelectedOnly = false, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true, addTranslatorPrefix = false;
bool translateSelectedOnly = true, useRateLimiter = true, rateLimitSelected = false, useCache = true, useFilter = true, addTranslatorPrefix = false;
int tokenCount = 30, rateLimitTimespan = 60000, maxSentenceSize = 1000;
std::pair<bool, std::wstring> Translate(const std::wstring& text, TranslationParam tlp)