--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "At first, this creates the #{po_root}/#{domainname}.pot file using GetText.rgettext. Since 2nd time, this updates(merges) the #{po_root}/#{domainname}.pot and all of the #{po_root}/#{lang}/#{domainname}.po files under &quot;po_root&quot; using &quot;msgmerge&quot;."
- !ruby/struct:SM::Flow::P 
  body: <b>Note</b> &quot;msgmerge&quot; tool is included in GNU GetText. So you need to install GNU GetText.
- !ruby/struct:SM::Flow::P 
  body: See &lt;HOWTO maintain po/mo files(http://www.yotabanana.com/hiki/ruby-gettext-howto-manage.html)&gt; for more detals.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "domainname: the textdomain name."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "targetfiles: An Array of target files or nil (See GetText.rgettext for more details)."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "app_version: the application information which appears &quot;Project-Id-Version: #{app_version}&quot; in the pot/po-files."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "po_root: the root directory of po-files."
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "refpot: set the temporary file name. You shouldn't use this(It will be removed)."
  type: :BULLET
- !ruby/struct:SM::Flow::VERB 
  body: " (e.g.) GetText.update_pofiles(&quot;myapp&quot;, Dir.glob(&quot;lib/*.rb&quot;), &quot;myapp 1.0.0&quot;)\n"
full_name: GetText#update_pofiles
is_singleton: false
name: update_pofiles
params: (textdomain, files, app_version, po_root = "po", refpot = "tmp.pot")
visibility: public
