chore: sync progress
This commit is contained in:
@ -5,10 +5,11 @@
|
||||
---@field app_passwd string
|
||||
---@field disable boolean
|
||||
local M = {
|
||||
uri = 'https://fanyi-api.baidu.com/api/trans/vip/translate',
|
||||
salt = tostring(math.random(bit.lshift(1, 15))),
|
||||
name = 'baidu',
|
||||
method = 'get',
|
||||
uri = 'https://fanyi-api.baidu.com/api/trans/vip/translate',
|
||||
salt = tostring(math.random(bit.lshift(1, 15))),
|
||||
name = 'baidu',
|
||||
name_zh = '百度',
|
||||
method = 'get',
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,6 +13,7 @@ vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
---@class TransOfflineBackend
|
||||
local M = {
|
||||
name = 'offline',
|
||||
name_zh = '本地',
|
||||
no_wait = true,
|
||||
}
|
||||
|
||||
|
@ -5,10 +5,11 @@
|
||||
---@field app_passwd string
|
||||
---@field disable boolean
|
||||
local M = {
|
||||
uri = 'https://openapi.youdao.com/api',
|
||||
salt = tostring(math.random(bit.lshift(1, 15))),
|
||||
name = 'youdao',
|
||||
method = 'get',
|
||||
uri = 'https://openapi.youdao.com/api',
|
||||
salt = tostring(math.random(bit.lshift(1, 15))),
|
||||
name = 'youdao',
|
||||
name_zh = '有道',
|
||||
method = 'get',
|
||||
}
|
||||
|
||||
---@class YoudaoQuery
|
||||
|
Reference in New Issue
Block a user