Commit Graph

525 Commits

Author SHA1 Message Date
Kalle
b33086fe3f Replace old 20XX badge with new 2023-02-26 14:50:15 +02:00
Kalle
30063f6075
VoDs (#1283)
* YouTube lite embed + CSS bundled import

* Migration initial

* New VoD page initial functioning

* Table changes + add TODOs

* New structure for add vod page

* WIP add new VoD backend

* Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods

* Fix when leaderboard appears

* Function new vod form

* Single vod page initial

* Different YouTubeEmbed

* Scroll to top when going to timestamp

* Vod match weapon/mode icons

* Vod page user

* Add date to vod page

* Adjust migration order

* Vod page many weapons

* Add title to vod page

* New vods page cast many weapons

* Add player index to order by

* Vods new more validation

* Vod listing page initial

* Vods page with filters

* Show message if no vods

* Fix not being to unset filters

* Fix seed sometimes throwing errors

* User page VoDs

* Vods nullable weapon combobox

* Link directly to user custom url from vod page

* Make video adder admin action

* Can add video checks

* i18n

* New VoD form tests

* VoD operates filters test

* Vods behind flag

* Remove from config
2023-02-26 14:31:57 +02:00
Kalle
872aa20260 Add badges 2023-02-26 11:32:47 +02:00
Kalle
e715540430 Add badges 2023-02-23 22:30:26 +02:00
Kalle
c0c4c251cc Add Polish language 2023-02-23 21:47:09 +02:00
Gell
16cbf2c84a
Add Chinese Translation (#1269)
* Update contributions.json

* Update contributions.json

* Update faq.json

* Update user.json

* Create team.json

* Update common.json

* Update analyzer.json

* Prettier

* Prettier

* Prettier
2023-02-23 00:07:52 +02:00
Frederik
8544cfe9ae
Update Danish translation (#1246)
* Added danish translatios to the common.json file.

Added translations for the following lines. in the DA\common.json file

pages.t
actions.reset
actions.create
actions.cancel
actions.join
actions.upload
upload.imageToUpload
upload.title
upload.type.team-pfp
upload.type.team-banner
upload.commonExplanation # Translations are made assuming it means "{{count}} images await moderator approval
upload.afterExplanation # Translations are made assuming it means "{{count}} images await moderator approval

Changes to exiting translation in common.json file
- "actions.copyToClipboard" #Made translation slightly shorter.

* Added Danish translations

Added DAnish translations to the contributions.json file.
Added following lines.
- antariska

* Added danish translations to team.json

Added Danish translations for team.json.

The following lines have been added.
newTeam.button
newTeam.header
teamSearch.placeholder
actionButtons.leaveTeam
leaveTeam.header
actionButtons.leaveTeam.confirm
actionButtons.editTeam
actionButtons.manageRoster
actionButtons.deleteTeam
actionButtons.kick
kick.header
actionButtons.transferOwnership
transferOwnership.header
actionButtons.transferOwnership.confirm
deleteTeam.header
forms.fields.teamTwitter
forms.fields.bio
forms.fields.uploadImages
forms.fields.uploadImages.pfp
forms.fields.uploadImages.banner
forms.info.name
forms.errors.duplicateName
roster.teamFull
roster.inviteLink.header
roster.members.header
validation.SHORT_CODE
validation.TEAM_FULL
validation.INVITE_CODE_WRONG
validation.ALREADY_IN_DIFFERENT_TEAM
validation.VALID

* Fixed translations

Changed following translations in the common.json file
-"upload.afterExplanation_one": # Added the {{count}} variable, at it is required.

* Added Danish translation

Added the following Danish translations to the analyser.json file
-build1
-build2
-compare

changed the following translation
- "build" # Changed the translation to a shorter version. (the translation for build was a while ago translated to a shorter name due to lack of space).

* Added Danish translations

Added the following translations in the common.json file
 "pages.support"
custom.colors.title
custom.colors.bg
custom.colors.bg-darker
custom.colors.bg-lighter
custom.colors.text
custom.colors.text-lighter
custom.colors.theme

I have not worked on the translations for the support page, at it seems, tha the English text may still be a work in progess, so I will translate them, once the page have been released.

* Added Dutch translations

Added Dutch translations to the game-mics.json file.
The following translations have been made.

MODE_LONG_TW
MODE_LONG_SZ
MODE_LONG_TC
MODE_LONG_RM
MODE_LONG_CB

* Added Dutch translations to calandar.json

Added Dutch translations in the calander.json file.
Note: I am not a native Dutch speaker, so I may have made some mistakes in the translations.

The following translations where added
actions.delete
actions.delete.confirm
forms.toTools.header
forms.toTools.explanation

* Update game-misc.json

* Ran file through prettier.io

Ran the file through prettier.io, as the prettier check failed on this file

* Updated Danish translation in analyzer.json

Added translation in the analyzer.json file

added translation for
- newBuildPrompt

* Added DAnish translations for the support page

Added the following Danish translations in the common.json file

pages.privacy
support.intro.first
support.intro.second
support.action
support.footer
support.perk.supportMyWork
support.perk.adFree
support.perk.nameInFooter
support.perk.discordColorRole
support.perk.discordColorRole.extra
support.perk.badge
support.perk.seePlusPercentage
support.perk.seePlusPercentage.extra
support.perk.autoValidatePictures
support.perk.autoValidatePictures.extra
support.perk.customizedColorsUser
support.perk.customizedColorsTeam
support.perk.customizedColorsTeam.extra
support.perk.privateDiscord
support.perk.privateDiscord.extra
2023-02-18 11:07:36 +02:00
Ai Suzuki
81b26a3046
Translation ja 20220215 (#1245)
* add one item

* change line

---------

Co-authored-by: Ai Suzuki <asuzuki@blockchains.com>
2023-02-15 16:14:59 +02:00
Ai Suzuki
c9a9b51af8
Translation ja (20230214) (#1244)
* add translation

* rest of items

---------

Co-authored-by: Ai Suzuki <asuzuki@blockchains.com>
2023-02-15 12:32:19 +02:00
Kalle
c6361adec7 Layout adjustments 2023-02-15 00:08:27 +02:00
Kalle
497df62d6e Add badge 2023-02-12 14:00:17 +02:00
Igor Nemytyshev
3e45732e41
Ru-translation update (#1213)
- Fixing typos in old translation files
- Adding missing keys
2023-02-09 17:35:08 +03:00
Frederik
7e454d725a
Added Danish translations (#1209)
* Added danish translatios to the common.json file.

Added translations for the following lines. in the DA\common.json file

pages.t
actions.reset
actions.create
actions.cancel
actions.join
actions.upload
upload.imageToUpload
upload.title
upload.type.team-pfp
upload.type.team-banner
upload.commonExplanation # Translations are made assuming it means "{{count}} images await moderator approval
upload.afterExplanation # Translations are made assuming it means "{{count}} images await moderator approval

Changes to exiting translation in common.json file
- "actions.copyToClipboard" #Made translation slightly shorter.

* Added Danish translations

Added DAnish translations to the contributions.json file.
Added following lines.
- antariska

* Added danish translations to team.json

Added Danish translations for team.json.

The following lines have been added.
newTeam.button
newTeam.header
teamSearch.placeholder
actionButtons.leaveTeam
leaveTeam.header
actionButtons.leaveTeam.confirm
actionButtons.editTeam
actionButtons.manageRoster
actionButtons.deleteTeam
actionButtons.kick
kick.header
actionButtons.transferOwnership
transferOwnership.header
actionButtons.transferOwnership.confirm
deleteTeam.header
forms.fields.teamTwitter
forms.fields.bio
forms.fields.uploadImages
forms.fields.uploadImages.pfp
forms.fields.uploadImages.banner
forms.info.name
forms.errors.duplicateName
roster.teamFull
roster.inviteLink.header
roster.members.header
validation.SHORT_CODE
validation.TEAM_FULL
validation.INVITE_CODE_WRONG
validation.ALREADY_IN_DIFFERENT_TEAM
validation.VALID

* Fixed translations

Changed following translations in the common.json file
-"upload.afterExplanation_one": # Added the {{count}} variable, at it is required.

* Added Danish translation

Added the following Danish translations to the analyser.json file
-build1
-build2
-compare

changed the following translation
- "build" # Changed the translation to a shorter version. (the translation for build was a while ago translated to a shorter name due to lack of space).

* Added Danish translations

Added the following translations in the common.json file
 "pages.support"
custom.colors.title
custom.colors.bg
custom.colors.bg-darker
custom.colors.bg-lighter
custom.colors.text
custom.colors.text-lighter
custom.colors.theme

I have not worked on the translations for the support page, at it seems, tha the English text may still be a work in progess, so I will translate them, once the page have been released.

* Added Dutch translations

Added Dutch translations to the game-mics.json file.
The following translations have been made.

MODE_LONG_TW
MODE_LONG_SZ
MODE_LONG_TC
MODE_LONG_RM
MODE_LONG_CB

* Added Dutch translations to calandar.json

Added Dutch translations in the calander.json file.
Note: I am not a native Dutch speaker, so I may have made some mistakes in the translations.

The following translations where added
actions.delete
actions.delete.confirm
forms.toTools.header
forms.toTools.explanation

* Update game-misc.json

* Ran file through prettier.io

Ran the file through prettier.io, as the prettier check failed on this file
2023-02-05 14:47:14 +02:00
Kalle
ae02fde8d5 Add link to footer 2023-02-05 14:16:30 +02:00
Kalle
369e7ecb57 Add February SR gear 2023-02-05 13:55:00 +02:00
Kalle
d4ffd8f35b Build Analyzer: Compare in ink consumption table 2023-01-28 19:43:05 +02:00
Kalle
27cb5be472 Build Analyzer: Create new build prompt 2023-01-28 15:31:07 +02:00
Kalle
32f5ff6d04 Add badge 2023-01-27 00:18:22 +02:00
Kalle
646c3feac5 Add new badge 2023-01-26 22:55:29 +02:00
Kalle
ea0c82f13f Add new perks to support page 2023-01-25 17:56:56 +02:00
Kalle
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +02:00
Kalle
057c4cf18d Support page 2023-01-23 00:39:21 +02:00
Frederik
777c382b48
Update Danish translation (#1208)
* Added danish translatios to the common.json file.

Added translations for the following lines. in the DA\common.json file

pages.t
actions.reset
actions.create
actions.cancel
actions.join
actions.upload
upload.imageToUpload
upload.title
upload.type.team-pfp
upload.type.team-banner
upload.commonExplanation # Translations are made assuming it means "{{count}} images await moderator approval
upload.afterExplanation # Translations are made assuming it means "{{count}} images await moderator approval

Changes to exiting translation in common.json file
- "actions.copyToClipboard" #Made translation slightly shorter.

* Added Danish translations

Added DAnish translations to the contributions.json file.
Added following lines.
- antariska

* Added danish translations to team.json

Added Danish translations for team.json.

The following lines have been added.
newTeam.button
newTeam.header
teamSearch.placeholder
actionButtons.leaveTeam
leaveTeam.header
actionButtons.leaveTeam.confirm
actionButtons.editTeam
actionButtons.manageRoster
actionButtons.deleteTeam
actionButtons.kick
kick.header
actionButtons.transferOwnership
transferOwnership.header
actionButtons.transferOwnership.confirm
deleteTeam.header
forms.fields.teamTwitter
forms.fields.bio
forms.fields.uploadImages
forms.fields.uploadImages.pfp
forms.fields.uploadImages.banner
forms.info.name
forms.errors.duplicateName
roster.teamFull
roster.inviteLink.header
roster.members.header
validation.SHORT_CODE
validation.TEAM_FULL
validation.INVITE_CODE_WRONG
validation.ALREADY_IN_DIFFERENT_TEAM
validation.VALID

* Fixed translations

Changed following translations in the common.json file
-"upload.afterExplanation_one": # Added the {{count}} variable, at it is required.
2023-01-21 18:59:23 +02:00
Kalle
f041bc20a5 New badge 2023-01-21 15:48:06 +02:00
Kalle
bbe57802b6 Add new badge 2023-01-21 12:14:27 +02:00
Kalle
f48c49aaa5 Build Analyzer: AP comparing 2023-01-21 12:10:40 +02:00
Kalle
ad1a8b5b2e Build Analyzer: Comparison initial 2023-01-20 21:57:11 +02:00
Kalle
a60901e59b Build Analyzer: New weapon "info cards" style 2023-01-18 01:04:33 +02:00
Kalle
c579d3e240 Remove background pattern from image
This caused a weird "border" on images.
+ It's kind of ugly when below transparent images.
Still some issues to solve when images don't load.
2023-01-15 16:53:36 +02:00
Kalle
d652e76154 Various improvements 2023-01-13 21:18:07 +02:00
Kalle
65bd4561e3 Teams: Add to nav 2023-01-11 09:59:23 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
e1863b328b Team: Search page 2023-01-08 12:05:55 +02:00
Kalle
2eca0b94c1 Team: Join page 2023-01-08 12:05:55 +02:00
William Lam
c8e707488b
Implemented some dynamic background sizing & positioning calculations for the Map Planner (#1200)
* Implemented a relatively simple dynamic background sizing calculation for the Map Planner

* Moved useWindowsSize() hook usage near the top of Planner() function

* Removed some dead space above the background image

* Adjustments

* Added a *lot* of math to adjust image spawn location based on the background image size & position, which are based on the current window size & position
- Moved the background image stuff to its own React Hook, usePlannerBg()

* Fix Prettier issue

* Added another comment

* Fixed typing for the usePlannerBg hook
- Also improved comments & some variable names to be cleaner/more consistent

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-08 11:24:44 +02:00
Kalle
5f5b3eb01d Fix translation json problem 2023-01-07 11:13:28 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Frederik
72f5c6186b
Update Danish translation (#1204)
Fixed misspeling of the following line in the analyser.json file
-   "stat.category.subDef" #fixed a missspelling of "våben"
2023-01-06 23:43:51 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
8a3178413c Team: Delete team feature 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Frederik
80c6f33c53
Update Danish translation (#1203)
Added the following translations to the common.json file.
plans.bgStyle.OVER
plans.bgStyle.MINI
plans.bgStyle.ITEMS
2023-01-06 16:27:07 +02:00
Sacha Ntolo
6b01a684ff
Update French translation (#1201)
* Translated all the new lines and changed some previous translations

* Corrected error in common.json

Removed the line added by mistake in common.json

* Prettify

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-05 01:05:10 +02:00
Kalle
a1bbaffa42 Add badges 2023-01-05 00:49:07 +02:00
Kalle
9d9ffac6e9 Teams: Edit page 2023-01-04 23:03:46 +02:00
Frederik
6acb5cc9c2
Update Danish translation (#1198)
* 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

* Added Danish translations for analyser.json

Added Danish translations for the following lines in the analyzer.json file
- "stat.humanoidFormInkRecoverySeconds"
- "stat.swimSpeedHoldingRainmaker"

Changed Danish translations for 
-  "stat.squidFormInkRecoverySeconds" # Changed made so the translation match the translation for  "stat.humanoidFormInkRecoverySeconds"

* Added Danish translations in the common.json file

Added Danish translations for the following lines in the common.json file
- weapon.category.subs
-weapon.category.specials

The following lines have been altered.
all "weapon.category." lines.
- Removed the English names for the categories in order to avoid too much cluttering in the planner tool.

* Added Danish Translations for User.json

Fhe folloing Danish translations were added to the User.json file.

- weaponPool
- discordExplanation
- forms.errors.maxWeapons

* Added Danish Translations for team.json

All added translations are direct translations or not translated, as their are no official Danish translations for these roles and in order reduce the likelyhood of misunderstandings.
2022-12-31 17:57:56 +02:00
Kalle
da020e8557 Map Planner: Fancy backgrounds 2022-12-29 21:49:21 +02:00
Kalle
4dfaf07655 Build Analyzer: RM swim speed stat 2022-12-28 23:45:38 +02:00
Kalle
d51beef9d5 Team: UI initial 2022-12-27 22:01:15 +02:00
Kalle
1a8c2fc892 Use SubmitButton in various places 2022-12-25 12:00:17 +02:00
Kalle
ffe8ab3883 Build Analyzer: Add humanoid form ink recovery 2022-12-23 18:17:25 +02:00
Kalle
3e85173133 Map Planner: Add sub/special weapons 2022-12-22 23:43:19 +02:00
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