* 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>
* 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>
* Ranked Modes checkboxes are now checked by default when making a new build
* Fixed the actual logic when taking older builds into account
* Added comment that references Issue 1150
* Rearranged type order so it reads better
* 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.