Commit Graph

423 Commits

Author SHA1 Message Date
Igor
4905cc8fc0
Ru translation update (#1195)
ru-translate updates
2022-12-16 09:28:09 +03:00
Kalle
7e07b6195e Update Italian translation 2022-12-15 17:39:03 +02:00
Frederik
70ba7fc745
Update Danish translation (#1190)
* Added Danish translations for Analyzer.json

Added Danish translations in the Analuzer.json files for the following lines.

damage.SPLATANA_VERTICAL_DIRECT
damage.SPLATANA_VERTICAL
damage.SPLATANA_HORIZONTAL_DIRECT
damage.SPLATANA_HORIZONTAL

* Updated Danish Translations in common.json

Updated and changed translations in the common.json file

Added following translations
pages.u
plans.blueprint
plans.noImg

Changed following translations
- pages.builds (changed to a shorter name to avoid cluttering on the main page)
- pages.analyzer (changed to a shorter name to avoid clutting on the main page)
- pages.plans (changed to a shorter name to make in order to make all pages names shorter)
- pages.object-damage-calculator (changed to a shorter name to avoid cluttering on the main page. This is a wierd translation, so it might be changed in the future)

* Added Danish translations to contributions.json

Added the folloing line to the contributions.json file
-yaga

changed the translation for the following line
- borzoic (changed a word, to make the translation more correct)

* Added Danish translations for the faq.json file

Added Danish translations for the faq.json file.

The following lines have been added
q5
a5
q6
a6

* Added DAnish translations for the user.json file

The following lines have been translated in the user.json file

search.info
search.noResults
2022-12-15 17:32:25 +02:00
Kalle
7945e1ecc7 User page: weapon pool 2022-12-13 18:51:06 +02:00
Igor
74f6d28c39
Ru-translation update + lowercase for yaga (#1192)
* ru-translate updates

* lowercase for yaga (same as above on page)
2022-12-13 12:07:36 +03:00
Kalle
27a5cd70f9 Add badge 2022-12-12 18:04:50 +02:00
Kalle
fbc5979fb8 Add badge 2022-12-10 21:49:46 +02:00
Kalle
0fd1bc0e2b Map Planner: TC Blueprint backgrounds 2022-12-10 20:44:19 +02:00
Kalle
a52c92808f Contributions: Add yaga 2022-12-10 20:13:43 +02:00
Kalle
914a3eae36 Obj DMG Calc: different explanation separator 2022-12-10 19:47:16 +02:00
Kalle
26e43b2ead Restore light mode 2022-12-08 21:29:51 +02:00
Igor
0554a28b37
ru-translate updates (#1189) 2022-12-08 11:56:33 +03:00
Kalle
ce3eda3545 Build Analyzer: Splatana damages 2022-12-08 00:51:34 +02:00
Alfio
342ab448ad
Introducing the Italian Language (#1187)
* Add Italian Localisation

* Run prettier

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-12-07 19:02:52 +02:00
Kalle
8444d75123 Add new FAQ questions 2022-12-07 18:16:34 +02:00
Frederik
d4d1267d52
Update Danish translation (#1181)
* Added Danish translations for analyser.json

Added Danish translations in analyzer.json
"stat.subWeaponInkConsumptionPercentage"

Changed translatiosn of
-stat.category.main" #fixed missspeling
-stat.category.sub #changed formatting to fit the one from stat.category.main.
- "stat.whiteInk" # changed translation to make eaiser to understand (hopefully)
- stat.movementReduction # changed translation in order to make it clear, that it reduces the effectiveness of the toxic mist movement reduction effect
-damage.header.distance" # changed word for one, that is more commonly used
- damage.toSplat_one and damage.toSplat_other # fixed misspelling
-noDmgData # fixed misspelling

* Added Danish translations

Added Danish translation in the calander.json file

added
- actions.delete
- actions.delete.confirm

* Added Danish translations

Added danish translations in common.json

- pages.myPage
-articles.by #I belive this one have been added earlier.

* Ran prettier.io on file that gave an error

An error came when the file was scanned.
I have now copied the file from prettier.io
2022-12-07 00:22:45 +02:00
lolametro
63e84ab07d
Update DE translation (#1185)
* Update analyzer.json for DE

* Update calendar.json for DE

* Update common.json for DE

* Update contributions.json for DE

* Update faq.json for DE

* Use more common term for user

* Update user.json for DE

* Create tournament.json for DE

* Streamline terms

* Fix inconsistencies

* Reformat #1

* Reformat .2

* Reformat .3

* Reformat .4
2022-12-07 00:22:04 +02:00
Kalle
1e3832944f PWA 2022-12-06 14:18:20 +02:00
Kalle
772b49e076 New sub/special icons 2022-12-06 12:49:41 +02:00
Kalle
37a0b7c7b7 New badges 2022-12-05 22:01:57 +02:00
Kalle
06c43e8f0a User search page
Closes #1032
2022-12-05 21:58:12 +02:00
Kalle
a9701f874f Analyzer: Add sub weapon ink consumption stat 2022-12-05 16:17:26 +02:00
Kalle
34ca290bdd
Redesign (#1179)
* Remove light mode

* Trim header

* New front page initial

* Get rid of build layout

* Breadcrumbs

* Desktop side nav

* Overhaul colors

* Add breadcrumbs

* New sub nav style

* Front page action buttons

* Add back add new build button

* Add articles page with icon

* Minor Object damage page layout tweaks

* Remove one unnecessary render from object damage

* Fix wrong link in article page

* Profile -> My Page in header

* Log in/out buttons in front

* Add drawings to front page

* Remove unnecessary comment
2022-12-05 16:05:51 +02:00
Kalle
dacc475efb Add 2.0 maps 2022-12-05 11:25:13 +02:00
Kalle
535ec3c416 Remove test image 2022-12-05 00:13:48 +02:00
Kalle
ffc92bdbce Chill Season 2022 update (2.0) 2022-11-30 22:24:56 +02:00
Gell
14a929cfb2
Update Chinese translation (#1173)
* Update analyzer.json

* Update calendar.json

* Update common.json

* Update contributions.json

* Update common.json

* Update faq.json

* Update front.json

* Update tournament.json
2022-11-29 21:58:51 +02:00
Igor
6df9257b20
Ru-translation (tournaments + planner) (#1171)
* tournaments translation by yaga, other updates by DblCookies
2022-11-28 23:25:20 +03:00
Frederik
3b7a46f27b
Update Danish translations (#1168)
* Added Danish translations for planner

Added Tanslations for the following lines in the common.json file.

pages.plans
actions.setBg
plans.poweredBy

* Added Danish translations for contributions

Added translations for the following lines in the contributions.json file.
code
twig

fixed wrong translations in the following lines
borzoic #The first letter was uncapitalised and the translations used English words instead of Danish.

* Added Danish translations

Added translations in the front.json file 
plans.description

Changed translation or changed formating in the front.json file of the following lines
-  calendarGoTo (Added a dot)
- plus.description (added a dot)
- "badges.description" (changed translation in order to make it more compact)
- "maps.description (added a dot)
- "recentWinners" (Changed translation to make it a more faithfull translation)

* Added Danish translations

Added Danish translations in the tournament.json file.

added
- "preview": "Se forhåndsvisning af banelistegeneratoren (kun for admins)",
- admin.download
 - admin.download.discord
2022-11-27 17:00:33 +02:00
Kalle
47899b5bf2 Calendar: Add feature to delete an event
Closes #1121
2022-11-26 18:17:57 +02:00
Kalle
bb722b225f Move all immutable assets to one folder
Closes #918
2022-11-26 16:33:43 +02:00
Kalle
54dd5a63da Update Danish translation 2022-11-23 21:37:00 +02:00
Kalle
acffb83997 Add SOS and SAC badges 2022-11-23 17:42:21 +02:00
Kalle
aea7406586
Map Planner (#1145)
* Initial

* Add images

* Tweaks

* Proper sized bg image and weapons

* Stage bg picker

* Outlined weapon images for planner

* First version

* Lint

* Add alt and title to weapon
2022-11-23 17:38:38 +02:00
Ai Suzuki
3d41e5ede1
Update Japanese translation (#1144)
* update translation

* add items
2022-11-20 23:49:01 +02:00
Kalle
045cb5ce83 Preview maplist generator toggle for admins 2022-11-19 17:14:12 +02:00
Kalle
29057d60db Download participants as Discord list button 2022-11-19 16:59:36 +02:00
Ai Suzuki
266ffc99ae
Update Japanese translation (#1133) 2022-11-18 20:37:16 +02:00
Kalle
e2dedf0526 Add Q&A about Patreon 2022-11-16 19:05:26 +02:00
William Lam
2da0738dc6
Ability Chunks Required section in Build Analyzer (#1120)
* Added Ability Chunks Required section in Build Analyzer

* Renamed a variable to be more precisely correct

* Added reference

* Removed some extra Javadoc comments

* Prettier fix

* We now only render the AbilityChunksRequired section only if the main abilities array contains a value other than "UNKNOWN"

* Improved React keys naming for performance reasons

* Ability Chunks map is now converted to an array & sorted by value (descending) before it gets rendered as visual components

* Fixed typing error

* Moved logical function to a new file in the analyzer module called abilityChunksCalc.ts
- Refactored for loop content to be cleaner
- Removed & changed some comments

* More for loop refactoring

* We now pass the entire build into abilityChunksCalc.ts

* Refactored map() to flatMap() so we avoid unknowns/null/undefined

* Refactored code to process mainAbilities and subAbilities

* Fixed subability list construction logic & typing in updateAbilityChunksMap()

* Got my first unit test working

* Added working unit tests, also changed sort order slightly

* Added a "real" build for testing

* Removed residual console.warn() call

* Moved constants to abilityChunksCalc.ts

* Ability chunk calculation is now correct for sub abilities

* Uncommented tests & improved their descriptions

* Rearranged expected output to match sorted order for clarity (even though it doesn't have to be)

* Fixed Prettier error

* Spacing

* Moved comments around

* More spacing

* Prettier error on test file

* Improved check in the tests

* Added a second "real" build to tests for good measure

* Added error message to empty array test

* Updated comments again

* More comments updated

* Update test name

* Ability Chunks section is now shown if we have at least one selected ability (handles edge case for primary slot-only abilities being the only chosen ability)
2022-11-16 00:10:48 +02:00
Kalle
a5fbc55bf5 Add badges 2022-11-15 21:23:03 +02:00
Gell
d18b162393
Update Chinese translation (#1125)
* Update calendar.json

* Update common.json

* Create tournament.json
2022-11-15 18:59:54 +02:00
Ai Suzuki
7161cd1e1b
Update Japanese translation (#1124) 2022-11-15 18:59:31 +02:00
Frederik
8800e43dcf
Update Danish translation (#1123)
* Added Danish translation

Added Danish translation for the line

"pages.articles":

* Added Danish translation

Added Danish translation for the following line.

"articlesGoTo"

* Added Danish translation

Added Danish translation for 
"articlesGoTo"

added missing comma's in the code, so it follows correct formatting.

* removed empty line at end of the file

Removed an empty line under the "}" symbol.

* Fixed formating

Removed line 16, as it was completely empty.

* Update front.json

* Update front.json

* Fix CI

* Added Danish Translation

Added Danish translation in the common.JSON file for the following lines. 

header.language
header.loggedInAs
header.theme
theme.light
theme.dark
theme.auto

Changes translation of the following lines in order to comply with translations in the game-misc.json 
"maps.halfSz"

* Added Danish Translations for TO-tools.

Added Danish translations for 
 "forms.toTools.header": 

  "forms.toTools.explanation": 
Note. the translations is assumed that the "seed creator tool" is a tool to seed the teams in the tournament.

* added Danish translations for TO-tool.

Added Danish translations for the following lines

The following lines have been translated

actions.saveChanges
maps.tieBreakerMapPool
maps.validation.PICKING
maps.validation.NOT_ONE_MAP_PER_MODE
maps.validation.MAP_REPEATED
maps.validation.MODE_REPEATED
maps.validation.TOO_MUCH_STAGE_REPEAT
maps.validation.VALID

* Added Danish translations for tournament.json

Added Danish translations for the TO tool.

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-11-15 18:58:52 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
Kalle
0806f9ed9c Add Leblanc Hideout Tournament badge 2022-11-10 18:01:36 +02:00
Gell
5f810cc32c
Update Chinese translation (#1114)
* Update user.json

* Update common.json

* Update analyzer.json

* Update builds.json

* Update faq.json

* Update analyzer.json
2022-11-09 18:49:33 +02:00
Frederik
dbbbf72d35
Update Danish translation (#1100)
* Added Danish translation

Added Danish translation for the line

"pages.articles":

* Added Danish translation

Added Danish translation for the following line.

"articlesGoTo"

* Added Danish translation

Added Danish translation for 
"articlesGoTo"

added missing comma's in the code, so it follows correct formatting.

* removed empty line at end of the file

Removed an empty line under the "}" symbol.

* Fixed formating

Removed line 16, as it was completely empty.

* Update front.json

* Update front.json

* Fix CI

* Added Danish Translation

Added Danish translation in the common.JSON file for the following lines. 

header.language
header.loggedInAs
header.theme
theme.light
theme.dark
theme.auto

Changes translation of the following lines in order to comply with translations in the game-misc.json 
"maps.halfSz"

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2022-11-09 00:05:13 +02:00
Gell
b8acc5d4ea
Update Chinese translation (#1109)
* Update calendar.json

* Update contributions.json

* Update game-misc.json

* Update front.json

* Update user.json

* Update analyzer.json

* Update common.json

* Update common.json

* Update common.json

* Add missing comma

* Add missing comma

* reformat by Prettier

* Reformat by Prettier

* Update builds.json

* Remove duplicated key

* Fix period
2022-11-08 22:07:36 +02:00
Ai Suzuki
aaa1560e36
Update Japanese translation (#1112) 2022-11-08 22:05:07 +02:00