Skip to content

Commit

Permalink
Clearly explain that changes have not been saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
arantius committed Jun 7, 2018
1 parent a26b52f commit 99499df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Expand Up @@ -72,6 +72,9 @@
"extName": {
"message": "Greasemonkey"
},
"fix_and_save": {
"message": "The editor contents have not been saved. Fix this error and try again."
},
"get_user_scripts": {
"message": "Get user scripts"
},
Expand Down
1 change: 1 addition & 0 deletions src/content/edit-user-script.html
Expand Up @@ -56,6 +56,7 @@
<ul>
<li rv-each-error="modal.errorList">{error}</li>
</ul>
<p>{'fix_and_save'|i18n}</p>
</div>

<footer>
Expand Down

0 comments on commit 99499df

Please sign in to comment.