From 8a5a9940ce3a400558a64bf3cd99f601ecde358d Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 9 Jan 2004 23:56:37 +0000 Subject: [PATCH] * src/get_strings: Add coding line. Remove ^L chars. svn: r2620 --- ChangeLog | 1 + src/get_strings | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 19092cb8d..de2bd1d9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2004-01-09 Alex Roitman * src/plugins/rel_de.py: Update possible German locale list. * src/const.py.in: Mark LDS status strings as translatable. + * src/get_strings: Add coding line. Remove ^L chars. 2004-01-08 Don Allingham * src/docgen/PSDrawDoc.py: Scaleable shadow diff --git a/src/get_strings b/src/get_strings index 010efe8dd..8d564ef71 100755 --- a/src/get_strings +++ b/src/get_strings @@ -1,4 +1,6 @@ #! /usr/bin/env python +# -*- coding: iso-8859-1 -*- +# # Originally written by Barry Warsaw # # Minimally patched to make it even more xgettext compatible @@ -8,6 +10,8 @@ # project by Don Allingham (dallingham@users.sourceforge.net) # +# $Id$ + """pygettext -- Python equivalent of xgettext(1) Many systems (Solaris, Linux, Gnu) provide extensive tools that ease the @@ -230,7 +234,6 @@ msgstr "" ''') - def usage(code, msg=''): sys.stderr.write(_(__doc__) % globals()) if msg: @@ -239,7 +242,6 @@ def usage(code, msg=''): sys.exit(code) - escapes = [] def make_escapes(pass_iso8859):