aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user-guide/docbook.xsl
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-18 10:36:23 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-18 10:36:23 +0100
commit5933da72f1f04810a1b789f9e1e1c1d7e360f30f (patch)
tree972445febe0df5811eff8499dabee0a37cb1d7a1 /doc/user-guide/docbook.xsl
parentfcfd9c56a81a993d86f18c792b1584ec5c5dca99 (diff)
fix "purple message" bug ;)
Diffstat (limited to 'doc/user-guide/docbook.xsl')
0 files changed, 0 insertions, 0 deletions
x/0.20.0.1 Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/gettext-2.1.0/lib/gettext/utils.rb
blob: e4f1be4e8d56f0f1cafd7e617f0ca86b8bb6d663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
=begin
  utils.rb - Utility functions

  Copyright (C) 2005,2006 Masao Mutoh

  You may redistribute it and/or modify it under the same
  license terms as Ruby or LGPL.
=end

require 'gettext/tools'

warn "'gettext/utils.rb' is deprecated. Use gettext/tools.rb."

module GetText

  alias :create_mofiles_org :create_mofiles #:nodoc:
  alias :update_pofiles_org :update_pofiles #:nodoc:


  # Deprecated. Use gettext/tools instead.
  def create_mofiles(verbose = false,
                     podir = "./po", targetdir = "./data/locale",
                     targetpath_rule = "%s/LC_MESSAGES")  # :nodoc:
    warn "'gettext/utils.rb' is deprecated. Use gettext/tools.rb."
    create_mofiles_org(:verbose => verbose,
                        :po_root => podir,
                        :mo_root => targetdir,
                        :mo_root_rule => targetpath_rule)
  end

  # Deprecated. Use gettext/tools instead.
  def update_pofiles(textdomain, files, app_version, po_root = "po", refpot = "tmp.pot") # :nodoc:
    warn "'gettext/utils.rb' is deprecated. Use gettext/tools.rb."
    options = {:po_root => po_root}
    update_pofiles_org(textdomain, files, app_version, options)
  end
end