Commit bd86e5634428a4f27e52bd0f677ac5e79332c178

Authored by JoenioCosta
1 parent 82743729

ActionItem476: not use class_name (Profile|Name) in gettext strings


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2105 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/tasks/gettext.rake
... ... @@ -13,6 +13,7 @@ end
13 13 desc "Update pot/po files to match new version."
14 14 task :updatepo do
15 15 require 'gettext/utils'
  16 + GetText::ActiveRecordParser.init(:use_classname => false)
16 17 GetText.update_pofiles(Noosfero::PROJECT, Dir.glob("{app,lib,public/designs}/**/*.{rb,rhtml}"),
17 18 "#{Noosfero::PROJECT} #{Noosfero::VERSION}")
18 19 end
... ...