Rename as generic reset message

This commit is contained in:
Rob Garrison 2017-08-25 07:42:01 -05:00
parent b7b99f0ed0
commit 320fd07789
2 changed files with 5 additions and 5 deletions

View File

@ -155,6 +155,10 @@
"message": "History", "message": "History",
"description": "Used in various places to show a history log of something" "description": "Used in various places to show a history log of something"
}, },
"genericResetLabel": {
"message": "Reset",
"description": "Used in various parts of UI to indicate that something may be reset to its original state"
},
"confirmNo": { "confirmNo": {
"message": "No", "message": "No",
"description": "'No' button in a confirm dialog" "description": "'No' button in a confirm dialog"
@ -523,10 +527,6 @@
} }
} }
}, },
"resetLinterRules": {
"message": "Reset",
"description": "Reset Stylelint or CSSLint rules"
},
"setLinterError": { "setLinterError": {
"message": "Invalid JSON format", "message": "Invalid JSON format",
"description": "Setting linter rules with invalid JSON message" "description": "Setting linter rules with invalid JSON message"

View File

@ -331,7 +331,7 @@ function setupLinterPopup(rules) {
] ]
}), }),
makeButton('save', 'styleSaveLabel'), makeButton('save', 'styleSaveLabel'),
makeButton('reset', 'resetLinterRules'), makeButton('reset', 'genericResetLabel'),
$element({ $element({
tag: 'span', tag: 'span',
className: 'error', className: 'error',