mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
Comment out emoji entries that don't have translations.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user