Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into cn
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadyWhite committed Dec 11, 2023
2 parents 7920609 + b5a27a8 commit 4142de6
Show file tree
Hide file tree
Showing 27 changed files with 283 additions and 60 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup-js-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ runs:
steps:
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '18.18.2'
cache: 'npm'
cache-dependency-path: 'package-lock.json'

- name: Install Dependencies
shell: bash
Expand Down
3 changes: 1 addition & 2 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"./dist/",
"./npm-package/",
"./plugin/ThirdParty/",
"./publish/",
"**/*-lock.json"
"./publish/"
],
"lineWidth": 100,
"useTabs": false,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"webpack-merge": "^5.8.0"
},
"engines": {
"node": ">=18.10.0 <=18.18.2"
"node": ">=18.10.0 <18.19"
},
"stylelint": {
"extends": "stylelint-config-standard"
Expand Down
3 changes: 2 additions & 1 deletion ui/raidboss/data/00-misc/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
de: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
fr: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
ja: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
cn: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
ko: 'player = ${player}, player.job = ${player.job}, player.bogus = ${player.bogus}',
Expand Down Expand Up @@ -554,11 +555,11 @@ const triggerSet: TriggerSet<Data> = {
},
{
locale: 'ko',
missingTranslations: true,
replaceSync: {
'You bid farewell to the striking dummy': '.*나무인형에게 작별 인사를 합니다',
'You bow courteously to the striking dummy': '.*나무인형에게 공손하게 인사합니다',
'test sync': '테스트 싱크',
'testNetRegexTimeline': 'testNetRegexTimeline',
'You burst out laughing at the striking dummy': '.*나무인형을 보고 폭소를 터뜨립니다',
'cactbot test config': 'cactbot 설정 테스트',
'cactbot lang': 'cactbot 언어',
Expand Down
2 changes: 2 additions & 0 deletions ui/raidboss/data/03-hw/raid/a7s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,12 @@ const triggerSet: TriggerSet<Data> = {
'replaceText': {
'Bomb': 'Bombe',
'Flamethrower': 'Lance-flammes',
'Hammertime': 'Coup de marteau',
'Sizzlebeam': 'Gobrayon',
'Sizzlespark': 'Gobétincelle',
'Uplander Doom': 'Fusillade',
'Zoomdoom': 'Gobroquette',
'Jails': 'Prison',
},
},
{
Expand Down
12 changes: 12 additions & 0 deletions ui/raidboss/data/03-hw/trial/sephirot-ex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'Move to safe quadrant',
de: 'Beweg dich in den sicheren Quadranten',
fr: 'Allez dans le quart sur',
cn: '移动到安全区域',
ko: '안전한 지역으로 이동',
},
Expand All @@ -58,6 +59,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'Bait toward puddle',
de: 'In Richtung Fläche ködern',
fr: 'Bait vers le puddle',
cn: '靠近圈圈集合诱导AOE',
ko: '장판 쪽으로 아인 유도',
},
Expand All @@ -76,12 +78,14 @@ const triggerSet: TriggerSet<Data> = {
noPillar: {
en: 'Bait Yesod',
de: 'Yesod ködern',
fr: 'Attirez Yesod',
cn: '集合诱导基盘碎击',
ko: '예소드 붕괴 유도',
},
withPillar: {
en: 'Bait Yesod inside puddle',
de: 'Yesod in die Fläche ködern',
fr: 'Attirez Yesod dans le puddle',
cn: '圈圈内集合诱导基盘碎击',
ko: '장판 안에 예소드 유도하기',
},
Expand Down Expand Up @@ -143,12 +147,14 @@ const triggerSet: TriggerSet<Data> = {
noStack: {
en: 'Don\'t Stack!',
de: 'Nicht sammeln!',
fr: 'Ne vous packez pas !',
cn: '不要重合!',
ko: '겹치면 안됨!',
},
stack: {
en: 'Group Stacks',
de: 'In der Gruppe sammeln',
fr: 'Package en groupe',
cn: '分组集合',
ko: '그룹 쉐어',
},
Expand Down Expand Up @@ -258,12 +264,14 @@ const triggerSet: TriggerSet<Data> = {
getTower: {
en: 'Get a tower',
de: 'Nimm einen Turm',
fr: 'Prenez une tour',
cn: '踩塔',
ko: '기둥 밟기',
},
avoidTower: {
en: 'Avoid towers',
de: 'Turm meiden',
fr: 'Évitez les tours',
cn: '躲塔',
ko: '기둥 피하기',
},
Expand All @@ -283,12 +291,14 @@ const triggerSet: TriggerSet<Data> = {
might: {
en: 'Get Away, Avoid Puddles + Tethers',
de: 'Geh weg, weiche Flächen und Verbindungen aus',
fr: 'Sortez, évitez les puddles et les liens',
cn: '远离, 躲避圈圈 + 连线',
ko: '멀리 떨어지고, 장판 + 선 피하기',
},
magic: {
en: 'Go Front; Get Tether',
de: 'Geh nach Vorne; Nimm eine Verbindung',
fr: 'Allez devant, prenez les liens',
cn: '去前面; 接线',
ko: '앞으로 가서 선 가져가기',
},
Expand Down Expand Up @@ -324,12 +334,14 @@ const triggerSet: TriggerSet<Data> = {
shakerTarget: {
en: 'Earth Shaker (Max Melee)',
de: 'Erdstoß (Max Nahkampf)',
fr: 'Secousse (Max CàC)',
cn: '大地摇动 (最远近战距离)',
ko: '어스징 (칼끝딜 거리)',
},
shakerAvoid: {
en: 'Avoid Earth Shakers',
de: 'Weiche Erdstoß aus',
fr: 'Évitez les secousses',
cn: '躲避大地摇动',
ko: '어스징 피하기',
},
Expand Down
3 changes: 2 additions & 1 deletion ui/raidboss/data/03-hw/trial/thordan-ex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,6 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'Comet Circle': 'sceau de la comète',
'King Thordan': 'roi Thordan',
Expand All @@ -658,6 +657,8 @@ const triggerSet: TriggerSet<Data> = {
'Ser Zephirin': 'sire Zéphirin',
},
'replaceText': {
'--chains appear--': '--Apparition des chaines--',
'--towers spawn--': '--Apparition des tours--',
'Absolute Conviction': 'Conviction absolue',
'Ancient Quaga': 'Méga Séisme ancien',
'Ascalon\'s Mercy': 'Grâce d\'Ascalon',
Expand Down
20 changes: 19 additions & 1 deletion ui/raidboss/data/03-hw/trial/zurvan-ex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ const triggerSet: TriggerSet<Data> = {
waveCannonTarget: {
en: 'Wave Cannon on YOU',
de: 'Wellenkanone auf DIR',
fr: 'Canon plasma sur VOUS',
ja: '波動砲対象',
cn: '波动炮点名',
ko: '파동포 대상자',
},
avoidWaveCannon: {
en: 'Away from ${target} -- Wave Cannon',
de: 'Weg von ${target} -- Wellenkanone',
fr: 'Éloignez-vous de ${target} -- Canon plasma',
ja: '${target} から離れる -- 波動砲',
cn: '远离 ${target} -- 波动炮',
ko: '${target} 피하기 -- 파동포',
Expand Down Expand Up @@ -102,6 +104,7 @@ const triggerSet: TriggerSet<Data> = {
demonClawYou: {
en: 'Knockback from boss on YOU',
de: 'Rückstoß vom Boss auf DIR',
fr: 'Poussée depuis le boss sur VOUS',
ja: 'デモンクロー ノックバック対象',
cn: 'BOSS击退点名',
ko: '넉백공격 대상자',
Expand Down Expand Up @@ -144,6 +147,7 @@ const triggerSet: TriggerSet<Data> = {
demonicSpread: {
en: 'Spread -- Don\'t stack!',
de: 'Verteilen -- Nicht aufeinander!',
fr: 'Écartez-vous - Ne vous packez pas !',
ja: '散開 -- 重ならないで!',
cn: '分散 -- 不要集合!',
ko: '산개 -- 쉐어맞으면 안됨!',
Expand Down Expand Up @@ -183,6 +187,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'Stay outside hitbox',
de: 'Auserhalb der Hitbox stehen',
fr: 'Restez à l\'extérieur de la hitbox',
ja: '範囲攻撃を避ける',
cn: '站在判定圈外',
ko: '히트박스 밖으로',
Expand Down Expand Up @@ -211,6 +216,7 @@ const triggerSet: TriggerSet<Data> = {
baitSouthernCross: {
en: 'Bait Ice Puddles',
de: 'Eisflächen ködern',
fr: 'Bait les puddles de glace',
ja: '氷範囲を捨てる',
cn: '诱导冰圈',
ko: '얼음장판 유도',
Expand Down Expand Up @@ -240,6 +246,7 @@ const triggerSet: TriggerSet<Data> = {
tetherBuddy: {
en: 'Tethered with ${buddy}',
de: 'Mit ${buddy} verbunden',
fr: 'Lié avec ${buddy}',
ja: '${buddy} とペア',
cn: '与 ${buddy} 连线',
ko: '선 연결 ${buddy}',
Expand Down Expand Up @@ -269,20 +276,23 @@ const triggerSet: TriggerSet<Data> = {
infiniteDebuff: {
en: '${element} on you',
de: '${element} auf dir',
fr: '${element} sur vous',
ja: '${element} 付与',
cn: '${element} 点名',
ko: '${element}',
},
fire: {
en: 'Fire',
de: 'Feuer',
fr: 'Feu',
ja: '炎',
cn: '火',
ko: '불',
},
ice: {
en: 'Ice',
de: 'Eis',
fr: 'Glace',
ja: '氷',
cn: '冰',
ko: '얼음',
Expand All @@ -307,20 +317,23 @@ const triggerSet: TriggerSet<Data> = {
sealTowers: {
en: '${element} towers with ${buddy}',
de: '${element} Türme mit ${buddy}',
fr: 'Tour de ${element} avec ${buddy}',
ja: '${buddy} と ${element} の塔に入る',
cn: '与${buddy}踩${element}塔',
ko: '${element} 기둥 +${buddy}',
},
fire: {
en: 'Fire',
de: 'Feuer',
fr: 'Feu',
ja: '炎',
cn: '火',
ko: '불',
},
ice: {
en: 'Ice',
de: 'Eis',
fr: 'Glace',
ja: '氷',
cn: '冰',
ko: '얼음',
Expand Down Expand Up @@ -379,12 +392,17 @@ const triggerSet: TriggerSet<Data> = {
},
{
'locale': 'fr',
'missingTranslations': true,
'replaceSync': {
'Execrated Wile': 'ruse honnie',
'Zurvan': 'Zurvan',
},
'replaceText': {
'\\(circles\\)': '(Cerles)',
'\\(explosion\\)': '(Explosion)',
'\\(puddle\\)': '(Puddle)',
'\\(snapshot\\)': '(Copie)',
'\\(avoid\\)': '(Évitez)',
'\\(stack\\)': '(Package)',
'Ahura Mazda': 'Ahura Mazda',
'Biting Halberd': 'Hallebarde mordante',
'Broken Seal': 'Marque brisée',
Expand Down
18 changes: 14 additions & 4 deletions ui/raidboss/data/04-sb/ultimate/ultima_weapon_ultimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,9 @@ const triggerSet: TriggerSet<Data> = {
cn: `如果第一个火神柱在东南,则反向 Z 和正常 Z 都会提示东南/西北
如果第一个火神柱在南, 则反向 Z 将提示东南/西北,正常 Z 将提示西南/东北。
这些只是示例, 还支持其他火神柱顺序。`,
ko: `첫 번째 기둥이 남동쪽인 경우, 역방향 Z와 일반 Z 모두에 대해 남동/북서를 호출합니다.
첫 번째 기둥이 남쪽인 경우, 역방향 Z는 남동/북서를, 일반 Z는 남서/북동를 호출합니다.
다른 기둥 순서도 지원되며, 이는 예시일 뿐입니다.`,
},
type: 'NameToggle',
netRegex: { name: 'Ifrit', toggle: '00', capture: false },
Expand Down Expand Up @@ -893,6 +896,9 @@ const triggerSet: TriggerSet<Data> = {
cn: `如果第一个火神柱在对角线上,那么第一次火神冲也在对角线上。
这个可选提示会提示你移动到第一次火神冲附近的位置。
如果你已在安全区,则不会输出此提示。`,
ko: `첫 번째 기둥이 대각선에 있으면 첫 번째 이프리트 돌진도 대각선에 있으며,
이 알람은 첫 번째 돌진 옆으로 이동하라는 것이 됩니다.
이미 안전하다면 이 알람은 호출되지 않습니다.`,
},
type: 'NameToggle',
netRegex: { name: 'Ifrit', toggle: '00', capture: false },
Expand Down Expand Up @@ -937,6 +943,10 @@ const triggerSet: TriggerSet<Data> = {
人群和奶妈都将移动 45 度或 90 度。
"快" 可以让你快速移动,躲避第二次火神冲。
"慢" 当你有足够的时间来移动时使用。`,
ko: `첫 번째 돌진 직후부터 시작되는 이프리트 돌진의 주요 동선입니다.
본대와 힐러 모두 45도 또는 90도로 움직입니다.
이프리트의 후속 돌진을 피하기 위해 빠르게 이동해야 하는 경우 "빠른" 이동입니다.
시간적 여유가 있다면 "느린" 이동입니다.`,
},
type: 'NameToggle',
netRegex: { name: 'Ifrit', toggle: '00', capture: false },
Expand Down Expand Up @@ -1004,25 +1014,25 @@ const triggerSet: TriggerSet<Data> = {
en: '${rotation} 45° to ${dir} (fast)',
de: '${rotation} 45° nach ${dir} (schnell)',
cn: '${rotation} 45° 到 ${dir} (快)',
ko: '${rotation} 45° ${dir}까지 (빠르게)',
ko: '${rotation} 45° ${dir}까지 (빠름)',
},
awokenDash2: {
en: '${rotation} 90° to ${dir} (fast)',
de: '${rotation} 90° nach ${dir} (schnell)',
cn: '${rotation} 90° 到 ${dir} (快)',
ko: '${rotation} 90° ${dir}까지 (빠르게)',
ko: '${rotation} 90° ${dir}까지 (빠름)',
},
awokenDash3: {
en: '${rotation} 45° to ${dir} (slow)',
de: '${rotation} 45° nach ${dir} (langsam)',
cn: '${rotation} 45° 到 ${dir} (慢)',
ko: '${rotation} 45° ${dir}까지 (천천히)',
ko: '${rotation} 45° ${dir}까지 (느림)',
},
awokenDash4: {
en: '${rotation} 90° to ${dir} (slow)',
de: '${rotation} 90° nach ${dir} (langsam)',
cn: '${rotation} 90° 到 ${dir} (慢)',
ko: '${rotation} 90° ${dir}까지 (천천히)',
ko: '${rotation} 90° ${dir}까지 (느림)',
},
clockwise: Outputs.clockwise,
counterclockwise: Outputs.counterclockwise,
Expand Down
2 changes: 2 additions & 0 deletions ui/raidboss/data/05-shb/hunts/kholusia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'In => Sides',
de: 'Rein => Seiten',
fr: 'Intérieur => Côtés',
cn: '中间 => 两侧',
ko: '안으로 => 옆으로',
},
Expand All @@ -94,6 +95,7 @@ const triggerSet: TriggerSet<Data> = {
text: {
en: 'Sides => Sides (again)',
de: 'Seiten => Seiten (nochmal)',
fr: 'Côtés => Côtés (encore)',
cn: '两侧 => 两侧 (重复)',
ko: '옆으로 => 옆으로 (반복)',
},
Expand Down
Loading

0 comments on commit 4142de6

Please sign in to comment.