Commit Graph
36 Commits
Author SHA1 Message Date
Peter 3030de41e0 replacement for PR #287 (#288)
* replacement for PR #287
2020-01-04 15:46:53 -08:00
Peter 69c0a66868 Change card db handling (#286)
* reorganize card db, add doit file
* make card_db_src a true source by removing untranslated entries, removing the untranslated field
* turn update language script into a better compiler
* move tools into submodule
* remove language db comparison test; add travis compile and check-in of card db
Co-authored-by: Nick Vance <nickv2002@users.noreply.github.com>
2020-01-04 15:26:51 -08:00
Peter b951c594db Switch version management to use setuptools_scm (#283)
* use setuptools_scm
* update requirements
2019-12-07 21:00:34 -08:00
Peter 762a0003d0 try autodeployment to pypi (#280) 2019-11-23 09:43:09 -08:00
Peter da99939249 Simplify language tool (#270)
* simplify language tool by using standard json output
* stop supporting python < 3
2019-10-20 22:46:46 -07:00
Peter 43d1e5eae0 Fix #249 (#269)
* Update cards_nl_du.json
2019-09-15 20:14:01 -07:00
Peter 5eb416a946 Run language tool for #266 (#268)
* Added complete German translations for Renaissance
2019-09-15 20:07:14 -07:00
Peter b4619bc560 Some French translations (#255) 2019-05-24 11:14:34 -07:00
Peter 31a71447f0 precommit git hooks, rearrange package structure (#251)
* precommit hooks and changes because of these
* mv package into src dir
* add requirements file, clean up setup reqs, add precommit to CI
2019-05-23 16:17:30 -07:00
Peter 271ab73dc7 Dutch Empires (#244)
Added dutch translation of all empires event cards, some dutch languages fixes.
2019-02-16 13:26:16 -08:00
Peter bd15b3eb68 German work from @GauGau2 (#233)
Lots of German translation work
2018-11-24 20:29:41 -08:00
Peter 496f58c256 Black avery background (#217)
- add option to make background of the tabs black
2018-11-06 10:18:04 -08:00
Peter c5618bacd2 Fix special card groups option for non en_us languages (#219)
* fix a bunch of formatting problems that only show up for combined card types in languages other than english
* add tests that actually perform generation during testing
2018-11-06 10:16:51 -08:00
Peter d1e06b9b88 Nocturne and Dark Ages Translation Take II (#218)
* Nocturne and Dark Ages translation into German
2018-10-09 22:24:18 -07:00
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