[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: command to strip po file
From: "Nick Shaforostoff" <shafff () ukr ! net>
Date: 2006-07-17 10:10:58
Message-ID: op.tctvwkvn63l8gs () localhost
[Download RAW message or body]
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic