Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Czech translation #499

Merged
merged 31 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
b35699f
CZ translation: Base, Intrigue, Dark Ages, Seaside
smrky1 Jan 28, 2024
b5301ad
Update fonts README.md
smrky1 Jan 28, 2024
09ed6a9
Update README.md
smrky1 Jan 28, 2024
042bc9e
Changed "cz" language to "cs"
smrky1 Jan 28, 2024
e4fcf42
CardSorter locale based sorting
smrky1 Jan 28, 2024
9cf756f
- Removed custom "Martin" Promo set from sets_cs.json
smrky1 Feb 10, 2024
c0bc9bb
Rebuilt the cs language DBs
smrky1 Feb 10, 2024
aae45bb
Merge remote-tracking branch 'upstream/master'
smrky1 Feb 11, 2024
e8d494e
Fixed Workflows to support necessary locale
smrky1 Feb 11, 2024
79c2feb
Error handling when Locale cannot be set.
smrky1 Feb 11, 2024
32cd6b1
Adding sudo to YAML workflow actions
smrky1 Feb 12, 2024
ec14b34
Update README.md
smrky1 Feb 15, 2024
e882ad4
Added UTF-8 to setlocale()
smrky1 Feb 20, 2024
2e30341
Merge branch 'master' of https://github.com/smrky1/dominiontabs
smrky1 Feb 20, 2024
6e92d21
Fixed setlocale() related crash on macOS
smrky1 Feb 20, 2024
5b60803
Merge remote-tracking branch 'upstream/master'
smrky1 Feb 21, 2024
23cfe18
Added UTF-8 to test workflows
smrky1 Feb 21, 2024
2087f55
Updated workflow Actions
smrky1 Feb 21, 2024
b4fae48
Merge branch 'master' into master
smrky1 Feb 21, 2024
872ad15
Revert "Fixed setlocale() related crash on macOS"
smrky1 Feb 21, 2024
6eecbde
Merge branch 'master' into master
nickv2002 Feb 23, 2024
bf3f666
Fixed Czech sets translation
smrky1 Feb 23, 2024
98bf19a
Added PyICU support (+ removed locale)
smrky1 Feb 23, 2024
ceb6f6a
Removed install locales from workflows
smrky1 Feb 23, 2024
be29a76
Added PyICU install to workflows (Ubuntu only)
smrky1 Feb 23, 2024
19c69c5
Removed local files from .gitignore
smrky1 Feb 23, 2024
f6c5dff
Added pyCharm project to gitignore
smrky1 Feb 23, 2024
20ce3b4
Added Czech translation for Alchemy, Cornucopia, Hinterlands, Prosperity
smrky1 Feb 24, 2024
8412bca
Merge branch 'master' into master
sumpfork Mar 20, 2024
03aa707
Rerun linting + removed sys.modules call
smrky1 Mar 31, 2024
48b01e7
Merge branch 'master' into master
smrky1 Mar 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/compile_card_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ jobs:
run: doit update_languages
- run: |
pip install .
- name: Install locales
run: |
sudo apt update
sudo apt -y install locales
sudo locale-gen en_US
sudo locale-gen de_DE
sudo locale-gen fr_FR
sudo locale-gen en_US
sudo locale-gen es_ES
sudo locale-gen it_IT
sudo locale-gen nl_NL
sudo locale-gen cs_CZ
- name: test generation with compiled Languages
run: pytest -k "test_languages"
- uses: dorny/paths-filter@v2
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/lint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ jobs:
- run: |
pip install -r requirements.txt
pip install .
- name: Install locales
run: |
sudo apt update
sudo apt -y install locales
sudo locale-gen en_US
sudo locale-gen de_DE
sudo locale-gen fr_FR
sudo locale-gen en_US
sudo locale-gen es_ES
sudo locale-gen it_IT
sudo locale-gen nl_NL
sudo locale-gen cs_CZ
- name: Lint
run: pre-commit run --all-files
- name: Test
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Again, to generate tabs go to the **[Online Generator](http://domdiv.bgtools.net

If you do need to install the package locally (the script provides a lot more options than the web-based generator), a simple `pip install domdiv` should suffice, providing a command by the name of `dominion_dividers`. However, see the note under Prerequisites->Fonts below as the default install will fall back on a font that doesn't match the cards (though most people don't notice). Run `dominion_dividers <outfile>` to get a pdf of all dividers with the default options, or run `dominion_dividers --help` to see the (extensive) list of options.

Linux only: to ensure the dividers are generated sorted by correct alphabetical order in your selected language, you have to generate the appropriate locale on your system. Run `sudo apt-get -y install locales`, followed by `sudo locale-gen xx_XX`, where `xx_XX` is one of the following: `en_US`, `de_DE`, `fr_FR`, `en_US`, `es_ES`, `it_IT`, `nl_NL,` `cs_CZ` (according to your selected language). In Windows OS this step is not necessary.


## Documentation

The script has an extensive set of options that are relatively well documented via `dominion_dividers --help`. Some are hard to describe unless you see output samples, so we recommend running the script with various options to see which configuration you like. The help output is replicated [here](https://github.com/sumpfork/dominiontabs/wiki/Documentation-%28Script-Options%29) for reference.
Expand Down
26 changes: 26 additions & 0 deletions card_db_src/cs/bonuses_cs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"exclude": [
"Žeton",
"Žetony",
"Žetonů"
],
"include": [
"Coin",
"Coins",
"Mince",
"Mincí",
"Karty",
"Karta",
"Kartu",
"Karet",
"Nákup",
"Nákupy",
"Akce",
"Akci",
"Coffer",
"Coffers",
"Villager",
"Villagers",
"<VP>"
]
}
2,672 changes: 2,672 additions & 0 deletions card_db_src/cs/cards_cs.json

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions card_db_src/cz/sets_cz.json → card_db_src/cs/sets_cs.json

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions card_db_src/cz/types_cz.json → card_db_src/cs/types_cs.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"Action": "Action",
"Action": "Akce",
"Artifact": "Artifact",
"Attack": "Attack",
"Attack": "Útok",
"Blank": "Blank",
"Boon": "Boon",
"Castle": "Castle",
"Curse": "Curse",
"Curse": "Kletba",
"Doom": "Doom",
"Duration": "Duration",
"Duration": "Trvání",
"Event": "Event",
"Events": "Events",
"Expansion": "Expansion",
"Expansion": "Rozšíření",
"Fate": "Fate",
"Gathering": "Gathering",
"Heirloom": "Heirloom",
"Hex": "Hex",
"Landmark": "Landmark",
"Landmarks": "Landmarks",
"Looter": "Looter",
"Looter": "Plenitel",
"Night": "Night",
"Prize": "Prize",
"Prizes": "Prizes",
"Prize": "Odměna",
"Prizes": "Odměny",
"Project": "Project",
"Reaction": "Reaction",
"Reaction": "Reakce",
"Reserve": "Reserve",
"Ruins": "Ruins",
"Shelter": "Shelter",
"Shelters": "Shelters",
"Ruins": "Ruiny",
"Shelter": "Útočiště",
"Shelters": "Útočiště",
"Spirit": "Spirit",
"Start Deck": "Start Deck",
"State": "State",
"Trash": "Trash",
"Trash": "Smětiště",
"Traveller": "Traveller",
"Treasure": "Treasure",
"Victory": "Victory",
"Treasure": "Peníze",
"Victory": "Vítězné body",
"Zombie": "Zombie"
}
16 changes: 0 additions & 16 deletions card_db_src/cz/bonuses_cz.json

This file was deleted.

Loading
Loading