Browse Source

iOS 7 library: add some shadows and fix 'NEW' indicator l10n

Felix Paul Kühne 11 years ago
parent
commit
fb72fefe8d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      AspenProject/VLCPlaylistTableViewCell.m

+ 7 - 0
AspenProject/VLCPlaylistTableViewCell.m

@@ -29,6 +29,13 @@
     return cell;
 }
 
+- (void)awakeFromNib
+{
+    if (SYSTEM_RUNS_IN_THE_FUTURE) {
+        [(UILabel *)self.mediaIsUnreadView setText:[NSLocalizedString(@"NEW", @"") capitalizedStringWithLocale:[NSLocale currentLocale]]];
+    }
+}
+
 - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
 {
     [self _updatedDisplayedInformationForKeyPath:keyPath];