aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Goce <carlosgoce@gmail.com>2015-01-22 22:21:03 +0100
committerCarlos Goce <carlosgoce@gmail.com>2015-01-22 22:21:03 +0100
commitfa4e80e193d541d3b7744971ac92f4835d8a9188 (patch)
treed62ab62c984d1cf72af210c3af337eecb070b9de
parent7af6ef60e145b344ea68cd31b5a639aba00ed91e (diff)
downloadpdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.tar.gz
pdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.tar.bz2
pdf-calendars-fa4e80e193d541d3b7744971ac92f4835d8a9188.zip
Add localization files and rake task
-rw-r--r--README.md2
-rw-r--r--README.rdoc5
-rw-r--r--Rakefile2
-rw-r--r--config/locales/en.yml4
-rw-r--r--config/locales/es.yml0
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
diff --git a/Rakefile b/Rakefile
index c5067e7..d977090 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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