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

List:       kde-i18n-doc
Subject:    Re: command to strip po file
From:       "Donatas G." <dgvirtual () akl ! lt>
Date:       2006-07-17 10:10:13
Message-ID: 44BB6205.7030005 () akl ! lt
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Shaforostoff wrote:
>> Is there a gettext or other type of command to strip a translated *.po
>> file so that it becomes empty of translation (as a *.pot)?
> msgfmt --nowrap
> to get
> 
> msgid "ddgfdgdgdgf"
> msgstr "cgfdgdfg"
> 
> instead of
> 
> msgid ""
> "ddgfdgdgdgf"
> "dgdgf"
> msgstr ""
> "cgfdg"
> "dfg"
> 
> 
> then just delete lines that match
> ^msgstr.*
> using kate,  gawk or the like

I do still need the empty
msgstr ""
entries...

Donatas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRLtiBfDtAb8AVdgrAQJSUgQArqMvsswIK7MjpB3XDYp+mNYjYFoueEZ1
uL2xsKQ1FKjL6n12kVepG3zrCMqzly3GmX3OEmGrSii9hE1fD+qsl008bopbzXUv
vIOppHvSXVBYOzJJICnu8cxoD9RRG7WDJzvbJSj+v8+PTtG9JszYWNi5vQxLcoro
fk1MoT+GVKo=
=Qjr4
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread] 

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