aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-01-12 15:22:15 +0000
committerSeb Bacon <seb.bacon@gmail.com>2011-03-10 09:55:22 +0000
commit9b746bd34b2b6d0ba71fd740a83f4c6d2da123f0 (patch)
tree94e63af60b43acd9c8caec2d79097bd527b1186c /lib/tasks
parent11fa9d4178fe26f4c14acaf1816361bf8e5e7c9e (diff)
initial, basic i18n support with gettext
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gettext.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
new file mode 100644
index 000000000..017e7c837
--- /dev/null
+++ b/lib/tasks/gettext.rake
@@ -0,0 +1,5 @@
+namespace :gettext do
+ def files_to_translate
+ Dir.glob("{app,lib,config,locale}/**/*.{rb,erb,haml,rhtml}")
+ end
+end \ No newline at end of file