Commit Graph

6 Commits

Author SHA1 Message Date
cajun
4273221c3c Reapply "Bump to 2 5 8 (#141)"
This reverts commit 75307ecbe4.
2025-09-23 22:58:06 -05:00
cajun
75307ecbe4 Revert "Bump to 2 5 8 (#141)"
This reverts commit 240c1532ee.
2025-09-23 22:32:25 -05:00
GenevensiS
240c1532ee Bump to 2 5 8 (#141)
* Bump to 2.5.8

- Hard code exception for word "plains" in english_singular and english_plural functions
- Add font preloading by TomTkacz
- Add import_image function by TomTkacz
- Fix freeze when loading a set with missing templates

* add locale entries

* include localized keywords and statistics

* Add slider fields and get_mse_path

* Allow "Default" in slider fields

* better fix for print bug

* don't draw checkerboard when image field has default

this allows an image field to be transparent before an image has been selected by the user

* allow additional individual choices in slider fields

* Add CSV / TSV importer

* Update README.md

* move game scripts to separate file

* add json import

* format english locale

* format foreign locales

* localize

* finish locales

* cleanup

* minor tweaks

* fix bug in import csv

* optimize card counts display

* tighten conditions on drop down menu closing

* widen welcome window buttons

* Update changelog.txt

* tweaks

* update cli

* add locale entries, add changelog entries

* make some values scriptable, rewrite print layout logic

* fix "referencing nonexistant file" internal error

the error would happen when an image or set symbol file was changed or deleted, then the set was saved, then the change or deletion was undone

* add add_card_to_set script function

am I crazy or was there no way to do this from the CLI?

* fix symbol font bug

* add global_script statistics dimension property

this script is ran once at the start, and its result is stored in the 'global_value' variable, which is accessible to the regular script.

with this we can get rid of the set.global_variable_average_opening_hand field, and make sure its script is ran only once, when the user clicks on the relevant statistics dimension

* Add to_json and from_json script functions

* Update changelog.txt

* bump wxWidgets to 3.3.1

* Update changelog.txt

typos and today's prs

---------

Co-authored-by: cajun <kajunkittyavenger@gmail.com>
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2025-09-23 14:53:19 -05:00
cajun
54a88f4931 update locales 2024-09-27 15:42:03 -05:00
GenevensiS
666632a4e9 Stats page bug fixes (#29)
* Added <atom-sep> to subtype_separators to better accomodate multi-wordsubtypes.
* Fixed the colorless value in Color Category not being localized and not linking relevant cards when clicking on it's histogram bar.
* Fixed the global_variable_average_opening_hand_statistic function being extremely slow and potentially crashing large sets.
* Added is_tokenish method that checks if something is a token, an emblem, a designation, a rulestip, a counter or a checklist.
* Fixed a bug on some setups, where strings could be too long and would cause the display tab of the preferences menu to collapse on itself.
* fix some untranslated strings

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-01-15 07:10:57 -06:00
GenevensiS
1adaf70609 Localization Update (#23)
Improved localization support across MSE. Unless otherwise noted, updates apply to Chinese, French, German, Italian, Japanese, Korean, Portuguese, Russian, and Spanish

Locales have been updated, including the Dutch and Polish locales. These may still want to be improved by native speakers but are no longer full of untranslated English strings.

Type line word lists are now localized, and will change with the Set tab language option rather than needing files to be edited. Chinese types are sorted by Unicode, Japanese types are sorted by gojūon, the rest are alphabetized in their own language. Card type and super types have also been reordered accordingly.

Added spellcheck dictionaries for most languages. Chinese and Japanese have instead had their spellchecking disabled so they don't have their entire cards underlined.
Updated the Beleren, MPlantin, and Relay fonts to support Cyrillic characters.

Number maps have been added to assist with localized keywords.
Localized keyword files have been added up to Lost Caverns of Ixalan. To use these, rename the magic.mse-game/keywords file to "keywords_en", then rename the keyword file of your choice to "keywords".
Craft has a simplified reminder text for most languages. The craft_code function in magic.mse-game/scripts provides a template for using the more comprehensive version English uses, with German having access to it as well so far.

Localized auto-frames for M15 Adventures, M15 Sagas, Mainframe Tokens, M15 Mainframe, Mainframe DFC, and GenevensiS frames

Added Totem armor -> Umbra armor to auto errata script, and updated it to allow for localized replacements

Did about as much stats page localization as we can get away with. French has been completed, other languages will need the stats names and help trace done by someone who actually knows the language.
---------

Co-authored-by: cajun <kajunkittyavenger@gmail.com>
2024-01-05 03:02:40 -06:00