Re: [PATCH] three new attributes and some minor changes

Urs Janßen <[email protected]> Wed, 3 Dec 2008 14:59:29 +0100
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Wed, Dec 03, 2008 at 02:18:18PM +0100, Dietrich Schaffer wrote:
> On Tue, Dec 02, 2008 at 18:40:59 +0100, Dennis Preiser wrote:
> > Hello,
> >
> > attached a patch which adds three new attributes and update/correct/ 
> > clean up some other stuff.
> >
> > The changes in short:
> >
> > - change some variable names in tinrc file (regarding doc/config- 
> > anomalies) and increase tinrc file version number
> > - add date_format and news_headers_to_[not_]display as attributes
> > - remove the global news_headers_to_[not_]_display_array and  
> > num_headers_to_[not_]_display
> > - rearrange struct t_attribute to avoid padding within the struct
> > - correct options_menu.c:UPDATE_INT_ATTRIBUTES() and  
> > UPDATE_STRING_ATTRIBUTES()
> 
> THX for the patch. But I still see a problem in ~/.tin/attributes:
> 
> ,----
> | #  sigdashes=ON/OFF
> | #    Signatur mit '
> | --
> | ' abtrennen
> | #  signature_repost=ON/OFF
> `----
> In de.gmo and de.po it is in the same matter - is that wrong?
> How can I fix it, so that I'll get a propper attributes file?

apply the following patch:

=== modified file 'po/de.po'
--- po/de.po	2008-12-03 13:50:58 +0000
+++ po/de.po	2008-12-03 13:46:55 +0000
@@ -372,9 +372,7 @@
 #, c-format
 msgid	"#  sigdashes=ON/OFF\n"
 msgstr	"#  sigdashes=ON/OFF\n"
-	"#    Signatur mit '\n"
-	"-- \n"
-	"' abtrennen\n"
+	"#    Signatur mit '\\n-- \\n' abtrennen\n"
 
 #: src/attrib.c:1050
 #, c-format


and rebuild/reinstall the locales:
cd src
su -
make install_nls

to get a 'working' attributes file again simply remove or comment out (#) the
two lines

-- 
' abtrennen

inside the comment block:

[...]
#    Signatur mit '
--
' abtrennen
#  signature_repost=ON/OFF

[...]

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus