-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d06357
commit aa5ed5d
Showing
7 changed files
with
253 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ config :holidefs, | |
:at, | ||
:au, | ||
:be, | ||
:bg, | ||
:ca, | ||
:ch, | ||
:co, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
# Bulgaria holiday definitions. | ||
# | ||
# Updated: 2015-04-01. | ||
# Source: http://en.wikipedia.org/wiki/Public_holidays_in_Bulgaria | ||
--- | ||
months: | ||
0: | ||
- name: Разпети петък | ||
regions: [bg] | ||
function: julian_orthodox_easter(year) | ||
function_modifier: -2 | ||
- name: Велика събота | ||
regions: [bg] | ||
function: julian_orthodox_easter(year) | ||
function_modifier: -1 | ||
- name: Възкресение Христово. Великден | ||
regions: [bg] | ||
function: julian_orthodox_easter(year) | ||
- name: Възкресение Христово. Великден | ||
regions: [bg] | ||
function: julian_orthodox_easter(year) | ||
function_modifier: 1 | ||
1: | ||
- name: Нова година | ||
regions: [bg] | ||
mday: 1 | ||
3: | ||
- name: Освобожението на България | ||
regions: [bg] | ||
mday: 3 | ||
5: | ||
- name: Ден на труда | ||
regions: [bg] | ||
mday: 1 | ||
- name: Гергьовден. Ден на храбростта | ||
regions: [bg] | ||
mday: 6 | ||
- name: Ден на славянската писменост | ||
regions: [bg] | ||
mday: 24 | ||
9: | ||
- name: Ден на Съединението | ||
regions: [bg] | ||
mday: 6 | ||
- name: Ден на Независимостта | ||
regions: [bg] | ||
mday: 22 | ||
11: | ||
- name: Ден на Народните будители | ||
regions: [bg] | ||
mday: 1 | ||
12: | ||
- name: Бъдни вечер | ||
regions: [bg] | ||
mday: 24 | ||
- name: Рождество Христово. Коледа | ||
regions: [bg] | ||
mday: 25 | ||
- name: Рождество Христово. Коледа | ||
regions: [bg] | ||
mday: 26 | ||
|
||
tests: | ||
- given: | ||
date: '2015-01-01' | ||
regions: ["bg"] | ||
expect: | ||
name: "Нова година" | ||
- given: | ||
date: '2015-03-03' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Освобожението на България' | ||
- given: | ||
date: '2015-03-28' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Разпети петък' | ||
- given: | ||
date: '2015-03-29' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Велика събота' | ||
- given: | ||
date: '2015-03-30' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Възкресение Христово. Великден' | ||
- given: | ||
date: '2015-03-31' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Възкресение Христово. Великден' | ||
- given: | ||
date: '2015-05-01' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Ден на труда' | ||
- given: | ||
date: '2015-05-06' | ||
regions: ["bg"] | ||
expect: | ||
name: "Гергьовден. Ден на храбростта" | ||
- given: | ||
date: '2015-05-24' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Ден на славянската писменост' | ||
- given: | ||
date: '2015-09-06' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Ден на Съединението' | ||
- given: | ||
date: '2015-09-22' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Ден на Независимостта' | ||
- given: | ||
date: '2015-11-01' | ||
regions: ["bg"] | ||
expect: | ||
name: "Ден на Народните будители" | ||
- given: | ||
date: '2015-12-24' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Бъдни вечер' | ||
- given: | ||
date: '2015-12-25' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Рождество Христово. Коледа' | ||
- given: | ||
date: '2015-12-26' | ||
regions: ["bg"] | ||
expect: | ||
name: 'Рождество Христово. Коледа' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Generated by `mix holidefs.gettext.extract` | ||
# for the locale BG - Bulgaria | ||
msgid "" | ||
msgstr "" | ||
|
||
|
||
msgid "Разпети петък" | ||
msgstr "" | ||
|
||
|
||
msgid "Велика събота" | ||
msgstr "" | ||
|
||
|
||
msgid "Възкресение Христово. Великден" | ||
msgstr "" | ||
|
||
|
||
msgid "Нова година" | ||
msgstr "" | ||
|
||
|
||
msgid "Освобожението на България" | ||
msgstr "" | ||
|
||
|
||
msgid "Ден на труда" | ||
msgstr "" | ||
|
||
|
||
msgid "Гергьовден. Ден на храбростта" | ||
msgstr "" | ||
|
||
|
||
msgid "Ден на славянската писменост" | ||
msgstr "" | ||
|
||
|
||
msgid "Ден на Съединението" | ||
msgstr "" | ||
|
||
|
||
msgid "Ден на Независимостта" | ||
msgstr "" | ||
|
||
|
||
msgid "Ден на Народните будители" | ||
msgstr "" | ||
|
||
|
||
msgid "Бъдни вечер" | ||
msgstr "" | ||
|
||
|
||
msgid "Рождество Христово. Коледа" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
## `msgid`s in this file come from POT (.pot) files. | ||
## | ||
## Do not add, change, or remove `msgid`s manually here as | ||
## they're tied to the ones in the corresponding POT file | ||
## (with the same domain). | ||
## | ||
## Use `mix gettext.extract --merge` or `mix gettext.merge` | ||
## to merge POT files into PO files. | ||
msgid "" | ||
msgstr "" | ||
"Language: en\n" | ||
|
||
msgid "Разпети петък" | ||
msgstr "Good Friday" | ||
|
||
msgid "Велика събота" | ||
msgstr "Holy Saturday" | ||
|
||
msgid "Възкресение Христово. Великден" | ||
msgstr "Easter" | ||
|
||
msgid "Нова година" | ||
msgstr "New Year's Day" | ||
|
||
msgid "Освобожението на България" | ||
msgstr "Liberation Day" | ||
|
||
msgid "Ден на труда" | ||
msgstr "Labour Day" | ||
|
||
msgid "Гергьовден. Ден на храбростта" | ||
msgstr "St. George's Day" | ||
|
||
msgid "Ден на славянската писменост" | ||
msgstr "Slavic Literacy Day" | ||
|
||
msgid "Ден на Съединението" | ||
msgstr "Unification Day" | ||
|
||
msgid "Ден на Независимостта" | ||
msgstr "The Independence Day" | ||
|
||
msgid "Ден на Народните будители" | ||
msgstr "Revival Leader's Day" | ||
|
||
msgid "Бъдни вечер" | ||
msgstr "Christmas Eve" | ||
|
||
msgid "Рождество Христово. Коледа" | ||
msgstr "Christmas" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters