Compare commits

...

3 Commits

Author SHA1 Message Date
mio
89a0553c59 upgrade version 2023-09-24 03:29:51 +08:00
3605826953 fix: Update utils.js for French HSR. (#47)
For some reason mihoyo renamed "cônes de lumière" to "Cône de lumière"
and "Personnages" to "Personnage". This patch only includes the newer
term without removing the old ones for retro-compatibility.


![PR](https://github.com/biuuu/star-rail-warp-export/assets/12218001/c68c4fe9-66bf-4d54-bcca-7bf48b052ad5)
2023-09-24 03:15:47 +08:00
75f2f2dd4f fix(package): homepage (#46)
Same as
[genshin-wish-export](https://github.com/biuuu/genshin-wish-export/pull/217).
2023-09-05 17:44:31 +08:00
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,9 @@
{ {
"name": "star-rail-warp-export", "name": "star-rail-warp-export",
"version": "0.1.2", "version": "0.1.3",
"main": "./dist/electron/main/main.js", "main": "./dist/electron/main/main.js",
"author": "biuuu <https://github.com/biuuu>", "author": "biuuu <https://github.com/biuuu>",
"homepage": "https://github.com/biuuu/star-rail-warp-export",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "node .electron-vite/dev-runner.js", "dev": "node .electron-vite/dev-runner.js",

View File

@ -1,11 +1,11 @@
import * as IconComponents from '@element-plus/icons-vue' import * as IconComponents from '@element-plus/icons-vue'
const weaponTypeNames = new Set([ const weaponTypeNames = new Set([
'光锥', '光錐', 'Lichtkegel', 'Light Cone', 'Conos de luz', 'cônes de lumière', '光円錐', '광추', 'Cones de Luz', 'Световые конусы', 'Nón Ánh Sáng' '光锥', '光錐', 'Lichtkegel', 'Light Cone', 'Conos de luz', 'cônes de lumière', '光円錐', '광추', 'Cones de Luz', 'Световые конусы', 'Nón Ánh Sáng', 'Cône de lumière'
]) ])
const characterTypeNames = new Set([ const characterTypeNames = new Set([
'角色', 'Figur', 'Character', 'Personajes', 'Personnages', 'Karakter', 'キャラクター', '캐릭터', 'Personagens', 'Персонажи', 'ตัวละคร', 'Nhân Vật' '角色', 'Figur', 'Character', 'Personajes', 'Personnages', 'Karakter', 'キャラクター', '캐릭터', 'Personagens', 'Персонажи', 'ตัวละคร', 'Nhân Vật', 'Personnage'
]) ])
const isCharacter = (name) => characterTypeNames.has(name) const isCharacter = (name) => characterTypeNames.has(name)