Comment out emoji entries that don't have translations.

This commit is contained in:
Reece H. Dunn
2018-04-27 07:48:57 +01:00
parent ee9606d000
commit 9429de14d7
13 changed files with 34 additions and 33 deletions
+1
View File
@@ -100,6 +100,7 @@ for entry in read_emoji(emoji_dict):
entry.pronunciation = "\t{0}{1}".format(translation, "\t"*int(new_tabs))
else:
entry.comment += " (no translation)"
entry = "//{0}".format(entry)
elif entry == "// Emoji and Other Symbol pronunciations for English":
langname = find_langname(lang)
entry = "// Emoji and Other Symbol pronunciations for {0}".format(langname)