mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 05:10:15 +02:00
Add welcome dialog (#2084)
This commit is contained in:
@@ -16,6 +16,7 @@ const neverAutoTranslate = {
|
||||
placeholder: ['pl'],
|
||||
importExport: ['fr'],
|
||||
url: ['fr'],
|
||||
name: ['ja'],
|
||||
tencentAppStore: ['*']
|
||||
}
|
||||
|
||||
@@ -89,7 +90,7 @@ const main = async () => {
|
||||
await new Promise((resolve, reject) => {
|
||||
setTimeout(() => {
|
||||
resolve()
|
||||
}, Math.random() * 1000); // Try to avoid rate limit
|
||||
}, Math.random() * 10000); // Try to avoid rate limit
|
||||
})
|
||||
const response = await translateText(str, lang, deeplAPIKey)
|
||||
if (response.translations) {
|
||||
|
Reference in New Issue
Block a user