summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2012-12-12 20:13:34 +0800
committerLianhao Lu <lianhao.lu@intel.com>2012-12-18 10:14:03 +0800
commitbaad3c800f078ef4af994d553eaec869dacad610 (patch)
tree67d3538c82a806069f5f0576277690c198d77f7d /.gitignore
parent07eaed241c92354b07f5ef7b416bf6d2edb6ebc7 (diff)
downloadceilometer-baad3c800f078ef4af994d553eaec869dacad610.tar.gz
Ground work for transifex-ify ceilometer.
Following http://wiki.openstack.org/Translations to integrate transifex translation into ceilometer and to fix bug 1082805. This is the ground work to enable translation jobs using transifex and Jenkin's in ceilometer. We added the empty file ceilometer/locale/ceilometer.pot to avoid the failure of the Jenkin' translation-jobs because git doesn't allow empty directory to be added into the repository. We still need to do the following things once this patch gets accepted: 1. Make the transifex ceilometer project (https://www.transifex.com/projects/p/ceilometer/) as part of the openstack transifex project hub and give access to the transifex openstack Jenkins account. 2. Add the translation-jobs into openstack/openstack-ci-puppet for ceilometer. 3. Recheck and/or clean the LOG.foobar strings in ceilometer so that only the useful and necessary strings would be extracted into the .pot file. NOTE: 1. Don't use '_' as the variable name for "don't care", since it clashes with gettext module. 2. Wrap the string with the underscore function to make it ready for translation, e.g. internationalized_string = _("I'm internationalized!") LOG.debug(_('I speak the language of %(language)s'), locals()) Change-Id: I9732e424b374afa8f0650baf4e3537109e7520d1
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 03506f39..8336faa9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ dist
*.egg
ceilometer/versioninfo
doc/source/api/*.rst
+*.mo