[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Automatic translation of fuzzy strings
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2005-09-15 16:51:23
Message-ID: 200509151851.23334.nicolasg () snafu ! de
[Download RAW message or body]

On Thursday 15 September 2005 18:44, Spiros Georgaras wrote:
> On Thursday 15 September 2005 19:39 Donatas G. wrote:
> > 2005 m. rugsėjis 15 d., ketvirtadienis 19:31, Pino Toscano rašė:
> > > On Thursday 15 September 2005 18:26, Donatas G. wrote:
> > > > > Have you tried
> > > > > msgattrib --clear-fuzzy
> > > >
> > > > Hey, it seems to work! How do I apply it to a whole folder, or a tree
> > > > of folders at once?
> > >
> > > For the current folder & subfolders:
> > >
> > > for i in `find . -name '*.po'`; do
> > >   msgattrib -o $i --clear-fuzzy $i
> > > done
> > >
> > > (not tested though)
> >
> > I get a lot of
> > bash:  : command not found
> >
> > messages; something does not work; I do have gettext, though, and
> > msgattrib works for me.
> >
> > find also works...
>
> Try
>
> for i in `find . -name "*.po"`; do
> msgattrib -o $i --clear-fuzzy $i
> done

If you need it in one line, it becomes:

for i in `find . -name "*.po"`; do
msgattrib -o $i --clear-fuzzy $i ; 
done


>
> Best regards
> Spiros


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic