diff options
author | Carlos Goce <carlosgoce@gmail.com> | 2015-01-22 22:21:03 +0100 |
---|---|---|
committer | Carlos Goce <carlosgoce@gmail.com> | 2015-01-22 22:21:03 +0100 |
commit | fa4e80e193d541d3b7744971ac92f4835d8a9188 (patch) | |
tree | d62ab62c984d1cf72af210c3af337eecb070b9de | |
parent | 7af6ef60e145b344ea68cd31b5a639aba00ed91e (diff) | |
download | pdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.tar.gz pdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.tar.bz2 pdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.zip |
Add localization files and rake task
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | README.rdoc | 5 | ||||
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | config/locales/en.yml | 4 | ||||
-rw-r--r-- | config/locales/es.yml | 0 |
5 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md deleted file mode 100644 index 7fe0a00..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# pdf-calendars -Generate PDF calendars diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..9a407c2 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,5 @@ +# pdf-calendars +Generate PDF calendars + +More locales here: +https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale
\ No newline at end of file @@ -2,4 +2,4 @@ task default: %w[calendar] task :calendar do ruby 'calendar.rb' -end
\ No newline at end of file +end diff --git a/config/locales/en.yml b/config/locales/en.yml new file mode 100644 index 0000000..35ceacf --- /dev/null +++ b/config/locales/en.yml @@ -0,0 +1,4 @@ +es: + date: + month_names: [~, Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre] + abbr_month_names: [~, Ene, Feb, Mar, Abr, May, Jun, Jul, Ago, Sep, Oct, Nov, Dic]
\ No newline at end of file diff --git a/config/locales/es.yml b/config/locales/es.yml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/config/locales/es.yml |