File: rmsgfmt

package info (click to toggle)
ruby-gettext 2.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,648 kB
  • sloc: ruby: 4,445; makefile: 2
file content (22 lines) | stat: -rwxr-xr-x 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /usr/bin/ruby
=begin
  rgettext - ruby version of xgettext

  Copyright (C) 2005-2009  Masao Mutoh
 
  You may redistribute it and/or modify it under the same
  license terms as Ruby.
=end

begin
  require 'gettext/tools/rmsgfmt'
rescue LoadError
  begin
    require 'rubygems'
    require 'gettext/tools/rmsgfmt'
  rescue LoadError
    raise 'Ruby-GetText-Package are not installed.'
  end
end

GetText.rmsgfmt