summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJean-Charles Malahieude <lilyfan@orange.fr>2012-05-01 17:18:22 +0200
committerJean-Charles Malahieude <lilyfan@orange.fr>2012-05-01 17:18:22 +0200
commit6f732bd9ce18ac2709a39633332532316b5d22ad (patch)
treee2e26d71309271c6729562690440a149a76f652d /scripts
parent41ea9977859eb47c59d79022609f0df536cbd81a (diff)
texi-langutils.py: scan ly comments and variable names only in English doco
add Czech and Chinese as not being English, and reorder lines
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/auxiliar/texi-langutils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/auxiliar/texi-langutils.py b/scripts/auxiliar/texi-langutils.py
index 1fdaad7dcf..a2da780f26 100755
--- a/scripts/auxiliar/texi-langutils.py
+++ b/scripts/auxiliar/texi-langutils.py
@@ -178,14 +178,16 @@ if make_gettext:
# Urgly: scan ly comments and variable names only in English doco
is_english_doc = (
True
+ and not 'Documentation/cs/' in texi_file
and not 'Documentation/de/' in texi_file
and not 'Documentation/es/' in texi_file
and not 'Documentation/fr/' in texi_file
- and not 'Documentation/ja/' in texi_file
and not 'Documentation/hu/' in texi_file
+ and not 'Documentation/ja/' in texi_file
and not 'Documentation/it/' in texi_file
and not 'Documentation/nl/' in texi_file
and not 'Documentation/po/' in texi_file
+ and not 'Documentation/zh/' in texi_file
)
process_texi (texi_file, intro_blurb, node_blurb, make_skeleton,
os.path.basename (texi_file), node_list,