Michael Hendricks > SVK-Log-Filter-Babelfish-0.0.3 > SVK::Log::Filter::Babelfish

Download:
SVK-Log-Filter-Babelfish-0.0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0.3   Source  

NAME ^

SVK::Log::Filter::Babelfish - translate logs to various natural languages

SYNOPSIS ^

    > svk log --filter 'babelfish de' //mirror/project/trunk
    ----------------------------------------------------------------------
    r1234 (orig r456):  author | 2006-05-15 09:28:52 -0600

    Dieses ist die Maschinenbordbuchanzeige für die Neuausgabe.
    ----------------------------------------------------------------------

DESCRIPTION ^

Uses WWW::Babelfish to translate the log messages into a different language. All filters downstream from this one see log messages in the new language. Of course, there are no permanent changes to the revision properties.

This filter takes two arguments indicating the source and destination languages of the log messages. The first argument is the two-letter ISO code for the source language. The second argument is the two-letter ISO code for the destination language. If only one argument is supplied, the source language is assumed to be English. Here are some examples

    > svk log --filter 'babelfish de'
    [English to German]
    > svk log --filter 'babelfish fr es'
    [French to Spanish]
    > svk log --filter 'babelfish es | babelfish es en'
    [English to English via Spanish]

STASH/PROPERTY MODIFICATIONS ^

Babelfish modifies does not modify the stash. It modifies the 'svn:log' property for each revision, replacing the original text with the translated version.

BUGS ^

There is a problem with non-ASCII characters in the output. I'm not sure if this is my problem or something from WWW::Babelfish.

AUTHORS ^

Michael Hendricks <michael@ndrix.org>

LICENSE AND COPYRIGHT ^

The MIT License

Copyright (c) 2006 Michael Hendricks (<michael@ndrix.org>).

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

syntax highlighting: