pokerogue/src/ui
Dakurei 6d2b8ef2d1
Cleanup game-stats-ui-handler (from PR #1095) (#1106)
* Update i18n.ts

* Update config.ts

* Update game-stats-ui-handler.ts

* Add files via upload

* Cleanup code

  + Modification of the interface to manage labels dynamically (without this, the language change was not reflected until the page was completely refreshed)

* Apply ESLint after rebase on upstream/main

* Remove useless initStatsKeys

* Adds german localization

  + Changes font size in german only (because otherwise it overflows :D)

* Adds an additional method of formatting large numbers to make it a little more pleasant to read

  + The other was a little too barbaric in what it truncated, but is still useful in certain cases
  + Use abbreviations from 10^0 to 10^33

* Use of the new 'formatFancyLargeNumber' method to display money owned in combat and the highest sum of money obtained in statistics

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-05-27 12:58:20 +01:00
..
ability-bar.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
abstact-option-select-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
achv-bar.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
achvs-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
awaitable-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
ball-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
battle-info.ts Apply offset to baseY as well during Pokemon#setMini (#1357) 2024-05-25 04:45:47 -05:00
battle-message-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
candy-bar.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
char-sprite.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
command-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
confirm-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
daily-run-scoreboard.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
egg-gacha-ui-handler.ts fix anmation duplicate warnings 2024-05-24 22:57:47 -04:00
egg-hatch-scene-handler.ts fix anmation duplicate warnings 2024-05-24 22:57:47 -04:00
egg-list-ui-handler.ts Update Chinese battle.ts and egg-list-ui-handler.ts (#1314) 2024-05-24 10:25:57 -05:00
evolution-scene-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
fight-ui-handler.ts Added the type icon localization (#1407) 2024-05-27 03:39:18 -05:00
form-modal-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
game-stats-ui-handler.ts Cleanup game-stats-ui-handler (from PR #1095) (#1106) 2024-05-27 12:58:20 +01:00
loading-modal-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
login-form-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
menu-ui-handler.ts Change GitHub Link (#1408) 2024-05-26 16:18:28 -05:00
message-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
modal-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
modifier-select-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
option-select-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
outdated-modal-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
party-exp-bar.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
party-ui-handler.ts Enforce Consistent Spacing with ESLint's space-before-blocks and keyword-spacing Rules (#1308) 2024-05-23 19:19:20 -05:00
pokeball-tray.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
pokemon-icon-anim-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
pokemon-info-container.ts Make iv scanner check against baby form IVs (#1214) 2024-05-25 06:47:26 -05:00
registration-form-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
save-slot-select-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
saving-icon-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
session-reload-modal-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
settings-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
starter-select-ui-handler.ts Added the type icon localization (#1407) 2024-05-27 03:39:18 -05:00
stats-container.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
summary-ui-handler.ts Added the type icon localization (#1407) 2024-05-27 03:39:18 -05:00
target-select-ui-handler.ts Add BattleInfo to TargetSelectUiHandler to move when target selected (#1255) 2024-05-23 18:28:53 -04:00
text.ts Cleanup game-stats-ui-handler (from PR #1095) (#1106) 2024-05-27 12:58:20 +01:00
title-ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
ui-handler.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
ui-theme.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00
ui.ts Add the option to localize the Dialogue (#1254) 2024-05-27 06:14:37 -05:00
unavailable-modal-ui-handler.ts Convert reconnect method to exponential backoff timeout (#1293) 2024-05-24 17:57:49 -05:00
vouchers-ui-handler.ts added rule no-trailing-spaces (#1307) 2024-05-23 18:45:04 -05:00