Skip to content

Feature: Translations / Custom Rules

Latest
Compare
Choose a tag to compare
@rbrtbrnschn rbrtbrnschn released this 23 Jul 06:07
e6c1464

What's Changed

Full Changelog: v1.3.1...v1.4.0

Description

Setup translations.
Allow user to add custom rules, used as presets in the game.

  • restyling
  • fixed logical erros

Chage notes from todo.md

  • refactor gamerule.rule handle to not use hardcode card valus like ACE V

  • cards that cannot be reruled like 2 in lowkey V

  • add onclick for info component, so that mobile works V (it does on native anyways)

  • remove title from locale swithcer for small devices, only flag V

  • set defaults for translation keys V

  • setup crowdin for translations V

    • create banner and/or joyride V
    • fix dark mode on banner and onClick/onClose issue. V
    • maybe even as home page footer V
  • fix locale misloading saved V

  • fix shuffle (seems to be very much the same every iteration) V

  • remove toasts -> move to danger rule V

  • per account custom rules V

  • refactor to use modal for custom rules in onboarding V

    • user can create client-side rules V
      • which will be injected into current gameMode.defaultRules V
      • add translations for onboarding.defaultRules V
  • fix draw logic only working on names.length = drawnCards.filter(Boolean).length; V

  • fix restart logic V

  • go for more of a primary/secondary theme for onboarding atleast V

  • fix last translations for onboarding V