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

Add Swedish translation #382

Merged
merged 6 commits into from
Jan 31, 2021
Merged
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- **7 continents** (7 cards, maps only)
- for a total of **304 unique notes**, **968 cards**, **222 flags** and **304 maps**.

The deck is available in **English**, **German**, **Spanish**, **French**, **Norwegian Bokmål**, **Czech**, **Russian** and **Dutch**.
The deck is available in **English**, **German**, **Spanish**, **French**, **Norwegian Bokmål**, **Czech**, **Russian**, **Dutch** and **Swedish**.

---

Expand Down
30 changes: 30 additions & 0 deletions recipes/source_to_anki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,25 @@
personal_fields: [ ]

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

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

Country:sv : Country
Country info:sv : Country info
Capital:sv : Capital
Capital info:sv : Capital info
Capital hint:sv : Capital hint
Flag similarity:sv : Flag similarity

personal_fields: [ ]

file_mappings: *file_mappings



Expand Down Expand Up @@ -290,6 +309,11 @@
folder: build/Ultimate Geography_nl
notes:
part_id: dutch
- generate_crowd_anki:
<<: *default_crowd_anki_gen
folder: build/Ultimate Geography_sv
notes:
part_id: swedish


- generate_crowd_anki:
Expand Down Expand Up @@ -349,3 +373,9 @@
notes:
part_id: dutch
<<: *override_nm
- generate_crowd_anki:
<<: *extended_deck
folder: build/Ultimate Geography_sv [Extended]
notes:
part_id: swedish
<<: *override_nm
444 changes: 222 additions & 222 deletions src/data/capital.csv

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions src/data/capital_hint.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
country,capital hint,capital hint:de,capital hint:es,capital hint:fr,capital hint:nb,capital hint:cs,capital hint:ru,capital hint:nl
England,Not a sovereign country,Kein souveräner Staat,No es un país soberano,Pas une nation souveraine,Ikke selvstendig land,Nejedná se o suverénní stát,Не суверенная страна,Geen soevereine staat
United Kingdom,Sovereign country,Souveräner Staat,Es un país soberano,Nation souveraine,Selvstendig land,Suverénní stát,Суверенная страна,Souvereine staat
Belgium,Sovereign country,Souveräner Staat,Es un país soberano,Nation souveraine,,Suverénní stát,Суверенная страна,Souvereine staat
European Union,Not a sovereign country,Kein souveräner Staat,No es un país soberano,Pas une nation souveraine,,Nejedná se o suverénní stát,Не суверенная страна,Geen soevereine staat
country,capital hint,capital hint:de,capital hint:es,capital hint:fr,capital hint:nb,capital hint:cs,capital hint:ru,capital hint:nl,capital hint:sv
England,Not a sovereign country,Kein souveräner Staat,No es un país soberano,Pas une nation souveraine,Ikke selvstendig land,Nejedná se o suverénní stát,Не суверенная страна,Geen soevereine staat,Ej suverän stat
United Kingdom,Sovereign country,Souveräner Staat,Es un país soberano,Nation souveraine,Selvstendig land,Suverénní stát,Суверенная страна,Souvereine staat,Suverän stat
Belgium,Sovereign country,Souveräner Staat,Es un país soberano,Nation souveraine,,Suverénní stát,Суверенная страна,Souvereine staat,Suverän stat
European Union,Not a sovereign country,Kein souveräner Staat,No es un país soberano,Pas une nation souveraine,,Nejedná se o suverénní stát,Не суверенная страна,Geen soevereine staat,Ej suverän stat
52 changes: 26 additions & 26 deletions src/data/capital_info.csv

Large diffs are not rendered by default.

624 changes: 312 additions & 312 deletions src/data/country.csv

Large diffs are not rendered by default.

205 changes: 105 additions & 100 deletions src/data/country_info.csv

Large diffs are not rendered by default.

82 changes: 41 additions & 41 deletions src/data/flag_similarity.csv

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/headers/desc.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- <b>7 continents</b> (7 cards, maps only)
- for a total of <b>304 unique notes</b>, <b>968 cards</b>, <b>222 flags</b> and <b>304 maps</b>.

The deck is available in <a href="https://github.com/axelboc/anki-ultimate-geography#other-languages-and-versions">eight languages</a>: <b>English</b>, <b>German</b>, <b>Spanish</b>, <b>French</b>, <b>Norwegian</b>, <b>Czech</b>, <b>Russian</b> and <b>Dutch</b>. An <a href="https://github.com/axelboc/anki-ultimate-geography#other-languages-and-versions"><b>extended version</b></a> is also available in each language. To help with memorisation and provide context while learning, some notes include extra information such as similar flags, governance information, alternative country names, etc.
The deck is available in <a href="https://github.com/axelboc/anki-ultimate-geography#other-languages-and-versions">eight languages</a>: <b>English</b>, <b>German</b>, <b>Spanish</b>, <b>French</b>, <b>Norwegian</b>, <b>Czech</b>, <b>Russian</b>, <b>Dutch</b> and <b>Swedish</b>. An <a href="https://github.com/axelboc/anki-ultimate-geography#other-languages-and-versions"><b>extended version</b></a> is also available in each language. To help with memorisation and provide context while learning, some notes include extra information such as similar flags, governance information, alternative country names, etc.
axelboc marked this conversation as resolved.
Show resolved Hide resolved

You can use Anki's <a href="https://github.com/axelboc/anki-ultimate-geography#custom-study">filtered deck feature</a> to focus your study on a subset of the deck, such as sovereign states, a single note template (e.g. map to country), or a specific continent (e.g. Europe).

Expand Down