aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks/gettext.rake
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-12-03 10:56:37 +0000
committerMark Longair <mhl@pobox.com>2013-12-03 10:56:37 +0000
commit9e6810d0b86097e616192cf98554fc8ec664392a (patch)
treeae1c07545539e2ac35952636b72327d9bb3b7f0b /lib/tasks/gettext.rake
parentb6f2d93f8daaffdc80cf656d7bfe4fbf933fb9eb (diff)
parent2720064fc7978b922e373a5fc69029eaff8efc6d (diff)
Merge branch 'move-plugins-out-of-vendor-plugins' into rails-3-develop
Diffstat (limited to 'lib/tasks/gettext.rake')
-rw-r--r--lib/tasks/gettext.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
index 366dfbe88..3f357213f 100644
--- a/lib/tasks/gettext.rake
+++ b/lib/tasks/gettext.rake
@@ -29,11 +29,11 @@ namespace :gettext do
end
def theme_files_to_translate(theme)
- Dir.glob("{vendor/plugins/#{theme}/lib}/**/*.{rb,erb}")
+ Dir.glob("{lib/themes/#{theme}/lib}/**/*.{rb,erb}")
end
def theme_locale_path(theme)
- File.join(Rails.root, "vendor", "plugins", theme, "locale-theme")
+ Rails.root.join "lib", "themes", theme, "locale-theme"
end
end