4 Commits

Author SHA1 Message Date
sonu.kumar
e9e5b4287f Replacing print with print() to provide py 2/3 compatibility
This patch replaces print operator in python 2 with print() to provide py 2/3
compatibility.

Change-Id: Ic8854e5518834e2894e003bab80d6be525ac0be8
2015-08-03 17:37:37 +05:30
Tom Fifield
79065aad30 Ignore <option> tags in generatepot
After https://review.openstack.org/#/c/144685 merges,
the automatically generated configuration reference
tables will be marked up as
<option>option_name</option> = <replaceable>default_value</replaceable>

As none of this should be translated (option_name is the same
regardless of language), this patch updates generatepot to ignore
option_name s tagged with <option> for translation.

This should significantly reduce the number of strings required for
translation from the common directory in particular, where
many of the 8000-odd strings do not actually need translation.

Change-Id: Ib859cc9a77dc05aad1317a67962aae516f6a4f0b
2015-01-01 20:39:34 +08:00
Christian Berendt
98a7d96f64 Remove @author tags from copyright statements
We have git to track the authorship of files. It is not necessary to use
the @author tags in the copyright statements.

Change-Id: Ibd967ed83022cab4a0f8c5b7135934138bdba0d6
2014-10-09 09:24:09 +02:00
Andreas Jaeger
3b0a580b15 Add translation tools
We need these tools for our translation gates.

Related-Bug: #1291844
Change-Id: I466a17acfd133e085fbb63bd71d5d59bd833ae3b
2014-03-14 09:46:35 +01:00