Old server sends manyDecks as a single object; new server sends an array.
Accept both so the client works during a rolling upgrade or if the server
is older than the client.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Changed from Nothing (Maybe) to [] (List) to match the updated
Source.Info type that stores manyDecks as a list of instances.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Elm 0.19 does not support field aliasing in record destructuring patterns
({ field = alias } is not valid syntax). Use a plain argument and access
fields with dot notation instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The ManyDecks source type now carries a baseUrl identifying which
instance a deck belongs to, allowing multiple self-hosted ManyDecks
servers to be configured alongside each other.
Config changes: `sources.manyDecks` is now an array of instances,
each with optional `name`, `baseUrl`, `timeout`, and
`simultaneousConnections`. Existing single-instance configs need to
be wrapped in an array.
When only one instance is configured the deck editor behaves as
before. When multiple instances are configured an instance picker
dropdown appears above the deck code field.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Completely revamped the Spanish localization. List of major changes:
- The plural function was incorrectly programmed, so many words were displayed grammatically incorrect in the game.
- Many misspelled words (typos) have been corrected.
- The words used have been refined to ensure that they are as understandable as possible.
- A list of Spanish language contributors has been added.
Resolve#167: Correct capitalization on cards
Resolve#169: Fix cast code failing to compile by moving to ES6 for the closure compiler target.
Move to noun and plural set-up which should make localization easier.