Move view and keyboard into user settings dialog

This commit is contained in:
Nick O'Leary
2017-04-28 20:49:01 +01:00
parent 8135da71bd
commit 5938143002
17 changed files with 643 additions and 124 deletions

View File

@@ -74,7 +74,7 @@ RED.sidebar.info = (function() {
tipClose.click(function(e) {
e.preventDefault();
RED.actions.invoke("core:toggle-show-tips");
RED.notify("You can re-open the tips from the side menu");
RED.notify(RED._("sidebar.info.showTips"));
});
RED.sidebar.addTab({
@@ -267,7 +267,7 @@ RED.sidebar.info = (function() {
RED.actions.add("core:toggle-show-tips",function(state) {
if (state === undefined) {
RED.menu.toggleSelected("menu-item-show-tips");
RED.userSettings.toggle("view-show-tips");
} else {
enabled = state;
if (enabled) {