KDEgettext.rb is a parser that extends ruby gettext to work with the Qt/KDE framework provided by korundum.
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
Changelog.rdoc
LICENSE.rdoc
README.rdoc
Rakefile
VERSION
kdegettext.gemspec

README.rdoc

Readme

Install

  • gem install kdegettext for your standard ruby version

  • gem1.9 install kdegettext for other ruby versions (command may be slightly differ on your ruby installation)

Acknowledgments

Bugs

  • in ruby1.8 the hash (TargetList) is not sorted, so the output in po is not sorted for line numbers

  • IMPORTANT!: This program might work only in a login console (su - user) and/or with ruby v1.9

Dependencies

  • should be resolved automatically via gem install

  • otherwise manual installation via

    • ruby 1.8: gem install locale gettext ruby_parser sexp_processor

    • ruby 1.9: gem1.9 install locale gettext ruby_parser sexp_processor

Usage

  • kdegettext.rb file_1.rb [file2_rb, ...]

  • with other ruby version: ruby1.9 /usr/bin/kgettext.rb file_1.rb [file2_rb, ...]