Skip to content

Commit

Permalink
Update utility to unicode 15.1 and CLDR 44-1
Browse files Browse the repository at this point in the history
  • Loading branch information
cvzi committed Mar 23, 2024
1 parent b60e5ef commit c69374a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions utils/get_codes_from_unicode_emoji_data_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ def ascii(s):
logging.info(' Downloading...\n')

# Find the latest version at https://www.unicode.org/reports/tr51/#emoji_data
emoji_source = get_emoji_from_url(15.0)
emoji_sequences_source = get_emoji_variation_sequence_from_url('15.0.0')
emoji_source = get_emoji_from_url(15.1)
emoji_sequences_source = get_emoji_variation_sequence_from_url('15.1.0')
emojis = extract_emojis(emoji_source, emoji_sequences_source)
# Find latest release tag at https://cldr.unicode.org/index/downloads
github_tag = 'release-43-1'
github_tag = 'release-44-1'

languages = {
# Update names in other languages:
Expand Down Expand Up @@ -534,6 +534,9 @@ def ascii(s):
# 'fa': get_UNICODE_EMOJI('fa'),
# 'id': get_UNICODE_EMOJI('id'),
# 'zh': get_UNICODE_EMOJI('zh'),
# 'ru': get_UNICODE_EMOJI('ru'),
# 'tr': get_UNICODE_EMOJI('tr'),
# 'ar': get_UNICODE_EMOJI('ar'),
}

github_alias_dict = get_emoji_from_github_api('https://api.github.com/emojis')
Expand Down

0 comments on commit c69374a

Please sign in to comment.