Skip to content

TagSpaces is an offline, open source, document manager with tagging support

TS331 - New menu items in electron's help menu

mladensap8a932344418d
diff --git a/data/electron/electron.api.js b/data/electron/electron.api.js
index 89e8b2aad..840e42aad 100644
--- a/data/electron/electron.api.js
+++ b/data/electron/electron.api.js
@@ -257,7 +257,7 @@ define(function(require, exports, module) {
}
},
{
- label: $.i18n.t("Documentation"),
+ label: $.i18n.t("ns.common:documentation"),
click: function() {
TSCORE.UI.showDocumentation();
}
@@ -268,6 +268,9 @@ define(function(require, exports, module) {
TSCORE.UI.whatsNew();
}
},
+ {
+ type: 'separator'
+ },
{
label: $.i18n.t("ns.common:likeUsOnFacebook"),
click: function() {
@@ -286,6 +289,9 @@ define(function(require, exports, module) {
TSCORE.UI.openTwitter();
}
},
+ {
+ type: 'separator'
+ },
{
label: $.i18n.t("ns.common:suggestNewFeatures"),
click: function() {
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index fc8c2319f..8a2f1c4d8 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -1057,31 +1057,31 @@ define(function(require, exports, module) {
}
function openFacebook() {
- TSCORE.IO.openFile("https://www.facebook.com/tagspacesapp");
- }
+ TSCORE.IO.openFile("https://www.facebook.com/tagspacesapp");
+ }
function openTwitter() {
- TSCORE.IO.openFile("https://twitter.com/intent/user?screen_name=tagspaces");
+ TSCORE.IO.openFile("https://twitter.com/intent/user?screen_name=tagspaces");
}
function openGooglePlus() {
- TSCORE.IO.openFile("https://plus.google.com/+TagspacesOrg/");
+ TSCORE.IO.openFile("https://plus.google.com/+TagspacesOrg/");
}
function suggestNewFeatures() {
- TSCORE.IO.openFile("https://tagspaces.uservoice.com/forums/213931-general");
+ TSCORE.IO.openFile("https://tagspaces.uservoice.com/forums/213931-general");
}
function reportIssues() {
- TSCORE.IO.openFile("https://github.com/tagspaces/tagspaces/issues/");
+ TSCORE.IO.openFile("https://github.com/tagspaces/tagspaces/issues/");
}
function whatsNew() {
- TSCORE.IO.openFile("http://www.tagspaces.org/whatsnew/");
+ TSCORE.IO.openFile("http://www.tagspaces.org/whatsnew/");
}
function showDocumentation() {
- TSCORE.IO.openFile("https://www.tagspaces.org/documentation/");
+ TSCORE.IO.openFile("https://www.tagspaces.org/documentation/");
}
// Public API definition
diff --git a/data/locales/en_US/ns.common.json b/data/locales/en_US/ns.common.json
index 3d20e1bfd..1120dd60f 100644
--- a/data/locales/en_US/ns.common.json
+++ b/data/locales/en_US/ns.common.json
@@ -250,5 +250,6 @@
"createDirectory":"New Directory",
"alertOpenLocatioFirst":"Please open a location first!",
"exitApp":"Exit",
- "-": "-"
+ "-": "-",
+ "documentation":"Documentation"
}