diff options
author | rowanbeentje <rowan@beent.je> | 2010-07-18 00:12:58 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-07-18 00:12:58 +0000 |
commit | ad7cf0d9a34f5392193b55aab9121153391578d4 (patch) | |
tree | 0c669d0ae9aefa2b0097b9779eda9aacce905e1c /Source/SPConstants.h | |
parent | 8a5c8b954e00302cf5de32edcaf12c0b7b3eed82 (diff) | |
download | sequelpro-ad7cf0d9a34f5392193b55aab9121153391578d4.tar.gz sequelpro-ad7cf0d9a34f5392193b55aab9121153391578d4.tar.bz2 sequelpro-ad7cf0d9a34f5392193b55aab9121153391578d4.zip |
- Expose a number of help menu items and help buttons to use localisable strings
- Tweak MySQL help search to include a localisable language code for results in requested languages
This addresses Issue #743
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r-- | Source/SPConstants.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h index a7a10fc2..3f69b268 100644 --- a/Source/SPConstants.h +++ b/Source/SPConstants.h @@ -175,6 +175,15 @@ typedef enum SPEncodingEUCKRKorean = 180 } SPEncodingTypes; +// Predefined localisable URLs +#define SPLOCALIZEDURL_HOMEPAGE NSLocalizedString(@"http://www.sequelpro.com/", @"Localized home page - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_FAQ NSLocalizedString(@"http://www.sequelpro.com/docs/Frequently_Asked_Questions", @"Localized help page for Frequently Asked Questions - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_DOCUMENTATION NSLocalizedString(@"http://www.sequelpro.com/docs/", @"Localized documentation home page - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_CONTACT NSLocalizedString(@"http://www.sequelpro.com/docs/Contact_the_developers", @"Localized contact page - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_KEYBOARDSHORTCUTS NSLocalizedString(@"http://www.sequelpro.com/docs/Keyboard_Shortcuts", @"Localized keyboard shortcuts page - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_CONNECTIONHELP NSLocalizedString(@"http://www.sequelpro.com/docs/Getting_Connected", @"Localized connection help page - do not localize if no translated webpage is available") +#define SPLOCALIZEDURL_TRANSLATIONFEEDBACK NSLocalizedString(@"http://dev.sequelpro.com/translate/feedback", @"Localized translation feedback page - do not localize if no translated webpage is available") + // Long running notification time for Growl messages extern const CGFloat SPLongRunningNotificationTime; @@ -321,16 +330,9 @@ extern NSString *SPBlobTextEditorSpellCheckingEnabled; extern NSString *SPUniqueSchemaDelimiter; // URLs -extern NSString *SPHomePageURL; extern NSString *SPDonationsURL; -extern NSString *SPFAQURL; -extern NSString *SPDocumentationURL; -extern NSString *SPContactURL; -extern NSString *SPKeyboardShortcutsURL; extern NSString *SPMySQLSearchURL; extern NSString *SPDevURL; -extern NSString *SPGettingConnectedDocURL; -extern NSString *SPTranslationFeedbackURL; // Toolbar constants |