[library-web] Remove sr Latn if sr latin is present (GNOME bug 570296)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [library-web] Remove sr Latn if sr latin is present (GNOME bug 570296)
- Date: Wed, 26 Aug 2009 09:46:46 +0000 (UTC)
commit 5e18cdd99dc0b6fe8f51d1dde830f0df3ca17730
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Aug 26 11:45:50 2009 +0200
Remove sr Latn if sr latin is present (GNOME bug 570296)
src/lgo.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 2c2fc50..d95f906 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -493,6 +493,8 @@ class Lgo(App):
if self.config.languages and not lang in self.config.languages:
continue
languages[lang] = True
+ if 'sr Latn' in languages and 'sr latin' in languages:
+ del languages['sr Latn']
for lang in languages.keys():
home = ET.SubElement(indexes, 'home')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]