summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-04-15 21:01:14 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:12 +0000
commitcaa427d133e3739a2da5b05090bf9d9bb40b0ee0 (patch)
tree3366800f76934ad30001147b05c4300860c550f8 /UICaboodle/RVBook.mm
parentf79a451249afae7da9887ff92f0d9d1d70c92dd4 (diff)
This is getting nuts, I need an internal branch.
Diffstat (limited to 'UICaboodle/RVBook.mm')
-rw-r--r--UICaboodle/RVBook.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/UICaboodle/RVBook.mm b/UICaboodle/RVBook.mm
index 4b5a399..29e9513 100644
--- a/UICaboodle/RVBook.mm
+++ b/UICaboodle/RVBook.mm
@@ -298,7 +298,7 @@
- (void) _leftButtonTitle:(NSString *&)leftButtonTitle style:(UINavigationButtonStyle &)leftButtonStyle forPage:(RVPage *)page {
[super _leftButtonTitle:leftButtonTitle style:leftButtonStyle forPage:page];
if ((cancel_ = leftButtonTitle == nil && [pages_ count] == 1)) {
- leftButtonTitle = @"Cancel";
+ leftButtonTitle = [[NSBundle mainBundle] localizedStringForKey:@"CANCEL" value:nil table:nil];
leftButtonStyle = UINavigationButtonStyleNormal;
}
}