~cypheon/elfelli

ref: 11666b8dda48ad78219d3d23476e31bbe006e368 elfelli/po/SConscript -rw-r--r-- 361 bytes
11666b8d — Johann Rudloff A file to load can be passed as first command line argument. 15 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- Python -*-

from glob import glob

Import('env')

locales = map(lambda str: str[:-3], glob('*.po'))
for locale in locales:
    env.MO('locale/%s/LC_MESSAGES/elfelli' % locale, locale)
    env.InstallAs(env['destdir']+'%s/%s/LC_MESSAGES/elfelli.mo' % (env['localedir'], locale),
                  'locale/%s/LC_MESSAGES/elfelli.mo' % locale)

Default('.')