Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sogou dictionary #2010

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ CAIYUN_TOKEN=
# https://cloud.google.com/translate/
GOOGLE_TOKEN=

# https://deepi.sogou.com/?from=translatepc
SOGOU_PID=
SOGOU_KEY=

# https://cloud.tencent.com/document/api/213/30654
TENCENT_SECRETID=
TENCENT_SECRETKEY=
Expand Down
2 changes: 0 additions & 2 deletions src/_locales/en/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export const locale: typeof _locale = {
page_translations: 'Page Translations',
saladict: 'Saladict',
saladict_standalone: 'Saladict Standalone Panel',
sogou: 'Sogou Translate',
sogou_page_translate: 'Sogou Page Translate',
termonline: 'Termonline',
view_as_pdf: 'Open in PDF Viewer',
youdao: 'Youdao',
Expand Down
2 changes: 0 additions & 2 deletions src/app-config/dicts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import mojidict from '@/components/dictionaries/mojidict/config'
import naver from '@/components/dictionaries/naver/config'
import renren from '@/components/dictionaries/renren/config'
// import shanbay from '@/components/dictionaries/shanbay/config'
import sogou from '@/components/dictionaries/sogou/config'
import tencent from '@/components/dictionaries/tencent/config'
import urban from '@/components/dictionaries/urban/config'
import vocabulary from '@/components/dictionaries/vocabulary/config'
Expand Down Expand Up @@ -64,7 +63,6 @@ export const defaultAllDicts = {
naver: naver(),
renren: renren(),
// shanbay: shanbay(),
sogou: sogou(),
tencent: tencent(),
urban: urban(),
vocabulary: vocabulary(),
Expand Down
1 change: 0 additions & 1 deletion src/components/dictionaries/sogou/View.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/dictionaries/sogou/_locales.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/components/dictionaries/sogou/_style.shadow.scss

This file was deleted.

6 changes: 0 additions & 6 deletions src/components/dictionaries/sogou/auth.ts

This file was deleted.

21 changes: 0 additions & 21 deletions src/components/dictionaries/sogou/config.ts

This file was deleted.

111 changes: 0 additions & 111 deletions src/components/dictionaries/sogou/engine.ts

This file was deleted.

Binary file removed src/components/dictionaries/sogou/favicon.png
Binary file not shown.