Project

General

Profile

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

root / lib / tasks / gettext.rake @ 65c73cde

1

    
2
require 'mycyma'
3

    
4
namespace :i18n do
5
  desc "Create mo-files for l10n"
6
  task :makemo do
7
    require 'gettext_rails/tools'
8
    GetText.create_mofiles
9
  end
10

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

    
(2-2/2)