Skip to content

Commit

Permalink
Add sports to the Swedish locale file
Browse files Browse the repository at this point in the history
  • Loading branch information
twk-mn committed May 31, 2024
1 parent ee18bba commit 78b3c10
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
92 changes: 92 additions & 0 deletions lib/locales/sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,95 @@ sv:

bank:
name: ["Swedbank", "Handelsbanken", "SEB", "Nordea", "Danske Bank","Skandiabanken","Länsförsäkringar Bank", "Sparbanken Syd", "ICA Banken", "Forex Bank", "Resurs Bank", "Avanza Bank", "Nordnet Bank", "SBAB", "Landshypotek Bank"]

sport:
summer_olympics: # Source https://sok.se/idrotter.html?ityp=Alla&iseason=Sommar&numberOfHitsToShow=48
- Badminton
- Baseboll/Softboll
- Basketboll
- Bordtennis
- Boxning
- Brottning
- Bågskytte
- Cricket
- Cykel
- Danssport
- Dragkamp
- Flaggfotboll
- Fotboll
- Friidrott
- Fäktning
- Golf
- Gymnastik
- Handboll
- Judo
- Kanot
- Karate
- Kickboxning
- Lacrosse
- Landhockey
- Modern femkamp
- Muay Thai
- Padel
- Ridsport
- Rodd
- Rugby
- Segling
- Simidrott
- Skateboard
- Skyttesport
- Sportklättring
- Squash
- Surfing
- Taekwondo
- Tennis
- Teqball
- Triathlon
- Tyngdlyftning
- Vattenskidor
- Volleyboll
winter_olympics: # Source https://sok.se/idrotter.html?ityp=Alla&iseason=Vinter&numberOfHitsToShow=48
- Alpint
- Backhoppning
- Curling
- Freeskiing
- Freestyle
- Ishockey
- Konståkning
- Kälksport
- Längdskidåkning
- Nordisk kombination
- Skidskytte
- Skimo
- Skridsko
- Snowboard
summer_paralympics: # Source https://www.paralympics.se/paralympics/paralympics/idrotter/sommar
- Badminton
- Boccia
- Bordtennis
- Bågskytte
- Bänkpress
- Cykel
- Fotboll 5-a-side
- Friidrott
- Fäktning
- Goalball
- Judo
- Kanot
- Ridsport
- Rodd
- Rullstolsbasket
- Rullstolsrugby
- Rullstolstennis
- Simning
- Sittande volleyboll
- Sportskytte
- Taekwondo
- Triathlon
winter_paralympics: # Source https://www.paralympics.se/paralympics/paralympics/idrotter/vinter
- Alpin skidåkning
- Längdskidor
- Paraishockey
- Rullstolscurling
- Skidskytte
- Snowboard
7 changes: 7 additions & 0 deletions test/test_sv_locale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,11 @@ def test_sv_team_methods
def test_sv_bank_methods
assert_kind_of String, Faker::Bank.name
end

def test_sv_sport_methods
assert_kind_of String, Faker::Sport.summer_olympics_sport
assert_kind_of String, Faker::Sport.winter_olympics_sport
assert_kind_of String, Faker::Sport.summer_paralympics_sport
assert_kind_of String, Faker::Sport.winter_paralympics_sport
end
end

0 comments on commit 78b3c10

Please sign in to comment.