Skip to content

Commit

Permalink
fix(wx): fix Chrome error caused by i18 placeholders
Browse files Browse the repository at this point in the history
Firefox supported simplified syntax, but Chromium does not.

Implements part of #218
  • Loading branch information
lidel committed May 24, 2017
1 parent 3b7cde7 commit 98d3946
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions add-on/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,19 @@
"message": "Try disabling Tracking Protection (press ctrl+shift+j for more details)"
},
"notify_inlineMsg": {
"message": "$msg$",
"message": "$MSG$",
"placeholders": {
"msg": "$1"
"msg": {
"content": "$1"
}
}
},
"notify_inlineErrorMsg": {
"message": "$errorMsg$ (press ctrl+shift+j for more details)",
"message": "$ERROR$ (press ctrl+shift+j for more details)",
"placeholders": {
"errorMsg": "$1"
"error": {
"content": "$1"
}
}
}
}

0 comments on commit 98d3946

Please sign in to comment.