From 86485e38723bcc17d8aae88ce80db7b87cac67a0 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 2 Aug 2002 06:47:47 +0000 Subject: not used now that translations are in comps module --- po/compsgettext | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100755 po/compsgettext diff --git a/po/compsgettext b/po/compsgettext deleted file mode 100755 index 16e068918..000000000 --- a/po/compsgettext +++ /dev/null @@ -1,35 +0,0 @@ -#!/usr/bin/python - -import string -import sys -import string - -try: - f = open(sys.argv[1]) -except: - sys.stderr.write ("no comps file found, exiting\n") - sys.exit (0) - -list = [] - -comps = f.readlines() -count = 1 -for line in comps: - if (string.find (line, '{') > 0 - and string.find (line, '--hide') < 0): - start = string.find (line, ':') - if start > 0: - line = line[start + 1:] - line = line[:string.find (line, '{')] - line = string.strip (line) - if line[0] == '0' or line[0] == '1': - list.append((line[2:], count)) - count = count + 1 - -for (comp, line) in list: - if comp == "GNOME" or comp == "KDE": - continue - print - print '# %s:%d' % (sys.argv[1], line) - print 'msgid "%s"' % comp - print 'msgstr ""' -- cgit