]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/RVBook.mm
Continuing the optimization work.
[cydia.git] / UICaboodle / RVBook.mm
index 4b5a3999303e56812adf5181460851e8afef8a3c..29e9513bf2ce9ab2e804476374a47d633f61163a 100644 (file)
 - (void) _leftButtonTitle:(NSString *&)leftButtonTitle style:(UINavigationButtonStyle &)leftButtonStyle forPage:(RVPage *)page {
     [super _leftButtonTitle:leftButtonTitle style:leftButtonStyle forPage:page];
     if ((cancel_ = leftButtonTitle == nil && [pages_ count] == 1)) {
 - (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;
     }
 }
         leftButtonStyle = UINavigationButtonStyleNormal;
     }
 }