Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Commit

Permalink
Use NSLocalizedString to be able to translate to our languages.
Browse files Browse the repository at this point in the history
  • Loading branch information
jum committed Mar 19, 2011
1 parent 4585178 commit 4823c70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Appirater.h
Expand Up @@ -57,27 +57,27 @@ extern NSString *const kAppiraterDeclinedToRate;
This is the message your users will see once they've passed the day+launches
threshold.
*/
#define APPIRATER_MESSAGE [NSString stringWithFormat:@"If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!", APPIRATER_APP_NAME]
#define APPIRATER_MESSAGE [NSString stringWithFormat:NSLocalizedString(@"If you enjoy using %@, would you mind taking a moment to rate it? It won't take more than a minute. Thanks for your support!", @"enjoyappmsg"), APPIRATER_APP_NAME]

/*
This is the title of the message alert that users will see.
*/
#define APPIRATER_MESSAGE_TITLE [NSString stringWithFormat:@"Rate %@", APPIRATER_APP_NAME]
#define APPIRATER_MESSAGE_TITLE [NSString stringWithFormat:NSLocalizedString(@"Rate %@", @"rateapptitle"), APPIRATER_APP_NAME]

/*
The text of the button that rejects reviewing the app.
*/
#define APPIRATER_CANCEL_BUTTON @"No, Thanks"
#define APPIRATER_CANCEL_BUTTON NSLocalizedString(@"No, Thanks", @"nothanksbutton")

/*
Text of button that will send user to app review page.
*/
#define APPIRATER_RATE_BUTTON [NSString stringWithFormat:@"Rate %@", APPIRATER_APP_NAME]
#define APPIRATER_RATE_BUTTON [NSString stringWithFormat:NSLocalizedString(@"Yes, rate %@", @"rateappbutton"), APPIRATER_APP_NAME]

/*
Text for button to remind the user to review later.
*/
#define APPIRATER_RATE_LATER @"Remind me later"
#define APPIRATER_RATE_LATER NSLocalizedString(@"Remind me later", @"remindbutton")

/*
Users will need to have the same version of your app installed for this many
Expand Down

0 comments on commit 4823c70

Please sign in to comment.