aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPAppController.h1
-rw-r--r--Source/SPAppController.m8
-rw-r--r--Source/SPConstants.h1
-rw-r--r--Source/SPConstants.m1
4 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPAppController.h b/Source/SPAppController.h
index 23796e34..0ae75b90 100644
--- a/Source/SPAppController.h
+++ b/Source/SPAppController.h
@@ -57,6 +57,7 @@
- (IBAction)visitHelpWebsite:(id)sender;
- (IBAction)visitFAQWebsite:(id)sender;
- (IBAction)provideFeedback:(id)sender;
+- (IBAction)provideTranslationFeedback:(id)sender;
- (IBAction)viewKeyboardShortcuts:(id)sender;
// Getters
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index d3cbb8fb..37f79242 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -499,6 +499,14 @@
}
/**
+ * Opens the 'Translation Feedback' page in the default browser.
+ */
+- (IBAction)provideTranslationFeedback:(id)sender
+{
+ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:SPTranslationFeedbackURL]];
+}
+
+/**
* Opens the 'Keyboard Shortcuts' page in the default browser.
*/
- (IBAction)viewKeyboardShortcuts:(id)sender
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index 1fdcf68a..10fd430f 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -297,6 +297,7 @@ extern NSString *SPKeyboardShortcutsURL;
extern NSString *SPMySQLSearchURL;
extern NSString *SPDevURL;
extern NSString *SPGettingConnectedDocURL;
+extern NSString *SPTranslationFeedbackURL;
// Toolbar constants
diff --git a/Source/SPConstants.m b/Source/SPConstants.m
index 536d4cfb..d98daea7 100644
--- a/Source/SPConstants.m
+++ b/Source/SPConstants.m
@@ -176,6 +176,7 @@ NSString *SPKeyboardShortcutsURL = @"http://www.sequelpro.com/do
NSString *SPMySQLSearchURL = @"http://search.mysql.com/search?q=%@&site=refman-%@";
NSString *SPDevURL = @"http://code.google.com/p/sequel-pro/";
NSString *SPGettingConnectedDocURL = @"http://www.sequelpro.com/docs/Getting_Connected";
+NSString *SPTranslationFeedbackURL = @"http://dev.sequelpro.com/translate/";
// Toolbar constants