Method: GetText::Tools::XGetText#parse
- Defined in:
- lib/gettext/tools/xgettext.rb
#parse(paths) ⇒ Object
:nodoc:
176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'lib/gettext/tools/xgettext.rb', line 176 def parse(paths) # :nodoc: po = [] paths = [paths] if paths.kind_of?(String) paths.each do |path| begin parse_path(path, po) rescue puts(_("Error parsing %{path}") % {:path => path}) raise end end po end |