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

Adding Spanish Configuration #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions config/calendars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ general-it:
sanctorale:
- packaged: universal-it

general-es:
title: Calendario Romano General
language: es
sanctorale:
- packaged: universal-es

# The following entries define
# * common calendar of dioceses of Czech Republic
# * calendars of it's both provinces - Bohemia and Moravia
Expand Down
4 changes: 2 additions & 2 deletions config/parameters.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# please update with your own information
---
contact:
name: Example Joe
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I guess you pushed the commit adding this particular change to this PR only by accident. It makes perfect sense for your own installation of the API, but it won't be merged in the main church-calendar-api repo. (I am still grateful for the code in the first commit and will definitely merge and deploy it once I get to this task.)

email: email@example.com
name: Alejandro Ulate Fallas
email: codingalecr@gmail.com
2 changes: 1 addition & 1 deletion lib/church-calendar/models/church_calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module ChurchCalendar
DATA_PATH = File.join APP_ROOT, 'data'

# languages supported
LANGS = [:cs, :en, :fr, :it, :la]
LANGS = [:cs, :en, :fr, :it, :la, :es]

@@calendars_repository =
CalendarRepository.load_from CALENDARS_CONFIG, DATA_PATH
Expand Down