Skip to content

Commit

Permalink
removed wrong documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nirokay committed Jul 24, 2024
1 parent 54e766a commit 2c7a309
Show file tree
Hide file tree
Showing 117 changed files with 124 additions and 115 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions .utils/.unfuck.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import std/[os, strutils]

const remove: string = " preferred langauge (english as fallback) "

for kind, path in walkDir("src/holidapi/api/nagerdate/"):
let
before: string = readFile(path)
after: string = before.replace(remove, " ")
path.writeFile(after)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/.template.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = REPLACEME
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `REPLACEME`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/alandislands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = AlandIslands
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `AlandIslands`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/albania.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Albania
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Albania`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/andorra.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Andorra
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Andorra`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/argentina.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Argentina
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Argentina`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/armenia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Armenia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Armenia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/australia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Australia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Australia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/austria.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Austria
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Austria`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/bahamas.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Bahamas
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Bahamas`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/barbados.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Barbados
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Barbados`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/belarus.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Belarus
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Belarus`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/belgium.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Belgium
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Belgium`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/belize.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Belize
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Belize`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/benin.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Benin
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Benin`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/bolivia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Bolivia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Bolivia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/bosniaandherzegovina.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = BosniaAndHerzegovina
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `BosniaAndHerzegovina`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/botswana.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Botswana
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Botswana`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/brazil.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Brazil
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Brazil`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/bulgaria.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Bulgaria
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Bulgaria`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/canada.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Canada
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Canada`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/chile.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Chile
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Chile`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/china.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = China
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `China`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/colombia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Colombia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Colombia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/costa rica.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Costa Rica
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Costa Rica`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/croatia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Croatia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Croatia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/cuba.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Cuba
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Cuba`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/cyprus.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Cyprus
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Cyprus`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/czechia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Czechia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Czechia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/denmark.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Denmark
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Denmark`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/dominicanrepublic.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = DominicanRepublic
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `DominicanRepublic`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/ecuador.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Ecuador
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Ecuador`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/egypt.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Egypt
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Egypt`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/elsalvador.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = ElSalvador
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `ElSalvador`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/estonia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Estonia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Estonia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/faroeislands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = FaroeIslands
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `FaroeIslands`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/finland.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Finland
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Finland`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/france.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = France
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `France`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/gabon.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Gabon
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Gabon`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/gambia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Gambia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Gambia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/georgia.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Georgia
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Georgia`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/germany.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Germany
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Germany`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/gibraltar.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Gibraltar
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Gibraltar`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/greece.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Greece
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Greece`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/greenland.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Greenland
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Greenland`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/grenada.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Grenada
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Grenada`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/guatemala.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Guatemala
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Guatemala`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/guernsey.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Guernsey
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Guernsey`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/guyana.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Guyana
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Guyana`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
2 changes: 1 addition & 1 deletion src/holidapi/api/nagerdate/haiti.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const country: NagerDateApiCountry = Haiti
proc getHolidays*(year: int|DateTime, nameLanguage: NagerDateNameLanguage = englishName): seq[Holiday] =
## Override for country `Haiti`
##
## Get holidays for country in preferred langauge (english as fallback) for a year
## Get holidays for country in for a year
result = country.getHolidays(year, nameLanguage)
Loading

0 comments on commit 2c7a309

Please sign in to comment.