Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #50 from RaenonX-DL/dev
Browse files Browse the repository at this point in the history
v1.5.0-Pre Release
  • Loading branch information
RaenonX authored Dec 23, 2020
2 parents ba51a5a + 97b61fa commit accae0f
Show file tree
Hide file tree
Showing 90 changed files with 2,944 additions and 355 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: Node CI

on: [push]

env:
REACT_APP_API_ROOT: http://dl-back.raenonx.cc
REACT_APP_RESOURCE_ROOT: https://raw.githubusercontent.com/RaenonX-DL/dragalia-site-resources/main
REACT_APP_DEPOT_ROOT: https://raw.githubusercontent.com/RaenonX-DL/dragalia-data-depot/main

jobs:
build:
name: Build & Test

runs-on: ubuntu-latest

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ yarn-error.log*

# misc
.DS_Store
.wakatime-project
29 changes: 25 additions & 4 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dragalia-posts-site-front",
"version": "1.3.3",
"version": "1.5.0",
"engines": {
"node": "12.x"
},
Expand All @@ -9,12 +9,14 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"@types/color": "^3.0.1",
"@types/jest": "^24.9.1",
"@types/node": "^12.19.0",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"bootstrap": "^4.5.3",
"chalk": "^4.1.0",
"color": "^3.1.3",
"i18next": "^19.8.2",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-http-backend": "^1.0.21",
Expand Down
113 changes: 104 additions & 9 deletions public/locales/cht/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,106 @@
"game": {
"data": {
"title_self": "遊戲資訊",
"active": "主動技能",
"cex": "CEX",
"others": "其他",
"passive": "被動技能",
"print": "護符",
"skill_atk": "攻擊技能",
"skill_sup": "支援技能",
"story": "故事"
"title_active": "主動技能",
"title_cex": "CEX",
"title_others": "其他",
"title_passive": "被動技能",
"title_print": "護符",
"title_skill_atk": "攻擊技能",
"title_skill_sup": "支援技能",
"title_story": "故事"
},
"skill_atk": {
"name": {
"atk": "攻擊",
"atk_in_game": "遊戲顯示",
"atk_conditional": "條件增攻 (%)",
"atk_buff": "Buff (%)",
"buff_boost": "Buff 數增傷",
"buff_count": "Buff 擁有數",
"buff_zone_self": "Buff 區域 (自己)",
"buff_zone_ally": "Buff 區域 (隊友)",
"ex": "EX",
"ex_blade": "",
"ex_wand": "",
"crt": "爆擊",
"crt_rate": "爆擊機率 (%)",
"crt_damage": "爆擊傷害 (%)",
"crt_inspired": "超靈感",
"skill": "技能傷害",
"skill_buff": "Buff (%)",
"skill_passive": "被動總和 (%)",
"skill_energized": "超活力",
"punisher": "特攻",
"punisher_bk": "BK 特攻 (%)",
"punisher_others": "其他特攻 (%)",
"other": "其它",
"other_element_bonus": "屬性增傷 (%)",
"other_hp": "HP (%)",
"target": "目標相關",
"target_element": "屬性",
"target_affliction": "異常狀態",
"target_state": {
"title": "目標狀態",
"none": "",
"od": "OD",
"bk": "BK"
},
"target_def_down": "降防 (%)",
"target_def": "基礎防禦",
"target_def_bk": "BK 降防率",
"filter": "條件篩選",
"filter_element": "屬性",
"filter_affliction": "異常狀態"
},
"desc": {
"atk": "泛指所有遊戲內與攻擊力有關的參數。",
"atk_in_game": "俗稱表攻。此數值為直接打開角色資訊頁面時,包含龍、護符、加值在內的攻擊力。此為暫時欄位,日後預計新增直接選擇角色並且自動配置龍、武器的功能。",
"atk_conditional": "任何需要條件的攻擊上升屬於此類別。例如: 疾風怒濤、HP > 70% 等。",
"atk_buff": "任務中,下方 Buff 列所顯示的攻擊增益。此項目上限值為 200%。",
"buff_boost": "泛指所有藉由 Buff 數量提升傷害的參數。",
"buff_count": "當前身上所擁有的 Buff 數。注意,靈感、活力無論等級,都只算做 1 個 Buff。",
"buff_zone_self": "當前所在由自己建立的 Buff 區域數量。",
"buff_zone_ally": "當前所在由隊友建立的 Buff 區域內的數量。",
"ex": "後台 EX 被動。屬性增傷 (皮亞尼)、降攻 / 降防特攻 (龍絆日李弗)、爆擊傷害 (萬聖慕慕、情人女僕斧) 請直接輸入至對應區塊內。",
"crt": "泛指所有和爆擊相關的參數。",
"crt_rate": "爆擊機率。注意,如果超靈感有勾選的話,無論此項數值為何,計算過程都會直接認定絕對爆擊。",
"crt_damage": "爆擊傷害提升率。遊戲內所計算的 1.7x 爆擊增傷已經計算在內。",
"skill": "泛指所有和技能傷害有關的參數。",
"skill_buff": "任務中,下方 Buff 列所顯示的技能增傷。此項目上限值為 200%。注意,貓的技能傷害 +180% 屬於此類別。",
"skill_passive": "龍、護符的技能傷害增益。注意,貓的被動屬於 Buff,不屬於此類別。",
"punisher": "泛指所有和特攻有關的參數。",
"punisher_bk": "敵人於 Break 狀態中的特攻。注意,BK 後的降防不屬於此類別。",
"punisher_others": "其他特攻,例如異常狀態特攻 (護符)、OD 特攻、降攻 / 降防特攻 (龍絆日李弗) 都屬於此類別。",
"other": "泛指所有未歸類的增傷手段,例如屬性增傷。",
"other_element_bonus": "其它屬性增傷。皮亞尼、波賽頓.勇的屬性增傷屬於此類別。",
"other_hp": "當前血量。",
"target": "泛指所有和目標相關的參數。",
"target_element": "目標的屬性。",
"target_affliction": "目標當前擁有的異常狀態。",
"target_state": {
"title": "目標當前的狀態。"
},
"target_def_down": "對目標有效的降防。任務中,Boss 血條上方可以查看。",
"target_def": "目標基礎防禦。通常為 10;光牙為 15 (2020/12/20)。",
"target_def_bk": "BK 時,目標的防禦變動係數。通常為 0.6;暗牙、絕牙為 0.8 (BSK 1.25)。",
"filter": "如果此區塊中有任何條件被勾選,則符合任一勾選條件的技能條目將會被列入,否則略過。",
"filter_element": "如果複選屬性,例如: 火、風,則所有火屬性角色或風屬性角色的技能條目將會被列入,否則略過。",
"filter_affliction": "如果複選異常狀態,例如: 毒、火燒,則所有會上毒或火燒的條目將會被列入,否則略過。注意,這邊的條件篩選指的是技能本身所帶的異常狀態,並非異常特攻。"
},
"entry": {
"not_cancelable": "此技能無法取消。",
"cancelable": "此技能可於 {{cancelTime}} 秒後取消。",
"stackable": "可堆疊",
"unstackable": "不可疊",
"affliction": "於 {{afflictionTime}} 秒 ({{afflictionProbabilityPct}}% / {{afflictionDuration}} 秒)",
"buff_count": "Buff 數增傷",
"buff_zone": "Buff 區域數增傷",
"crisis_up": "低血增傷",
"crisis_up_desc": "最多增傷 {{maxRate}} 倍",
"crisis_down": "滿血增傷"
},
"search": "搜尋"
},
"tools": {
"title_self": "遊戲工具",
Expand Down Expand Up @@ -53,7 +145,10 @@
"quest_new": "新增高難攻略",
"quest_post": "高難副本攻略",
"site": "龍絆攻略站 by OM",
"suffix": " | 龍絆攻略站 by OM"
"suffix": " | 龍絆攻略站 by OM",
"game_data": {
"skill_atk": "攻擊技能表"
}
},
"constructing": "網頁/功能建置中。建置完畢後會公布。\n\n### Email 通知系統完成前\n\n會在各社交平台上 (例如: 巴哈、FB 社團、LINE...等) 公布。\n\n### Email 通知系統完成後\n\n有登入過的使用者,或是有登記要收到最新功能通知的使用者會收到關於新功能 / 頁面的 Email。",
"welcome": "歡迎來到由 OM 製作的龍絆攻略網!大部分的功能、網頁都還在建造中,不便之處請見諒。\n\n目前 **高難攻略、物件評測** 已完成,歡迎瀏覽。\n\n點選建置中的頁面可以查看相關說明。"
Expand Down
113 changes: 104 additions & 9 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,106 @@
"game": {
"data": {
"title_self": "Game Data",
"active": "Active",
"cex": "Chained Co-ability",
"others": "Others",
"passive": "Passive",
"print": "Wyrmprints",
"skill_atk": "Skill (Attack)",
"skill_sup": "Skill (Support)",
"story": "Story"
"title_active": "Active",
"title_cex": "Chained Co-ability",
"title_others": "Others",
"title_passive": "Passive",
"title_print": "Wyrmprints",
"title_skill_atk": "Skill (Attack)",
"title_skill_sup": "Skill (Support)",
"title_story": "Story"
},
"skill_atk": {
"name": {
"atk": "攻擊",
"atk_in_game": "遊戲顯示",
"atk_conditional": "條件增攻 (%)",
"atk_buff": "Buff (%)",
"buff_boost": "Buff 數增傷",
"buff_count": "Buff 擁有數",
"buff_zone_self": "Buff 區域 (自己)",
"buff_zone_ally": "Buff 區域 (隊友)",
"ex": "EX",
"ex_blade": "",
"ex_wand": "",
"crt": "爆擊",
"crt_rate": "爆擊機率 (%)",
"crt_damage": "爆擊傷害 (%)",
"crt_inspired": "超靈感",
"skill": "技能傷害",
"skill_buff": "Buff (%)",
"skill_passive": "被動總和 (%)",
"skill_energized": "超活力",
"punisher": "特攻",
"punisher_bk": "BK 特攻 (%)",
"punisher_others": "其他特攻 (%)",
"other": "其它",
"other_element_bonus": "屬性增傷 (%)",
"other_hp": "HP (%)",
"target": "目標相關",
"target_element": "屬性",
"target_affliction": "異常狀態",
"target_state": {
"title": "目標狀態",
"none": "",
"od": "OD",
"bk": "BK"
},
"target_def_down": "降防 (%)",
"target_def": "基礎防禦",
"target_def_bk": "BK 降防率",
"filter": "條件篩選",
"filter_element": "屬性",
"filter_affliction": "異常狀態"
},
"desc": {
"atk": "泛指所有遊戲內與攻擊力有關的參數。",
"atk_in_game": "俗稱表攻。此數值為直接打開角色資訊頁面時,包含龍、護符、加值在內的攻擊力。此為暫時欄位,日後預計新增直接選擇角色並且自動配置龍、武器的功能。",
"atk_conditional": "任何需要條件的攻擊上升屬於此類別。例如: 疾風怒濤、HP > 70% 等。",
"atk_buff": "任務中,下方 Buff 列所顯示的攻擊增益。此項目上限值為 200%。",
"buff_boost": "泛指所有藉由 Buff 數量提升傷害的參數。",
"buff_count": "當前身上所擁有的 Buff 數。注意,靈感、活力無論等級,都只算做 1 個 Buff。",
"buff_zone_self": "當前所在由自己建立的 Buff 區域數量。",
"buff_zone_ally": "當前所在由隊友建立的 Buff 區域內的數量。",
"ex": "後台 EX 被動。屬性增傷 (皮亞尼)、降攻 / 降防特攻 (龍絆日李弗)、爆擊傷害 (萬聖慕慕、情人女僕斧) 請直接輸入至對應區塊內。",
"crt": "泛指所有和爆擊相關的參數。",
"crt_rate": "爆擊機率。注意,如果超靈感有勾選的話,無論此項數值為何,計算過程都會直接認定絕對爆擊。",
"crt_damage": "爆擊傷害提升率。遊戲內所計算的 1.7x 爆擊增傷已經計算在內。",
"skill": "泛指所有和技能傷害有關的參數。",
"skill_buff": "任務中,下方 Buff 列所顯示的技能增傷。此項目上限值為 200%。注意,貓的技能傷害 +180% 屬於此類別。",
"skill_passive": "龍、護符的技能傷害增益。注意,貓的被動屬於 Buff,不屬於此類別。",
"punisher": "泛指所有和特攻有關的參數。",
"punisher_bk": "敵人於 Break 狀態中的特攻。注意,BK 後的降防不屬於此類別。",
"punisher_others": "其他特攻,例如異常狀態特攻 (護符)、OD 特攻、降攻 / 降防特攻 (龍絆日李弗) 都屬於此類別。",
"other": "泛指所有未歸類的增傷手段,例如屬性增傷。",
"other_element_bonus": "其它屬性增傷。皮亞尼、波賽頓.勇的屬性增傷屬於此類別。",
"other_hp": "當前血量。",
"target": "泛指所有和目標相關的參數",
"target_element": "目標的屬性。",
"target_affliction": "目標當前擁有的異常狀態。",
"target_state": {
"title": "目標當前的狀態。"
},
"target_def_down": "對目標有效的降防。任務中,Boss 血條上方可以查看。",
"target_def": "目標基礎防禦。通常為 10;光牙為 15 (2020/12/20)。",
"target_def_bk": "BK 時,目標的防禦變動係數。通常為 0.6;暗牙、絕牙為 0.8 (BSK 1.25)。",
"filter": "如果此區塊中有任何條件被勾選,則符合任一勾選條件的技能條目將會被列入,否則略過。",
"filter_element": "如果複選屬性,例如: 火、風,則所有火屬性角色或風屬性角色的技能條目將會被列入,否則略過。",
"filter_affliction": "如果複選異常狀態,例如: 毒、火燒,則所有會上毒或火燒的條目將會被列入,否則略過。注意,這邊的條件篩選指的是技能本身所帶的異常狀態,並非異常特攻。"
},
"entry": {
"not_cancelable": "此技能無法取消。",
"cancelable": "此技能可於 {{cancelTime}} 秒後取消。",
"stackable": "可堆疊",
"unstackable": "不可疊",
"affliction": "於 {{afflictionTime}} 秒 ({{afflictionProbabilityPct}}% / {{afflictionDuration}} 秒)",
"buff_count": "Buff 數增傷",
"buff_zone": "Buff 區域數增傷",
"crisis_up": "低血增傷",
"crisis_up_desc": "最多增傷 {{maxRate}} 倍",
"crisis_down": "滿血增傷"
},
"search": "搜尋"
},
"tools": {
"title_self": "Game Tools",
Expand Down Expand Up @@ -53,7 +145,10 @@
"quest_new": "New HDTs/Agitos",
"quest_post": "HDTs/Agitos",
"site": "DL Info by OM",
"suffix": " | DL Info by OM"
"suffix": " | DL Info by OM",
"game_data": {
"skill_atk": "Attacking skills"
}
},
"constructing": "Under construction. Will announce upon completion somewhere.\n\n### Completed before email notification system has been completed\n\nWe will announce it in social media (Reddit, FB groups, etc.).\n\n### Completed after the email notification system has been implemented\n\nUsers who logged in before or signed up for the email list will receive an email about the new release.",
"welcome": "Welcome to the DL info website constructed and maintained by the members of the alliance - Oasis of the Maniacs!\n\nMost of the pages and the features are still under construction.\n\n**HDTs/Agitos, Unit Analysis** are completed. Take a look!\n\nHead to the pages/functions which are still under construction to get more details."
Expand Down
Loading

0 comments on commit accae0f

Please sign in to comment.