File: README

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 (20 lines) | stat: -rw-r--r-- 720 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
Sample scripts for Ruby-GetText-Package.

$ruby makemo.rb
$ruby sample_script.rb

hello.rb        - Basic sample
hello2.rb       - Basic sample2 (using printf)
hello_various_format.rb - Basic sample2 (multiple line strings)
hello_noop.rb   - N_ sample
hello_plural.rb - n_ sample
hellogtk.rb     - Ruby/GTK sample
hellotk.rb      - Ruby/TK sample
hellogtk2.rb    - Ruby/GTK2 sample(using UTF-8)
helloglade2.rb  - Ruby/Glade2 sample(using UTF-8)
  * you need to copy locale/ja/LC_MESSAGES/helloglade2.mo to GTK+ locale dir.
    e.g.)/usr/share/locale/ja/LC_MESSAGES/helloglade2.mo
makemo.rb       - Create mo files from po files.

cgi/* - CGI/ERB sample (See cgi/README)
rails/* - Ruby on Rails sample (See rails/README)