diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2024-04-13 10:05:38 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-04-13 10:05:38 +0530 |
commit | 77b5f1481e06443862c6fa31a10fe9196f628f39 (patch) | |
tree | b635f65d87a2dfdc1d9873d15db870443a37b3f0 /src/helpers/translation-helpers.ts | |
parent | Upgrade electron to '29.3.0' and some other deps (diff) | |
download | ferdium-app-77b5f1481e06443862c6fa31a10fe9196f628f39.tar.gz ferdium-app-77b5f1481e06443862c6fa31a10fe9196f628f39.tar.zst ferdium-app-77b5f1481e06443862c6fa31a10fe9196f628f39.zip |
Add codespell support (config, GH action to detect new typos) + make it fix some typos (#1648)
Diffstat (limited to 'src/helpers/translation-helpers.ts')
-rw-r--r-- | src/helpers/translation-helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/translation-helpers.ts b/src/helpers/translation-helpers.ts index 2e8f6b260..105a0ccfc 100644 --- a/src/helpers/translation-helpers.ts +++ b/src/helpers/translation-helpers.ts | |||
@@ -8,7 +8,7 @@ export async function translateTo( | |||
8 | ): Promise<{ text: string; error: boolean }> { | 8 | ): Promise<{ text: string; error: boolean }> { |
9 | const errorText = | 9 | const errorText = |
10 | // TODO: Need to support i18n | 10 | // TODO: Need to support i18n |
11 | 'FERDIUM ERROR: An error occured. Please select less text to translate or try again later.'; | 11 | 'FERDIUM ERROR: An error occurred. Please select less text to translate or try again later.'; |
12 | 12 | ||
13 | if (translatorEngine === 'Google') { | 13 | if (translatorEngine === 'Google') { |
14 | const translationResult = await translateGoogle(text, { | 14 | const translationResult = await translateGoogle(text, { |