| Path: | rainpress.rb |
| Last Update: | Thu Mar 20 19:20:19 +0100 2008 |
This is the Rainpress standalone excutable #
| Author: | Uwe L. Korn <uwelk@xhochy.org> |
| Copyright: | Copyright (c) 2007-2008 Uwe L. Korn |
| License: | MIT-style License (see Rainpress) |
Explain to the user how to use Rainpress
After displaying this usage information exit the program. The messages in this functions are the only things to translate. The translation files could be found in the locales/ directory, but translation should be done via translations.launchpad.net/rainpress/ . The translations done there could be exported and merged into the software. We use Launchpad since it provides a nice interface for the translation process.
# File rainpress.rb, line 61 def usage puts 'Rainpress -- CSS compressor |' puts '----------------------------|' puts '' puts '--help, -h ' + GetText::_('Display this help') puts '--input, -i <file> ' + GetText::_('The CSS-file to be compressed, if not set stdin is used') puts '--output, -o <file> ' + GetText::_('The output file, if not set, stdout is used') exit end