Testing some initial l10n changes.

This commit is contained in:
Ricky Zhou (周家杰) 2008-03-15 15:03:21 -04:00
parent e07f4d8f01
commit 7b20841fb6
8 changed files with 9 additions and 5 deletions

View file

@ -15,9 +15,11 @@ include fas/templates/group/*.html
include fas/templates/group/*.txt
include fas/templates/openid/*.html
include fas/templates/openid/*.txt
include fas/templates/user/email/*.html
include fas/templates/user/email/*.txt
include fas/templates/user/*.html
include fas/templates/user/*.txt
include fas/templates/*.html
include fas/templates/*.txt
include po/*.pot
include po/*.po
include locales/*.pot
include locales/*/*/*.po

View file

@ -61,7 +61,6 @@ genshi.encoding="utf-8"
session_filter.on = True
i18n.run_template_filter = True
i18n.domain = 'fas'
i18n.locale_dir = 'po'
# VISIT TRACKING
# Each visit to your application will be assigned a unique visit ID tracked via

View file

@ -29,7 +29,6 @@ turbogears.view.variable_providers.append(add_custom_stdvars)
def get_locale(locale=None):
if locale:
return locale
try:
return turbogears.identity.current.user.locale
except AttributeError:

View file

@ -2,7 +2,7 @@
Release information about the Fedora Accounts System
'''
VERSION = '0.5'
VERSION = '0.8.1'
NAME = 'fas'
DESCRIPTION = 'The Fedora Account System'
LONG_DESCRIPTION = '''

1
fas/locales/fas.pot Symbolic link
View file

@ -0,0 +1 @@
../po/fas.pot

View file

@ -0,0 +1 @@
../../../po/pl.po

View file

@ -136,6 +136,8 @@ setup(
('static/images/balloons',
[f for f in glob.glob('fas/static/images/balloons/*') if os.path.isfile(f)]),
('static/js', [f for f in glob.glob('fas/static/js/*') if os.path.isfile(f)]),
('locales', [f for f in glob.glob('locales/*') if os.path.isfile(f)]),
('locales/xx/LC_MESSAGES', [f for f in glob.glob('locales/*/*/*') if os.path.isfile(f)]),
),
package_data = find_package_data(where='fas',
package='fas',