X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=iphone%2FClasses%2FDecoderViewController.m;h=9eeacc51a044e3e348f449156ab317ab6fb81851;hb=cba194a329c0b5af1de3e24b89fa910f0edf0df1;hp=8345a43668f45461ae76e5e5a657b8ff6d703145;hpb=e2057f505b3f77f3ec28b1a2d39012c4ee272788;p=zxing.git diff --git a/iphone/Classes/DecoderViewController.m b/iphone/Classes/DecoderViewController.m index 8345a436..9eeacc51 100644 --- a/iphone/Classes/DecoderViewController.m +++ b/iphone/Classes/DecoderViewController.m @@ -83,7 +83,7 @@ [self.resultView addSubview:self.messageView]; [self updateToolbar]; - [self showMessage:@"Please take or choose a picture containing a barcode"]; + [self showMessage:NSLocalizedString(@"Please take or choose a picture containing a barcode", @"")]; } - (void) updateToolbar { @@ -167,7 +167,7 @@ - (void)decoder:(Decoder *)decoder willDecodeImage:(UIImage *)image { [self.imageView setImage:image]; - [self showMessage:[NSString stringWithFormat:@"Decoding image (%.0fx%.0f) ...", image.size.width, image.size.height]]; + [self showMessage:[NSString stringWithFormat:NSLocalizedString(@"Decoding image (%.0fx%.0f) ...", @"shown while image is decoding"), image.size.width, image.size.height]]; } - (void)decoder:(Decoder *)decoder @@ -274,7 +274,7 @@ [actionSheet addButtonWithTitle:[action title]]; } - int cancelIndex = [actionSheet addButtonWithTitle:@"Cancel"]; + int cancelIndex = [actionSheet addButtonWithTitle:NSLocalizedString(@"Cancel", @"")]; actionSheet.cancelButtonIndex = cancelIndex; actionSheet.delegate = self;