From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
V5 -> V6:
use ZhengSheng's expression pattern.
V4 -> V5:
improve the regular expression pattern.
remove glob
V3 -> V4:
use python script to check the i18n string formatting
For discuss with ZhengSheng, we should extend the check.
We should check the string are obsolete or they are statement but not define in i18n.py
V2 -> V3:
improve the regular expression pattern.
V1 -> V2:
move the check to top makefile.
check all i18n.py
improve the checking information.
ShaoHe Feng (3):
add a make check-local command to verify the i18n string formatting
remove obsolete i18n strings which are no longer in use
add a method to check the i18n strings are obsolete
Makefile.am | 5 +++
contrib/check_i18n.py | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++
plugins/sample/i18n.py | 1 -
src/kimchi/i18n.py | 4 ---
4 files changed, 87 insertions(+), 5 deletions(-)
create mode 100755 contrib/check_i18n.py
--
1.8.5.3