Testing some initial l10n changes.
This commit is contained in:
parent
e07f4d8f01
commit
7b20841fb6
8 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
1
fas/locales/fas.pot
Symbolic link
|
@ -0,0 +1 @@
|
|||
../po/fas.pot
|
1
fas/locales/pl/LC_MESSAGES/fas.po
Symbolic link
1
fas/locales/pl/LC_MESSAGES/fas.po
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../po/pl.po
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue