This commit is contained in:
恍兮惚兮 2024-08-07 03:38:05 +08:00
parent 57c912f919
commit 23127952f5
8 changed files with 12 additions and 76 deletions

View File

@ -2,8 +2,8 @@
<p align="left"> <p align="left">
<img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"> <img src="https://img.shields.io/github/license/HIllya51/LunaTranslator">
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a> <a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/>
</p> </p>
### 简体中文 | [Русский язык](README_ru.md) | [English](README_en.md) | [Other Language](otherlang.md) ### 简体中文 | [Русский язык](README_ru.md) | [English](README_en.md) | [Other Language](otherlang.md)

View File

@ -2,8 +2,8 @@
<p align="left"> <p align="left">
<img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"> <img src="https://img.shields.io/github/license/HIllya51/LunaTranslator">
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a> <a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/>
</p> </p>
### [简体中文](README.md) | [Русский язык](README_ru.md) | English | [Other Languages](otherlang.md) ### [简体中文](README.md) | [Русский язык](README_ru.md) | English | [Other Languages](otherlang.md)

View File

@ -2,8 +2,8 @@
<p align="left"> <p align="left">
<img src="https://img.shields.io/github/license/HIllya51/LunaTranslator"> <img src="https://img.shields.io/github/license/HIllya51/LunaTranslator">
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a> <a href="https://github.com/HIllya51/LunaTranslator/releases"><img src="https://img.shields.io/github/v/release/HIllya51/LunaTranslator?color=ffa"></a>
<a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> <img src="https://img.shields.io/badge/OS-windows 7--11 / wine-FF007C"/>
</p> </p>
### [简体中文](README.md) | Русский язык | [English](README_en.md) | [Other Language](otherlang.md) ### [简体中文](README.md) | Русский язык | [English](README_en.md) | [Other Language](otherlang.md)

View File

@ -4,7 +4,7 @@
## How to Download ## How to Download
1. Go to [the LunaTranslator releases page](https://lunatranslator.xyz/Github/LunaTranslator/releases) 1. Go to [the LunaTranslator releases page](https://github.com/HIllya51/LunaTranslator/releases)
2. In the "Assets" section of the latest release, find and download the "LunaTranslator.zip" file 2. In the "Assets" section of the latest release, find and download the "LunaTranslator.zip" file
3. Extract the contents of the ZIP file to any directory on your computer. 3. Extract the contents of the ZIP file to any directory on your computer.
![img](https://image.lunatranslator.xyz/zh/download.jpg) ![img](https://image.lunatranslator.xyz/zh/download.jpg)

View File

@ -43,9 +43,9 @@
</span> </span>
<div class="dropdown-content "> <div class="dropdown-content ">
<a class="goodlink buttonsize" target="_blank" <a class="goodlink buttonsize" target="_blank"
href="https://lunatranslator.xyz/Resource/QQGroup">QQ群<br></a> href="https://qm.qq.com/q/I5rr3uEpi2">QQ群<br></a>
<a class="goodlink buttonsize" target="_blank" <a class="goodlink buttonsize" target="_blank"
href="https://lunatranslator.xyz/Resource/DiscordGroup">Discord<br></a> href="https://discord.com/invite/ErtDwVeAbB">Discord<br></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -11,7 +11,7 @@ window.$docsify = {
crossChapter: true, crossChapter: true,
crossChapterText: true, crossChapterText: true,
}, },
repo: 'https://lunatranslator.xyz/Github/LunaTranslator', repo: 'https://github.com/HIllya51/LunaTranslator',
alias: { alias: {
'/zh/_sidebar.md': '/zh/sidebar.md', '/zh/_sidebar.md': '/zh/sidebar.md',
@ -71,70 +71,6 @@ window.$docsify = {
import('/manyapis.js') import('/manyapis.js')
}) })
}, },
function (hook, vm) {
return;
hook.doneEach(() => {
var toupiao = document.getElementById('toupiao')
if (toupiao == null) return
fetch('https://lunatranslator.xyz/toupiao_query?toupiao=1&toupiao=2&toupiao=3&toupiao=4&toupiao=5&toupiao=6&toupiao=7&toupiao=8&toupiao=9&toupiao=10').then(
(_) => {
return _.json()
}
)
.then((res) => {
var averages = []
for (let idx = 0; idx < 10; idx++) {
const values = res[idx]
var average = 0;
if (values.length) {
const sum = values.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
average = sum / values.length;
}
const names = ["DeepSeek", "阿里云百炼大模型", "字节跳动豆包大模型", "月之暗面", "智谱AI", "零一万物", "硅基流动", "讯飞星火大模型", "腾讯混元大模型", "百度千帆大模型"]
averages.push({ average: average, name: names[idx], idx: idx })
}
averages.sort((a, b) => b.average - a.average)
for (let idx = 0; idx < 10; idx++) {
let item = averages[idx]
toupiao.innerHTML += `
<tr><td>${item.name}</td><td>${item.average}</td>
<td><input type="radio" name="rate-${item.idx}" id="rate-${item.idx}-1">
<input type="radio" name="rate-${item.idx}" id="rate-${item.idx}-2">
<input type="radio" name="rate-${item.idx}" id="rate-${item.idx}-3">
<input type="radio" name="rate-${item.idx}" id="rate-${item.idx}-4">
<input type="radio" name="rate-${item.idx}" id="rate-${item.idx}-5">
</td></tr>
`
}
for (let i = 0; i < 10; i++) {
const values = res[i]
var average = 0;
if (values.length) {
const sum = values.reduce((accumulator, currentValue) => accumulator + currentValue, 0);
average = sum / values.length;
}
var value = Math.floor(average)
if (value == 0) value = 1;
document.querySelector(`#rate-${i}-${value}`).checked = true
for (let ii = 0; ii < 5; ii += 1) {
document.querySelector(`#rate-${i}-${ii + 1}`).addEventListener('click', function () {
window.open(`https://lunatranslator.xyz/toupiao_set?toupiao=${1 + Number(this.id.split('-')[1])}&value=${Number(this.id.split('-')[2])}`, '_blank');
})
}
}
})
})
},
] ]
} }

