File: rmsgfmt

package info (click to toggle)
libgettext-ruby 1.7.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,892 kB
  • ctags: 1,198
  • sloc: ruby: 6,738; ansic: 67; makefile: 38; sql: 14; sh: 6
file content (24 lines) | stat: -rwxr-xr-x 456 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/ruby
=begin
  rgettext - ruby version of xgettext

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

  $Id: rmsgfmt,v 1.7 2006/02/22 16:42:41 mutoh Exp $
=end

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

GetText.rmsgfmt