]> git.saurik.com Git - apple/security.git/blobdiff - SharedWebCredentialViewService/SWCViewController.m
Security-57740.51.3.tar.gz
[apple/security.git] / SharedWebCredentialViewService / SWCViewController.m
index 35b3a7e56c86cc9c51f7af513cb87264474e462e..336232b0e3f54e67a28a7f6cd6d0f8c5c69d6469 100755 (executable)
@@ -96,7 +96,7 @@ const NSString* SWC_SERVER_KEY   = @"srvr";
         self.textLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
         
         NSString *title = [dict objectForKey:SWC_ACCOUNT_KEY];
         self.textLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
         
         NSString *title = [dict objectForKey:SWC_ACCOUNT_KEY];
-        self.textLabel.text = title ? title : @"--";
+        self.textLabel.text = title ? title : NSLocalizedString(@"--", nil);
         
         self.detailTextLabel.textColor = [UIColor darkGrayColor];
         self.detailTextLabel.textAlignment = NSTextAlignmentLeft;
         
         self.detailTextLabel.textColor = [UIColor darkGrayColor];
         self.detailTextLabel.textAlignment = NSTextAlignmentLeft;
@@ -104,7 +104,7 @@ const NSString* SWC_SERVER_KEY   = @"srvr";
         self.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
         
         NSString *subtitle = [dict objectForKey:SWC_SERVER_KEY];
         self.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
         
         NSString *subtitle = [dict objectForKey:SWC_SERVER_KEY];
-        self.detailTextLabel.text = subtitle ? subtitle : @"--";
+        self.detailTextLabel.text = subtitle ? subtitle : NSLocalizedString(@"--", nil);
         
         self.backgroundView = [[UIView alloc] init];
         self.backgroundView.backgroundColor = self.backgroundColor;
         
         self.backgroundView = [[UIView alloc] init];
         self.backgroundView.backgroundColor = self.backgroundColor;