View File

@ -3,7 +3,7 @@
## Скачать ## Скачать
Ссылка для загрузки актуальной версии программы: <a target="_blank" href="https://lunatranslator.xyz/Github/LunaTranslator/releases">https://lunatranslator.xyz/Github/LunaTranslator/releases</a> Ссылка для загрузки актуальной версии программы: <a target="_blank" href="https://github.com/HIllya51/LunaTranslator/releases">https://github.com/HIllya51/LunaTranslator/releases</a>
Скачайте архив **LunaTranslator.zip** и распакуйте его в любое удобное для вас место. Скачайте архив **LunaTranslator.zip** и распакуйте его в любое удобное для вас место.
![img](https://image.lunatranslator.xyz/ru/download_ru.png) ![img](https://image.lunatranslator.xyz/ru/download_ru.png)

View File

@ -1,6 +1,6 @@
### 下载 ### 下载
下载64位版 <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> 下载32位版 <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> 或从 <a target="_blank" href="https://lunatranslator.xyz/Github/LunaTranslator/releases" target="_blank"> releases</a> 下载 <a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank">LunaTranslator.zip</a><a href="https://lunatranslator.xyz/Github/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank">LunaTranslator_x86.zip</a> ,解压到任意目录 下载64位版 <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank"><img src="https://img.shields.io/badge/download_64bit-blue"/></a> 下载32位版 <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank"><img src="https://img.shields.io/badge/download_32bit-blue"/></a> 或从 <a target="_blank" href="https://github.com/HIllya51/LunaTranslator/releases" target="_blank"> releases</a> 下载 <a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator.zip" target="_blank">LunaTranslator.zip</a><a href="https://github.com/HIllya51/LunaTranslator/releases/latest/download/LunaTranslator_x86.zip" target="_blank">LunaTranslator_x86.zip</a> ,解压到任意目录
#### 注意 #### 注意