Add welcome dialog (#2084)

This commit is contained in:
Imran Remtulla
2025-03-16 00:05:01 -04:00
parent 46835d0876
commit 4e43001276
27 changed files with 99 additions and 1 deletions

View File

@@ -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) {