chore: sync progress

This commit is contained in:
JuanZoran
2023-03-25 09:41:06 +08:00
parent d2f00c8773
commit 529a1639c6
6 changed files with 19 additions and 15 deletions

View File

@ -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',
}

View File

@ -13,6 +13,7 @@ vim.api.nvim_create_autocmd('VimLeavePre', {
---@class TransOfflineBackend
local M = {
name = 'offline',
name_zh = '本地',
no_wait = true,
}

View File

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