Commit Graph
22 Commits
Author SHA1 Message Date
Peter 8024da5696 use io to support python2+3; some minor other cleanup (#211) 2018-08-10 11:14:36 -07:00
Peter cc638493e7 decode files as utf-8 on load (#209) 2018-07-30 15:12:05 -07:00
Peter bea714dfb8 Python 3 Compatibility (#208)
* make python3 compatible; clean up test reqs a bit
2018-07-30 12:03:36 -07:00
Peter ebfaebb451 make no-coin images the default, clean up code and file names accordingly (#205) 2018-07-13 15:30:03 -07:00
Peter 0ffa111025 Test language tool run (#192)
* switch to pytest
* add language tool test
2018-02-19 13:38:30 -08:00
Peter 44d315dda2 Cleaned up PR #187 (#189)
* Dutch translation for Empires - Keizerrijken
2018-01-15 22:23:41 -08:00
Peter 56adb5ff12 correct the count of Platinum cards (#180) 2017-12-08 10:45:10 -08:00
Peter 4ec44e8a2c Hinterlands in French (#176) 2017-11-29 10:57:37 -08:00
Peter 4d69a58411 Preview option (#163)
- fixes for preview code, and options to use it
2017-10-07 12:10:51 -07:00
Peter c5c876f8c5 animals user expansion from BBG user rillaith (#148)
* animals user expansion from BBG user rillaith
* Added fan attribute to animals set
* animals.png - This is not the best image.  But it is the best I could get from the original files. I *think* it is 3 penguins.
* updated main.py for fan based expansions
This includes two items:
1) adds --fan for specifying fan expansions to include
2) adds wild cards in specifying both --expansion as well as --fan.  This also fixes issue #149
* Updated all language files for animals
* Normalize all line endings and add gitattributes file to make git do so in the future
* print the possible expansions when non-matching ones are provided
* Allow for no official expansions to be included
Kept the default behavior.  Not specifying '--expansions' will have the same outcome as '--expansions *' (i.e., will print all of them.)
Specifying '--expansions  ' (without any named expansions) or '--expansions none ' will result in no cards from any Official expansion.

For Fan expansions, the absence of '--fan', '--fan   ' (without any named fan expansion), and '--fan none ' will all prevent any Fan expansions from printing.
* Cleaned up expansion/fan lists
2017-03-25 21:39:49 -07:00
Peter d4e69bc7d3 make the translation file a markdown file (#140)
* make the translation file a markdown file and (blindly) fix the language init script
* Updated formatting of the file to make it easier to read (and look better.)
* Included missing bonuses section
* Also fixed `card_db_dir` to point to the correct directory.

* Added link to Tranlsation instructions

* Updated link to translation.md in README.md
2017-01-08 10:26:35 -08:00
Peter 732a4c79bf rewrite inline image replacement (#135)
* rewrite inline image replacement
* make a note about `python setup.py develop`
* Tweak to the VP size
2016-12-16 13:17:42 -08:00
Peter f47d9ee17b Make better package (#132)
* make domdiv a better behaved python package (see #131)
* move code from __init__.py to main.py to make import quicker and make version work without dependencies
* update languages import to use pkg_resources, fix tests
* update readmes
* change font lookup, font readme notes
2016-12-15 16:29:48 -08:00
Peter 21c4134e9f German promo cards (#77)
* Add German texts for promo cards.
* fix logic around missing set images; add translations of german promo card names to mapping
2016-10-04 23:46:42 -07:00
Peter 8712c43d07 Merge pull request #44 from piroxxi/master
Pull request for adding French to Dominion Tabs Generator
2016-05-01 12:56:15 -07:00
Peter 6f603712f5 Merge pull request #40 from openam/fonts
update readme to include MinionPro-It font requirement
2016-04-17 13:06:21 -07:00
Peter 0977c3e7d4 Merge pull request #36 from Hellmy/seaside
Update german seaside extra text (ref #21)
2016-03-16 15:01:51 -07:00
Peter 39b6b1e298 Merge pull request #35 from Hellmy/base
Update german basic extra texts (ref #21)
2016-03-16 15:01:15 -07:00
Peter ba3245d875 Merge pull request #33 from wvoigt/master
Added options to select the text for the front and back of the divider.  Also fixes #31
2015-11-30 15:36:05 -08:00
Peter 854939f3c2 Merge pull request #27 from wvoigt/master
Enhancements - fulltab, center_name, back_offset_height
2015-10-16 15:51:10 -07:00
Peter 7176f83065 Merge pull request #24 from rystan/patch-2
Found a few more typos :)
2015-09-25 14:45:31 -07:00
Peter f0959ff846 Merge pull request #22 from rystan/patch-1
Update dominion_cards.txt - fixing typo.
2015-09-25 14:07:11 -07:00