From 386054321a0ba065ce358a066e10b4f42849fa44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 3 Nov 2012 11:45:03 +0100 Subject: Don't warn on missing English translations. Change-Id: I351c3c9a7c10b0176580a956a06c02f3d8cb3e04 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 -- cgit v0.10.2-6-g49f6