-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
With the increasing use of emojis in translation, a nice usability improvement would be to make all emojis act like placeables (i.e. clickable entities in source text).
Example: https://translate.evernote.com/ru/android_evernote/translate/strings.xml.po#unit=1254182
(here, in source text, tags <i>
and </i>
are highlighted and can be placed into the translation field at current caret position with a single click).
Relevant code: https://github.com/evernote/zing/blob/8157b44d7a46cf4bdc230a22ec83fa24ce56bcdc/pootle/static/js/utils.js#L116-L138
Relevant discussion on matching emojis with regular expressions in JavaScript:
https://stackoverflow.com/questions/22006218/replace-emoji-unicode-symbol-using-regexp-in-javascript
Metadata
Metadata
Assignees
Labels
No labels