enabling i18n with Babel
Change-Id: I7d5a170f31c2846474b3836a08c6445577613e98
This commit is contained in:
20
keystoneclient/locale/keystoneclient.pot
Normal file
20
keystoneclient/locale/keystoneclient.pot
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Translations template for python-keystoneclient.
|
||||||
|
# Copyright (C) 2012 ORGANIZATION
|
||||||
|
# This file is distributed under the same license as the
|
||||||
|
# python-keystoneclient project.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2012.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: python-keystoneclient 0.1.3.12\n"
|
||||||
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
|
"POT-Creation-Date: 2012-09-29 16:02-0700\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: Babel 0.9.6\n"
|
||||||
|
|
14
setup.cfg
14
setup.cfg
@@ -12,3 +12,17 @@ all_files = 1
|
|||||||
|
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
|
[compile_catalog]
|
||||||
|
directory = keystoneclient/locale
|
||||||
|
domain = keystoneclient
|
||||||
|
|
||||||
|
[update_catalog]
|
||||||
|
domain = keystoneclient
|
||||||
|
output_dir = keystoneclient/locale
|
||||||
|
input_file = keystoneclient/locale/keystoneclient.pot
|
||||||
|
|
||||||
|
[extract_messages]
|
||||||
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
|
mapping_file = babel.cfg
|
||||||
|
output_file = keystoneclient/locale/keystoneclient.pot
|
||||||
|
@@ -10,3 +10,5 @@ nosehtmloutput
|
|||||||
pep8==1.2
|
pep8==1.2
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
unittest2>=0.5.1
|
unittest2>=0.5.1
|
||||||
|
|
||||||
|
Babel
|
||||||
|
Reference in New Issue
Block a user