scan archive UI improvements, phase 1
[zxing.git] / iphone / Classes / CallAction.m
index 644ef90..4c6e3c5 100644 (file)
@@ -4,7 +4,7 @@
 //
 //  Created by Christian Brunschen on 28/05/2008.
 /*
- * Copyright 2008 Google Inc.
+ * Copyright 2008 ZXing authors
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 }
 
 - (NSString *)title {
-  return [NSString stringWithFormat:@"Call %@", self.number];
+  return [NSString localizedStringWithFormat:NSLocalizedString(@"Call %@", @"action title"), self.number];
 }
 
 - (NSString *)alertTitle {
-  return @"Call";
+  return NSLocalizedString(@"Call", @"alert title");
 }
 
 - (NSString *)alertMessage {
-  return [NSString stringWithFormat:@"Call %@?", self.number];
+  return [NSString localizedStringWithFormat:NSLocalizedString(@"Call %@?", @"alert message"), self.number];
 }
 
 - (NSString *)alertButtonTitle {
-  return @"Call";
+  return NSLocalizedString(@"Call", @"alert button title");
 }