1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-03 01:29:39 +02:00

Support hidden hyphen HTML entity in translation work

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/907#issuecomment-590804054
This commit is contained in:
Raymond Hill 2020-03-02 12:34:50 -05:00
parent ea2da021ba
commit bef9eedf73
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 3 additions and 2 deletions

View File

@ -112,11 +112,11 @@
"description": "English: Click to open the dashboard"
},
"popupTipZapper": {
"message": "Gå til elementdræbertilstand",
"message": "Gå til elementdræbertil­stand",
"description": "Tooltip for the element-zapper icon in the popup panel"
},
"popupTipPicker": {
"message": "Start elementvælgertilstand",
"message": "Start elementvælgertil­stand",
"description": "English: Enter element picker mode"
},
"popupTipLog": {

View File

@ -72,6 +72,7 @@ const safeTextToTextNode = (function() {
const entities = new Map([
// TODO: Remove quote entities once no longer present in translation
// files. Other entities must stay.
[ '­', '\u00AD' ],
[ '“', '“' ],
[ '”', '”' ],
[ '‘', '' ],