Add 'usa' alias for US flag emoji search#1878
Open
liketheduck wants to merge 2 commits intofuto-org:masterfrom
Open
Add 'usa' alias for US flag emoji search#1878liketheduck wants to merge 2 commits intofuto-org:masterfrom
liketheduck wants to merge 2 commits intofuto-org:masterfrom
Conversation
Searching "usa" or "america" in the emoji picker now correctly shows the US flag emoji (🇺🇸). Added "usa" to the gemoji aliases and added "usa" and "america" to the English i18n search keywords. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reverts java/res-large to upstream commit. The corresponding i18n keyword change needs to be merged in keyboard-large-resources first. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds "usa" as an alias for the US flag emoji in
gemoji.jsongz, so searching "usa" in the emoji picker returns the expected result.Closes #1865.
Changes
java/res/raw/gemoji.jsongz: Added"usa"to the aliases array for the US flag emoji (previously only"us").Important: companion change needed in keyboard-large-resources
The emoji picker search in
EmojiAction.ktqueries against the i18n translation names injava/res-large/raw/emoji_i18n.jsondlgz, not the gemoji aliases. A corresponding change is needed in thekeyboard-large-resourcessubmodule (hosted on GitLab) to add "usa" and "america" as English search keywords for the US flag entry. Without that change, the alias fix here improves shortcode lookup but the picker search will remain incomplete.Test plan
:usa:shortcode resolves to US flag emojiCo-authored with Claude Code.