From 54e47b9a3ff035c613413f5856f3c621005f8a94 Mon Sep 17 00:00:00 2001 From: RaenonX Date: Fri, 1 Oct 2021 23:54:28 -0500 Subject: [PATCH 1/3] IMP - Load more analyses on landing #317 Signed-off-by: RaenonX --- src/components/pages/gameData/unitInfo/lookup/in/landing.tsx | 2 +- test/data/resources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pages/gameData/unitInfo/lookup/in/landing.tsx b/src/components/pages/gameData/unitInfo/lookup/in/landing.tsx index 4b100265..846b6596 100644 --- a/src/components/pages/gameData/unitInfo/lookup/in/landing.tsx +++ b/src/components/pages/gameData/unitInfo/lookup/in/landing.tsx @@ -23,7 +23,7 @@ export const UnitInfoLookupLanding = ({analyses}: Props) => { return unitInfo ? [{entry, unitInfo}] : []; }) .map(({entry, unitInfo}) => ( - + ))} diff --git a/test/data/resources b/test/data/resources index e3740e0b..ca04808c 160000 --- a/test/data/resources +++ b/test/data/resources @@ -1 +1 @@ -Subproject commit e3740e0bf4db4cdfb48e702aa8c52d48f7a20db4 +Subproject commit ca04808c0db34690cffbf132d1d3d29c635ccce4 From 38f96a14f8da4689c6767778f8dffd87a17fb303 Mon Sep 17 00:00:00 2001 From: RaenonX Date: Sat, 2 Oct 2021 00:25:41 -0500 Subject: [PATCH 2/3] FIX - Shows "no results" for tier list #316 Signed-off-by: RaenonX --- .../pages/gameData/unitInfo/lookup/main.test.tsx | 4 ++-- .../pages/gameData/unitInfo/lookup/out/main.tsx | 2 +- src/components/pages/tier/main.test.tsx | 13 +++++++++++++ src/components/pages/tier/out/main.tsx | 6 +++++- src/i18n/translations/cht/translation.ts | 2 +- src/i18n/translations/definition.ts | 2 +- src/i18n/translations/en/translation.ts | 2 +- src/i18n/translations/jp/translation.ts | 2 +- 8 files changed, 25 insertions(+), 8 deletions(-) diff --git a/src/components/pages/gameData/unitInfo/lookup/main.test.tsx b/src/components/pages/gameData/unitInfo/lookup/main.test.tsx index 78db9feb..46786ef3 100644 --- a/src/components/pages/gameData/unitInfo/lookup/main.test.tsx +++ b/src/components/pages/gameData/unitInfo/lookup/main.test.tsx @@ -244,9 +244,9 @@ describe('Analysis lookup page', () => { userEvent.click(searchButton); expect(fnGetLookup).toHaveBeenCalledTimes(1); - await waitFor(() => expect(screen.getByText(translationEN.posts.analysis.error.noResult)).toBeInTheDocument()); + await waitFor(() => expect(screen.getByText(translationEN.misc.noResult)).toBeInTheDocument()); expect(fnScroll).toHaveBeenCalledTimes(2); - const errorText = screen.getByText(translationEN.posts.analysis.error.noResult); + const errorText = screen.getByText(translationEN.misc.noResult); expect(errorText).toHaveClass('text-danger'); expect(errorText).toHaveClass('text-center'); }); diff --git a/src/components/pages/gameData/unitInfo/lookup/out/main.tsx b/src/components/pages/gameData/unitInfo/lookup/out/main.tsx index a02c9066..4db5d262 100644 --- a/src/components/pages/gameData/unitInfo/lookup/out/main.tsx +++ b/src/components/pages/gameData/unitInfo/lookup/out/main.tsx @@ -31,7 +31,7 @@ export const UnitInfoLookupOutput = ({ if (!unitInfoSorted.length) { return (
- {t((t) => t.posts.analysis.error.noResult)} + {t((t) => t.misc.noResult)}
); } diff --git a/src/components/pages/tier/main.test.tsx b/src/components/pages/tier/main.test.tsx index be0c57f7..9f7ec6e1 100644 --- a/src/components/pages/tier/main.test.tsx +++ b/src/components/pages/tier/main.test.tsx @@ -103,4 +103,17 @@ describe('Tier list page', () => { expect(screen.getByText('B')).toBeInTheDocument(); expect(screen.getByText('C')).toBeInTheDocument(); }); + + it('shows no result on not found', async () => { + renderReact(() => ); + + const searchInput = await screen.findByPlaceholderText(translationEN.misc.searchKeyword); + userEvent.type(searchInput, 'test'); + + const searchButton = await screen.findByText(translationEN.misc.search, {selector: 'button:enabled'}); + userEvent.click(searchButton); + + // Partial text of the tier note tips + expect(await screen.findByText(translationEN.misc.noResult)).toBeInTheDocument(); + }); }); diff --git a/src/components/pages/tier/out/main.tsx b/src/components/pages/tier/out/main.tsx index f6c63f96..41af0808 100644 --- a/src/components/pages/tier/out/main.tsx +++ b/src/components/pages/tier/out/main.tsx @@ -48,7 +48,11 @@ export const TierListOutput = ({inputData, tierData, prioritizedUnitInfo, otherU keyPointsData={keyPointsData} /> } - {(entryPackHasTierNote.length || entryPackNoTierNote.length) && } + { + (entryPackHasTierNote.length > 0 || entryPackNoTierNote.length > 0) ? + : + <>{t((t) => t.misc.noResult)} + } ); }; diff --git a/src/i18n/translations/cht/translation.ts b/src/i18n/translations/cht/translation.ts index 99662cf0..6ab2ada3 100644 --- a/src/i18n/translations/cht/translation.ts +++ b/src/i18n/translations/cht/translation.ts @@ -541,6 +541,7 @@ export const translation: TranslationStruct = { openImage: '點擊以開啟圖片', search: '搜尋', searchKeyword: '關鍵字', + noResult: '查無結果。請修改條件後重新搜尋。', showMore: '顯示更多', showAll: '顯示全部', update: '更新', @@ -742,7 +743,6 @@ export const translation: TranslationStruct = { videos: '相關影片', error: { noPostId: '文章 ID 未指定。', - noResult: '查無結果。請修改條件後重新搜尋。', unknownType: '無法解析貼文種類 - {{analysisType}}。', unavailable: '無相關評測', }, diff --git a/src/i18n/translations/definition.ts b/src/i18n/translations/definition.ts index 88a03c51..17fbe71b 100644 --- a/src/i18n/translations/definition.ts +++ b/src/i18n/translations/definition.ts @@ -485,6 +485,7 @@ export type TranslationStruct = { openImage: string, search: string, searchKeyword: string, + noResult: string, showMore: string, showAll: string, update: string, @@ -585,7 +586,6 @@ export type TranslationStruct = { videos: string, error: { noPostId: string, - noResult: string, unknownType: string, unavailable: string, }, diff --git a/src/i18n/translations/en/translation.ts b/src/i18n/translations/en/translation.ts index 47767011..1df89c3b 100644 --- a/src/i18n/translations/en/translation.ts +++ b/src/i18n/translations/en/translation.ts @@ -587,6 +587,7 @@ export const translation: TranslationStruct = { openImage: 'Click to open the image', search: 'Search', searchKeyword: 'Keyword', + noResult: 'No matching results. Please verify your searching condition.', showMore: 'Show More', showAll: 'Show All', update: 'Update', @@ -793,7 +794,6 @@ export const translation: TranslationStruct = { videos: 'Related Videos', error: { noPostId: 'Analysis ID is not specified.', - noResult: 'No matching results. Please verify your searching condition.', unknownType: 'Unknown post type - {{analysisType}}.', unavailable: 'Analysis Unavailable', }, diff --git a/src/i18n/translations/jp/translation.ts b/src/i18n/translations/jp/translation.ts index 2b6d15cb..1cfb4b7b 100644 --- a/src/i18n/translations/jp/translation.ts +++ b/src/i18n/translations/jp/translation.ts @@ -546,6 +546,7 @@ export const translation: TranslationStruct = { openImage: 'クリックすると開きます', search: '検索', searchKeyword: 'キーワード', + noResult: '検索結果はありませんでした。条件を変更して再度検索してください。', showMore: 'TBA', showAll: 'TBA', update: '更新', @@ -750,7 +751,6 @@ export const translation: TranslationStruct = { videos: '関する動画', error: { noPostId: '文章 ID 未指定。', - noResult: '検索結果あありませんでした。条件を変更して再度検索してください。', unknownType: '文の種類が分別できない - {{analysisType}}。', unavailable: '無効のページ', }, From 5f9fe2a680a90bd095b2d1c62ef0eedc2ecfec19 Mon Sep 17 00:00:00 2001 From: RaenonX Date: Sat, 2 Oct 2021 01:00:05 -0500 Subject: [PATCH 3/3] IMP - Remove story and keywords section #292 Signed-off-by: RaenonX --- src/api-def | 2 +- .../pages/posts/analysis/form/base.tsx | 2 - .../pages/posts/analysis/form/bottom.tsx | 40 +++++-------------- .../posts/analysis/form/chara/edit.test.tsx | 2 - .../pages/posts/analysis/form/chara/edit.tsx | 2 - .../posts/analysis/form/chara/main.test.tsx | 12 ------ .../posts/analysis/form/chara/new.test.tsx | 6 ++- .../pages/posts/analysis/form/chara/utils.ts | 2 - .../posts/analysis/form/dragon/edit.test.tsx | 2 - .../pages/posts/analysis/form/dragon/edit.tsx | 2 - .../pages/posts/analysis/form/dragon/utils.ts | 2 - .../pages/posts/analysis/output/bottom.tsx | 28 ------------- .../posts/analysis/output/chara.test.tsx | 10 ----- .../posts/analysis/output/dragon.test.tsx | 10 ----- src/i18n/translations/cht/translation.ts | 2 - src/i18n/translations/definition.ts | 2 - src/i18n/translations/en/translation.ts | 2 - src/i18n/translations/jp/translation.ts | 2 - test/data/resources | 2 +- 19 files changed, 15 insertions(+), 117 deletions(-) diff --git a/src/api-def b/src/api-def index 01ccf675..b03e69b7 160000 --- a/src/api-def +++ b/src/api-def @@ -1 +1 @@ -Subproject commit 01ccf6757977aba1f839bcc60c09ca246ee4ac29 +Subproject commit b03e69b7223435856e9eb65d70691c90fb0a8b67 diff --git a/src/components/pages/posts/analysis/form/base.tsx b/src/components/pages/posts/analysis/form/base.tsx index 15e7cf84..68bb740d 100644 --- a/src/components/pages/posts/analysis/form/base.tsx +++ b/src/components/pages/posts/analysis/form/base.tsx @@ -46,8 +46,6 @@ export const AnalysisFormBase =

diff --git a/src/components/pages/posts/analysis/form/bottom.tsx b/src/components/pages/posts/analysis/form/bottom.tsx index 87dbbb45..c73aaf40 100644 --- a/src/components/pages/posts/analysis/form/bottom.tsx +++ b/src/components/pages/posts/analysis/form/bottom.tsx @@ -17,36 +17,14 @@ export const FormBottom =

({formState, setPayload}: Form const {payload} = formState; return ( - <> - - -

{t((t) => t.posts.analysis.videos)}
- setPayload('videos', e.target.value)} - rows={5} value={payload.videos} - /> - - -
- - -
{t((t) => t.posts.analysis.story)}
- setPayload('story', e.target.value)} - rows={5} value={payload.story} - /> - -
-
- - -
{t((t) => t.posts.analysis.keywords)}
- setPayload('keywords', e.target.value)} - rows={5} value={payload.keywords} - /> - -
- + + +
{t((t) => t.posts.analysis.videos)}
+ setPayload('videos', e.target.value)} + rows={5} value={payload.videos} + /> + +
); }; diff --git a/src/components/pages/posts/analysis/form/chara/edit.test.tsx b/src/components/pages/posts/analysis/form/chara/edit.test.tsx index da4c95d3..bd32f853 100644 --- a/src/components/pages/posts/analysis/form/chara/edit.test.tsx +++ b/src/components/pages/posts/analysis/form/chara/edit.test.tsx @@ -46,8 +46,6 @@ describe('Character analysis edit form', () => { ], tipsBuilds: 'tb', videos: 'vid', - story: 'str', - keywords: 'kw', }} /> ), diff --git a/src/components/pages/posts/analysis/form/chara/edit.tsx b/src/components/pages/posts/analysis/form/chara/edit.tsx index c23d3ead..52437f31 100644 --- a/src/components/pages/posts/analysis/form/chara/edit.tsx +++ b/src/components/pages/posts/analysis/form/chara/edit.tsx @@ -30,8 +30,6 @@ export const AnalysisFormCharaEdit = ({analysis}: Props) => { skills: analysis.skills, tipsBuilds: analysis.tipsBuilds, videos: analysis.videos, - story: analysis.story, - keywords: analysis.keywords, editNote: '', }, isIdAvailable: true, diff --git a/src/components/pages/posts/analysis/form/chara/main.test.tsx b/src/components/pages/posts/analysis/form/chara/main.test.tsx index 85454bc1..e91854c5 100644 --- a/src/components/pages/posts/analysis/form/chara/main.test.tsx +++ b/src/components/pages/posts/analysis/form/chara/main.test.tsx @@ -60,8 +60,6 @@ describe('Character analysis form', () => { ], tipsBuilds: 'tb', videos: 'vid', - keywords: 'kw', - story: 'str', editNote: '', }, }; @@ -102,10 +100,6 @@ describe('Character analysis form', () => { typeInput(tipsBuilds, 'tipsBuilds', {clear: true, rerender}); const videos = screen.getByText(formState.payload.videos, {selector: 'textarea'}); typeInput(videos, 'videos', {clear: true, rerender}); - const keywords = screen.getByText(formState.payload.keywords, {selector: 'textarea'}); - typeInput(keywords, 'keywords', {clear: true, rerender}); - const story = screen.getByText(formState.payload.story, {selector: 'textarea'}); - typeInput(story, 'story', {clear: true, rerender}); // endregion const editButton = screen.getByText(translationEN.posts.manage.edit); @@ -125,8 +119,6 @@ describe('Character analysis form', () => { skills: formState.payload.skills, tipsBuilds: 'tipsBuilds', videos: 'videos', - keywords: 'keywords', - story: 'story', editNote: '', }); }); @@ -214,8 +206,6 @@ describe('Character analysis form', () => { }], tipsBuilds: originalText, videos: originalText, - keywords: originalText, - story: originalText, editNote: originalText, }; @@ -252,8 +242,6 @@ describe('Character analysis form', () => { }], tipsBuilds: transformedText, videos: transformedText, - keywords: transformedText, - story: transformedText, editNote: originalText, }); }); diff --git a/src/components/pages/posts/analysis/form/chara/new.test.tsx b/src/components/pages/posts/analysis/form/chara/new.test.tsx index 4eb27464..2add059e 100644 --- a/src/components/pages/posts/analysis/form/chara/new.test.tsx +++ b/src/components/pages/posts/analysis/form/chara/new.test.tsx @@ -70,6 +70,7 @@ describe('New character analysis form', () => { dragon: null, }, quest: null, + misc: null, }, }, }, @@ -143,6 +144,7 @@ describe('New character analysis form', () => { dragon: null, }, quest: null, + misc: null, }, }, }, @@ -182,12 +184,11 @@ describe('New character analysis form', () => { skills: [], tipsBuilds: 'tipsBuilds', videos: 'videos', - keywords: 'keywords', - story: 'story', }, dragon: null, }, quest: null, + misc: null, }, }, }, @@ -219,6 +220,7 @@ describe('New character analysis form', () => { dragon: null, }, quest: null, + misc: null, }, }, }, diff --git a/src/components/pages/posts/analysis/form/chara/utils.ts b/src/components/pages/posts/analysis/form/chara/utils.ts index 44b7f0bb..867f3967 100644 --- a/src/components/pages/posts/analysis/form/chara/utils.ts +++ b/src/components/pages/posts/analysis/form/chara/utils.ts @@ -19,7 +19,5 @@ export const generatePayload = (lang: SupportedLanguages, uid?: string): CharaAn ], tipsBuilds: '', videos: '', - story: '', - keywords: '', }; }; diff --git a/src/components/pages/posts/analysis/form/dragon/edit.test.tsx b/src/components/pages/posts/analysis/form/dragon/edit.test.tsx index c44e8dae..e1d797a4 100644 --- a/src/components/pages/posts/analysis/form/dragon/edit.test.tsx +++ b/src/components/pages/posts/analysis/form/dragon/edit.test.tsx @@ -42,8 +42,6 @@ describe('Dragon analysis edit form', () => { suitableCharacters: 'sut', notes: 'not', videos: 'vid', - story: 'str', - keywords: 'kw', }} /> ), diff --git a/src/components/pages/posts/analysis/form/dragon/edit.tsx b/src/components/pages/posts/analysis/form/dragon/edit.tsx index 83b480f6..9aa314e8 100644 --- a/src/components/pages/posts/analysis/form/dragon/edit.tsx +++ b/src/components/pages/posts/analysis/form/dragon/edit.tsx @@ -32,8 +32,6 @@ export const AnalysisFormDragonEdit = ({analysis}: Props) => { suitableCharacters: analysis.suitableCharacters, notes: analysis.notes, videos: analysis.videos, - story: analysis.story, - keywords: analysis.keywords, editNote: '', }, isIdAvailable: true, diff --git a/src/components/pages/posts/analysis/form/dragon/utils.ts b/src/components/pages/posts/analysis/form/dragon/utils.ts index 708fd4df..47dfbca7 100644 --- a/src/components/pages/posts/analysis/form/dragon/utils.ts +++ b/src/components/pages/posts/analysis/form/dragon/utils.ts @@ -15,7 +15,5 @@ export const generatePayload = (lang: SupportedLanguages, uid?: string): DragonA notes: '', suitableCharacters: '', videos: '', - story: '', - keywords: '', }; }; diff --git a/src/components/pages/posts/analysis/output/bottom.tsx b/src/components/pages/posts/analysis/output/bottom.tsx index 5386126f..10161a71 100644 --- a/src/components/pages/posts/analysis/output/bottom.tsx +++ b/src/components/pages/posts/analysis/output/bottom.tsx @@ -32,34 +32,6 @@ export const SectionBottom = ({analysis}: Section } - { - analysis.story && - <> -
- - -

- {t((t) => t.posts.analysis.story)} -

- {analysis.story} - -
- - } - { - analysis.keywords && - <> -
- - -

- {t((t) => t.posts.analysis.keywords)} -

- {analysis.keywords} - -
- - } ); }; diff --git a/src/components/pages/posts/analysis/output/chara.test.tsx b/src/components/pages/posts/analysis/output/chara.test.tsx index 10fcdc5e..455063f5 100644 --- a/src/components/pages/posts/analysis/output/chara.test.tsx +++ b/src/components/pages/posts/analysis/output/chara.test.tsx @@ -38,8 +38,6 @@ describe('Analysis output (Character)', () => { ], tipsBuilds: 'bld', videos: 'vid', - story: 'str', - keywords: 'kw', viewCount: 777, editNotes: [ { @@ -81,8 +79,6 @@ describe('Analysis output (Character)', () => { expect(screen.getByText('tip')).toBeInTheDocument(); expect(screen.getByText('bld')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); @@ -109,8 +105,6 @@ describe('Analysis output (Character)', () => { expect(screen.getByText('tip')).toBeInTheDocument(); expect(screen.getByText('bld')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.getByText(new RegExp(`${altLangTips}`, 'g'))).toBeInTheDocument(); @@ -153,8 +147,6 @@ describe('Analysis output (Character)', () => { expect(screen.getByText('tip')).toBeInTheDocument(); expect(screen.getByText('bld')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.queryByText(/edn/)).not.toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); @@ -187,8 +179,6 @@ describe('Analysis output (Character)', () => { expect(screen.getByText('tip')).toBeInTheDocument(); expect(screen.getByText('bld')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); diff --git a/src/components/pages/posts/analysis/output/dragon.test.tsx b/src/components/pages/posts/analysis/output/dragon.test.tsx index 0a83e24f..1bf1a57b 100644 --- a/src/components/pages/posts/analysis/output/dragon.test.tsx +++ b/src/components/pages/posts/analysis/output/dragon.test.tsx @@ -31,8 +31,6 @@ describe('Analysis output (Dragon)', () => { suitableCharacters: 'suc', ultimate: 'ult', videos: 'vid', - story: 'str', - keywords: 'kw', viewCount: 777, editNotes: [ { @@ -69,8 +67,6 @@ describe('Analysis output (Dragon)', () => { expect(screen.getByText('suc')).toBeInTheDocument(); expect(screen.getByText('ult')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); @@ -94,8 +90,6 @@ describe('Analysis output (Dragon)', () => { expect(screen.getByText('suc')).toBeInTheDocument(); expect(screen.getByText('ult')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).toBeInTheDocument(); @@ -135,8 +129,6 @@ describe('Analysis output (Dragon)', () => { expect(screen.getByText('suc')).toBeInTheDocument(); expect(screen.getByText('ult')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.queryByText(/edn/)).not.toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); @@ -157,8 +149,6 @@ describe('Analysis output (Dragon)', () => { expect(screen.getByText('suc')).toBeInTheDocument(); expect(screen.getByText('ult')).toBeInTheDocument(); expect(screen.getByText('vid')).toBeInTheDocument(); - expect(screen.getByText('str')).toBeInTheDocument(); - expect(screen.getByText('kw')).toBeInTheDocument(); expect(screen.getByText(/777/)).toBeInTheDocument(); expect(screen.getByText(/edn/)).toBeInTheDocument(); expect(screen.queryByText(new RegExp(`${altLangTips}`, 'g'))).not.toBeInTheDocument(); diff --git a/src/i18n/translations/cht/translation.ts b/src/i18n/translations/cht/translation.ts index 6ab2ada3..e70ea9f9 100644 --- a/src/i18n/translations/cht/translation.ts +++ b/src/i18n/translations/cht/translation.ts @@ -721,14 +721,12 @@ export const translation: TranslationStruct = { posts: { analysis: { forceStrike: '特殊蓄力', - keywords: '關鍵字', normalAttack: '普攻模組', notesDragon: '註記', unitName: '物件名稱', unitType: '物件種類', passive: '被動技能', skills: '技能資訊', - story: '故事', suitable: '適配角色', summary: '懶人包', summonResult: '個人抽抽結果', diff --git a/src/i18n/translations/definition.ts b/src/i18n/translations/definition.ts index 17fbe71b..2e6acda3 100644 --- a/src/i18n/translations/definition.ts +++ b/src/i18n/translations/definition.ts @@ -566,14 +566,12 @@ export type TranslationStruct = { posts: { analysis: { forceStrike: string, - keywords: string, normalAttack: string, notesDragon: string, unitName: string, unitType: string, passive: string, skills: string, - story: string, suitable: string, summary: string, summonResult: string, diff --git a/src/i18n/translations/en/translation.ts b/src/i18n/translations/en/translation.ts index 1df89c3b..2875a651 100644 --- a/src/i18n/translations/en/translation.ts +++ b/src/i18n/translations/en/translation.ts @@ -768,14 +768,12 @@ export const translation: TranslationStruct = { posts: { analysis: { forceStrike: 'Force Strike Module', - keywords: 'Keywords', normalAttack: 'Normal Attack Module', notesDragon: 'Notes', unitName: 'Unit Name', unitType: 'Unit Type', passive: 'Passive', skills: 'Skill', - story: 'Story', suitable: 'Suitable Characters', summary: 'Summary', summonResult: 'My Summoning Result', diff --git a/src/i18n/translations/jp/translation.ts b/src/i18n/translations/jp/translation.ts index 1cfb4b7b..818a9a3b 100644 --- a/src/i18n/translations/jp/translation.ts +++ b/src/i18n/translations/jp/translation.ts @@ -726,14 +726,12 @@ export const translation: TranslationStruct = { posts: { analysis: { forceStrike: 'バーストアタック', - keywords: 'キーワード', normalAttack: '通常攻撃', notesDragon: '記事', unitName: '評価の名前', unitType: '評価の対象', passive: 'アビリティ', skills: 'スキル情報', - story: 'ストーリー', suitable: '相性良いキャラ', summary: '結論', summonResult: '個人のガチャ結果', diff --git a/test/data/resources b/test/data/resources index ca04808c..416a6bde 160000 --- a/test/data/resources +++ b/test/data/resources @@ -1 +1 @@ -Subproject commit ca04808c0db34690cffbf132d1d3d29c635ccce4 +Subproject commit 416a6bdee0cb7b94d6543a57abc51e3eb3f39784