summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-11-03 10:45:03 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-11-03 10:45:03 (GMT)
commit386054321a0ba065ce358a066e10b4f42849fa44 (patch)
tree1676db5c0af7ba025de7136f37ff09f720303023 /BuildTools
parentb583c47f9cb845acadaeb4822250ff12a7e054b1 (diff)
downloadswift-386054321a0ba065ce358a066e10b4f42849fa44.zip
swift-386054321a0ba065ce358a066e10b4f42849fa44.tar.bz2
Don't warn on missing English translations.
Change-Id: I351c3c9a7c10b0176580a956a06c02f3d8cb3e04
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/CheckTranslations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/CheckTranslations.py b/BuildTools/CheckTranslations.py
index 95c7e91..b39af08 100755
--- a/BuildTools/CheckTranslations.py
+++ b/BuildTools/CheckTranslations.py
@@ -44,7 +44,7 @@ for filename in os.listdir("Swift/Translations") :
print "[Error] " + filename + ": Placeholder mismatch in translation '" + sourceText + "'"
if not finished :
print "[Warning] " + filename + ": Unfinished"
- if language not in desktop_generic_names :
+ if language not in desktop_generic_names and language != "en" :
print "[Warning] GenericName field missing in desktop entry for " + language
- if language not in desktop_comments :
+ if language not in desktop_comments and language != "en" :
print "[Warning] Comment field missing in desktop entry for " + language