mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 12:03:39 +08:00
95e5f8380d
FIX: buildTranslationTree was erroring when translations overlapped (ie. ":-)" and ":-))") FIX: emoji translations wasn't working properly when translations overlapped
6 lines
377 B
Plaintext
6 lines
377 B
Plaintext
export const emojis = <%= Emoji.standard.map(&:name).flatten.inspect %>;
|
|
export const tonableEmojis = <%= Emoji.tonable_emojis.flatten.inspect %>;
|
|
export const aliases = <%= Emoji.aliases.inspect.gsub("=>", ":") %>;
|
|
export const searchAliases = <%= Emoji.search_aliases.inspect.gsub("=>", ":") %>;
|
|
export const translations = <%= Emoji.translations.inspect.gsub("=>", ":") %>;
|