Project

General

Profile

Download (406 Bytes) Statistics
| Branch: | Tag: | Revision:

require 'mycyma'

namespace :i18n do
desc "Create mo-files for l10n"
task :makemo do
require 'gettext_rails/tools'
GetText.create_mofiles
end

desc "Update pot/po files to match new version."
task :updatepo do
require 'gettext_rails/tools'
GetText.update_pofiles(MyCyma::Info::app_name,
Dir.glob("{app,lib}/**/*.{rb,rhtml}"),
MyCyma::Info::versioned_name)
end
end

(2-2/2)