if not os.path.isdir(filename):
lst.append( locale_template % (filename, pkgdir, dirname) )
- os.path.walk('wx\\locale', walk_helper, stringlst)
+ os.path.walk('wx\\i18n', walk_helper, stringlst)
return '\n'.join(stringlst)
if not os.path.isdir(filename):
lst.append( locale_template % (filename, pkgdir, dirname) )
- os.path.walk('wx\\locale', walk_helper, stringlst)
+ os.path.walk('wx\\i18n', walk_helper, stringlst)
return '\n'.join(stringlst)
if os.name == 'nt':
- build_locale_dir(opj(PKGDIR, 'locale'))
- DATA_FILES += build_locale_list(opj(PKGDIR, 'locale'))
+ build_locale_dir(opj(PKGDIR, 'i18n'))
+ DATA_FILES += build_locale_list(opj(PKGDIR, 'i18n'))
if os.name == 'nt':
# to the default catalog path.
if wx.Platform == "__WXMSW__":
import os
- _localedir = os.path.join(os.path.split(__file__)[0], "locale")
+ _localedir = os.path.join(os.path.split(__file__)[0], "i18n")
Locale.AddCatalogLookupPathPrefix(_localedir)
del os