Commit 73056494d26252e2e943243529c60b508376f55b

Authored by AntonioTerceiro
1 parent 6f7b144e

ActionItem8: adding translatable string extraction



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@116 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 18 additions and 0 deletions   Show diff stats
lib/tasks/gettext.rake 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +#
  2 +# Added for Ruby-GetText-Package
  3 +#
  4 +
  5 +require 'gettext/utils'
  6 +
  7 +desc "Create mo-files for L10n"
  8 +task :makemo do
  9 + GetText.create_mofiles(true, "po", "locale")
  10 +end
  11 +
  12 +desc "Update pot/po files to match new version."
  13 +task :updatepo do
  14 + GetText.update_pofiles('anhetegua', Dir.glob("{app,lib}/**/*.{rb,rhtml}"),
  15 + "anhetegua 0.1.0")
  16 +end
  17 +
  18 +# vim: ft=ruby
... ...