mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 17:41:03 +01: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:
parent
ea2da021ba
commit
bef9eedf73
2 changed files with 3 additions and 2 deletions
|
@ -112,11 +112,11 @@
|
||||||
"description": "English: Click to open the dashboard"
|
"description": "English: Click to open the dashboard"
|
||||||
},
|
},
|
||||||
"popupTipZapper": {
|
"popupTipZapper": {
|
||||||
"message": "Gå til elementdræbertilstand",
|
"message": "Gå til elementdræbertil­stand",
|
||||||
"description": "Tooltip for the element-zapper icon in the popup panel"
|
"description": "Tooltip for the element-zapper icon in the popup panel"
|
||||||
},
|
},
|
||||||
"popupTipPicker": {
|
"popupTipPicker": {
|
||||||
"message": "Start elementvælgertilstand",
|
"message": "Start elementvælgertil­stand",
|
||||||
"description": "English: Enter element picker mode"
|
"description": "English: Enter element picker mode"
|
||||||
},
|
},
|
||||||
"popupTipLog": {
|
"popupTipLog": {
|
||||||
|
|
|
@ -72,6 +72,7 @@ const safeTextToTextNode = (function() {
|
||||||
const entities = new Map([
|
const entities = new Map([
|
||||||
// TODO: Remove quote entities once no longer present in translation
|
// TODO: Remove quote entities once no longer present in translation
|
||||||
// files. Other entities must stay.
|
// files. Other entities must stay.
|
||||||
|
[ '­', '\u00AD' ],
|
||||||
[ '“', '“' ],
|
[ '“', '“' ],
|
||||||
[ '”', '”' ],
|
[ '”', '”' ],
|
||||||
[ '‘', '‘' ],
|
[ '‘', '‘' ],
|
||||||
|
|
Loading…
Reference in a new issue