From 127b517977c4b7cb80a925ae539539d1b8933c28 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Aug 2011 11:07:41 -0600 Subject: [PATCH] ... --- setup/translations.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index ecb7834b40..2e8e6d52f3 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -310,7 +310,11 @@ class ISO639(Command): m3bto3t[threeb] = threet codes3b.add(x.get('iso_639_2B_code')) codes3t.add(x.get('iso_639_2T_code')) - nm[name.lower().partition(';')[0].strip()] = threet + base_name = name.lower() + nm[base_name] = threet + simple_name = base_name.partition(';')[0].strip() + if simple_name not in nm: + nm[simple_name] = threet from cPickle import dump x = {'by_2':by_2, 'by_3b':by_3b, 'by_3t':by_3t, 'codes2':codes2,