    # File lib/ramaze/contrib/gettext/parser.rb, line 18
      def parse(file, ary)
        regex = Ramaze::Tool::Gettext.trait[:regex]
        body = File.read(file)
        body.gsub!(regex) do
          msg = $1
          unless msg.to_s.empty?
            line_number = body[0..(body.index(msg))].split("\n").size
            add_message(ary, msg, file, line_number)
          end
        end
        return ary
      end