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

Added Russian language #363

Merged
merged 7 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 recipes/legacy_csv_to_split_csvs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,41 +29,47 @@
- name: Country:fr
- name: Country:nb
- name: Country:cs
- name: Country:ru

- name: Country info
- name: Country info:de
- name: Country info:es
- name: Country info:fr
- name: Country info:nb
- name: Country info:cs
- name: Country info:ru

- name: Capital
- name: Capital:de
- name: Capital:es
- name: Capital:fr
- name: Capital:nb
- name: Capital:cs
- name: Capital:ru

- name: Capital info
- name: Capital info:de
- name: Capital info:es
- name: Capital info:fr
- name: Capital info:nb
- name: Capital info:cs
- name: Capital info:ru

- name: Capital hint
- name: Capital hint:de
- name: Capital hint:es
- name: Capital hint:fr
- name: Capital hint:nb
- name: Capital hint:cs
- name: Capital hint:ru

- name: Flag similarity
- name: Flag similarity:de
- name: Flag similarity:es
- name: Flag similarity:fr
- name: Flag similarity:nb
- name: Flag similarity:cs
- name: Flag similarity:ru

templates: []

Expand All @@ -88,41 +94,47 @@
Country:fr: Country:fr
Country:nb: Country:nb
Country:cs: Country:cs
Country:ru: Country:ru

Country info: Country info
Country info:de: Country info:de
Country info:es: Country info:es
Country info:fr: Country info:fr
Country info:nb: Country info:nb
Country info:cs: Country info:cs
Country info:ru: Country info:ru

Capital: Capital
Capital:de: Capital:de
Capital:es: Capital:es
Capital:fr: Capital:fr
Capital:nb: Capital:nb
Capital:cs: Capital:cs
Capital:ru: Capital:ru

Capital info: Capital info
Capital info:de: Capital info:de
Capital info:es: Capital info:es
Capital info:fr: Capital info:fr
Capital info:nb: Capital info:nb
Capital info:cs: Capital info:cs
Capital info:ru: Capital info:ru

Capital hint: Capital hint
Capital hint:de: Capital hint:de
Capital hint:es: Capital hint:es
Capital hint:fr: Capital hint:fr
Capital hint:nb: Capital hint:nb
Capital hint:cs: Capital hint:cs
Capital hint:ru: Capital hint:ru

Flag similarity: Flag similarity
Flag similarity:de: Flag similarity:de
Flag similarity:es: Flag similarity:es
Flag similarity:fr: Flag similarity:fr
Flag similarity:nb: Flag similarity:nb
Flag similarity:cs: Flag similarity:cs
Flag similarity:ru: Flag similarity:ru

personal_fields: []

Expand Down
6 changes: 0 additions & 6 deletions recipes/source_from_anki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,10 @@

derivatives:
- file: src/data/country.csv
sort_by_columns: [ country ]
- file: src/data/country_info.csv
sort_by_columns: [ country ]

- file: src/data/capital.csv
sort_by_columns: [ country ]
- file: src/data/capital_info.csv
sort_by_columns: [ country ]
- file: src/data/capital_hint.csv
sort_by_columns: [ country ]

- file: src/data/flag_similarity.csv
sort_by_columns: [ country ]
29 changes: 29 additions & 0 deletions recipes/source_to_anki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,25 @@
personal_fields: [ ]

file_mappings: *file_mappings
- notes_from_csvs:
part_id: russian
#save_to_file:

note_model_mappings:
- note_models: *note_models_in_mapping
columns_to_fields:
<<: *default_columns_to_fields

Country:ru : Country
Country info:ru : Country info
Capital:ru : Capital
Capital info:ru : Capital info
Capital hint:ru : Capital hint
Flag similarity:ru : Flag similarity

personal_fields: [ ]

file_mappings: *file_mappings



Expand Down Expand Up @@ -242,6 +260,11 @@
folder: build/Ultimate Geography_cs
notes:
part_id: czech
- generate_crowd_anki:
<<: *default_crowd_anki_gen
folder: build/Ultimate Geography_ru
notes:
part_id: russian


- generate_crowd_anki:
Expand Down Expand Up @@ -289,3 +312,9 @@
notes:
part_id: czech
<<: *override_nm
- generate_crowd_anki:
<<: *extended_deck
folder: build/Ultimate Geography_ru [Extended]
notes:
part_id: russian
<<: *override_nm
Loading