3 Commits

Author SHA1 Message Date
IndieKKY
51a7e998b9 chore: release 1.11.9 2024-10-13 21:14:44 +08:00
IndieKKY
556ccef4b2 代理推荐 2024-10-13 21:12:10 +08:00
IndieKKY
42b719fb98 语言文件 2024-10-13 21:12:04 +08:00
4 changed files with 22 additions and 12 deletions

View File

@@ -12,9 +12,10 @@ const [major, minor, patch, label = '0'] = version
.split(/[.-]/) .split(/[.-]/)
export default defineManifest(async (env) => ({ export default defineManifest(async (env) => ({
"name": "哔哔君 - bilibili哔哩哔哩字幕列表", "name": '__MSG_appName__',
"description": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!", "description": '__MSG_appDescription__',
"version": `${major}.${minor}.${patch}`, "version": `${major}.${minor}.${patch}`,
"default_locale": "zh_CN",
"manifest_version": 3, "manifest_version": 3,
"permissions": [ "permissions": [
"sidePanel", "sidePanel",

View File

@@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"name": "bilibili-subtitle", "name": "bilibili-subtitle",
"version": "1.11.8", "version": "1.11.9",
"type": "module", "type": "module",
"description": "哔哩哔哩字幕列表", "description": "哔哩哔哩字幕列表",
"main": "index.js", "main": "index.js",

View File

@@ -0,0 +1,8 @@
{
"appName": {
"message": "哔哔君 - bilibili哔哩哔哩字幕列表"
},
"appDescription": {
"message": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!"
}
}

View File

@@ -27,7 +27,7 @@ import toast from 'react-hot-toast'
import {useBoolean, useEventTarget} from 'ahooks' import {useBoolean, useEventTarget} from 'ahooks'
import {useEventChecked} from '@kky002/kky-hooks' import {useEventChecked} from '@kky002/kky-hooks'
import { useMessage } from '@/hooks/message' import { useMessage } from '@/hooks/message'
import { FaChevronDown, FaChevronUp } from 'react-icons/fa' import { FaChevronDown, FaChevronUp, FaGripfire } from 'react-icons/fa'
const OptionCard = ({ title, children, defaultExpanded = true }: { title: React.ReactNode; children: React.ReactNode; defaultExpanded?: boolean }) => { const OptionCard = ({ title, children, defaultExpanded = true }: { title: React.ReactNode; children: React.ReactNode; defaultExpanded?: boolean }) => {
const [isExpanded, setIsExpanded] = useState(defaultExpanded); const [isExpanded, setIsExpanded] = useState(defaultExpanded);
@@ -261,14 +261,15 @@ const OptionsPage = () => {
<div><a className='link link-primary' <div><a className='link link-primary'
onClick={() => setServerUrlValue(DEFAULT_SERVER_URL_OPENAI)} onClick={() => setServerUrlValue(DEFAULT_SERVER_URL_OPENAI)}
rel='noreferrer'></a></div> rel='noreferrer'></a></div>
{/* <div className='flex justify-center font-semibold'>【第三方代理】</div> */} <div className='flex justify-center font-semibold'></div>
{/* <div>代理网址:<a className='link link-primary' href='https://api.openai-up.com/register?aff=varM' */} <div><a className='link link-primary' href='https://api.kksj.org/register?aff=ucVc'
{/* target='_blank' */} target='_blank'
{/* rel="noreferrer">点击访问</a></div> */} rel="noreferrer">访</a></div>
{/* <div>服务器地址:<a className='link link-primary' */} <div><a className='link link-primary'
{/* onClick={() => setServerUrlValue('https://api.openai-up.com')} */} onClick={() => setServerUrlValue('https://api.kksj.org')}
{/* rel='noreferrer'>点击设置</a></div> */} rel='noreferrer'></a></div>
{/* <div className='text-amber-600 flex justify-center items-center'><FaGripfire/>目前价格不到官方价格的6折<FaGripfire/></div> */} <div className='text-amber-600 flex justify-center items-center'><FaGripfire/>0.91(1/8)<FaGripfire/></div>
<div className='text-amber-600 flex justify-center items-center'><FaGripfire/>访🪜<FaGripfire/></div>
</div> </div>
</div>} </div>}
{(!aiTypeValue || aiTypeValue === 'openai') && <FormItem title='模型选择' htmlFor='modelSel' tip='注意不同模型有不同价格与token限制'> {(!aiTypeValue || aiTypeValue === 'openai') && <FormItem title='模型选择' htmlFor='modelSel' tip='注意不同模型有不同价格与token限制'>