summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-02 06:47:47 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-02 06:47:47 +0000
commit86485e38723bcc17d8aae88ce80db7b87cac67a0 (patch)
tree78d87da6f6902cf104ae6a5313c251e6c2f09e68 /po
parent6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd (diff)
downloadanaconda-86485e38723bcc17d8aae88ce80db7b87cac67a0.tar.gz
anaconda-86485e38723bcc17d8aae88ce80db7b87cac67a0.tar.xz
anaconda-86485e38723bcc17d8aae88ce80db7b87cac67a0.zip
not used now that translations are in comps module
Diffstat (limited to 'po')
-rwxr-xr-xpo/compsgettext35
1 files changed, 0 insertions, 35 deletions
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 ""'