TagSpaces is an offline, open source, document manager with tagging support
TS331-New menu items in electron's help menu
mladensap4f7138f17be5
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.jsindex 7e726ab57..89e8b2aad 100644--- a/data/electron/electron.api.js+++ b/data/electron/electron.api.js@@ -250,6 +250,54 @@ define(function(require, exports, module) {TSCORE.UI.showLicenseDialog();}},+ {+ label: $.i18n.t("ns.common:startingHints"),+ click: function() {+ TSCORE.UI.startGettingStartedTour();+ }+ },+ {+ label: $.i18n.t("Documentation"),+ click: function() {+ TSCORE.UI.showDocumentation();+ }+ },+ {+ label: $.i18n.t("ns.common:whatsNew"),+ click: function() {+ TSCORE.UI.whatsNew();+ }+ },+ {+ label: $.i18n.t("ns.common:likeUsOnFacebook"),+ click: function() {+ TSCORE.UI.openFacebook();+ }+ },+ {+ label: $.i18n.t("ns.common:joinOnGooglePlus"),+ click: function() {+ TSCORE.UI.openGooglePlus();+ }+ },+ {+ label: $.i18n.t("ns.common:followOnTwitter"),+ click: function() {+ TSCORE.UI.openTwitter();+ }+ },+ {+ label: $.i18n.t("ns.common:suggestNewFeatures"),+ click: function() {+ TSCORE.UI.suggestNewFeatures();+ }+ },+ {+ label: $.i18n.t("ns.common:reportIssues"),+ click: function() {+ TSCORE.UI.reportIssues();+ }+ },{label: $.i18n.t("ns.common:aboutTagSpaces"),click: function() {diff --git a/data/js/core.ui.js b/data/js/core.ui.jsindex b4d1813fb..fc8c2319f 100644--- a/data/js/core.ui.js+++ b/data/js/core.ui.js@@ -1056,6 +1056,34 @@ define(function(require, exports, module) {});}+ function openFacebook() {+ TSCORE.IO.openFile("https://www.facebook.com/tagspacesapp");+ }++ function openTwitter() {+ TSCORE.IO.openFile("https://twitter.com/intent/user?screen_name=tagspaces");+ }++ function openGooglePlus() {+ TSCORE.IO.openFile("https://plus.google.com/+TagspacesOrg/");+ }++ function suggestNewFeatures() {+ TSCORE.IO.openFile("https://tagspaces.uservoice.com/forums/213931-general");+ }++ function reportIssues() {+ TSCORE.IO.openFile("https://github.com/tagspaces/tagspaces/issues/");+ }++ function whatsNew() {+ TSCORE.IO.openFile("http://www.tagspaces.org/whatsnew/");+ }++ function showDocumentation() {+ TSCORE.IO.openFile("https://www.tagspaces.org/documentation/");+ }+// Public API definitionexports.showContextMenu = showContextMenu;exports.initUI = initUI;@@ -1088,4 +1116,11 @@ define(function(require, exports, module) {exports.createHTMLFile = createHTMLFile;exports.createMDFile = createMDFile;exports.createTXTFile = createTXTFile;+ exports.openFacebook = openFacebook;+ exports.openTwitter = openTwitter;+ exports.openGooglePlus = openGooglePlus;+ exports.suggestNewFeatures = suggestNewFeatures;+ exports.reportIssues = reportIssues;+ exports.whatsNew = whatsNew;+ exports.showDocumentation = showDocumentation;});