Felix Paul Kühne 12 سال پیش
والد
کامیت
7c458c99d5

+ 2 - 2
AspenProject/VLCAboutViewController.m

@@ -26,8 +26,8 @@
     [super viewDidLoad];
 
     self.textContents.text = [NSString stringWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"About Contents" ofType:@"txt"] encoding:NSUTF8StringEncoding error:nil];
-    self.aspenVersion.text = [NSString stringWithFormat:@"Version: %@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]];
-    self.vlckitVersion.text = [NSString stringWithFormat:@"Based on:\n%@",[[VLCLibrary sharedLibrary] version]];
+    self.aspenVersion.text = [NSString stringWithFormat:NSLocalizedString(@"Version: %@",@""), [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]];
+    self.vlckitVersion.text = [NSString stringWithFormat:NSLocalizedString(@"Based on:\n%@",@""),[[VLCLibrary sharedLibrary] version]];
 }
 
 - (void)viewWillAppear:(BOOL)animated

+ 5 - 0
AspenProject/VLCMovieViewController.m

@@ -43,6 +43,11 @@
 
     self.videoFilterView.hidden = YES;
     _videoFiltersHidden = YES;
+    _hueLabel.text = NSLocalizedString(@"Hue", @"");
+    _contrastLabel.text = NSLocalizedString(@"Contrast", @"");
+    _brightnessLabel.text = NSLocalizedString(@"Brightness", @"");
+    _saturationLabel.text = NSLocalizedString(@"Saturation", @"");
+    _gammaLabel.text = NSLocalizedString(@"Gamma", @"");
 
     NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
     [center addObserver:self selector:@selector(handleExternalScreenDidConnect:)

+ 6 - 4
AspenProject/VLCPlaylistViewController.m

@@ -34,7 +34,7 @@
     self.tableView.separatorColor = [UIColor colorWithWhite:.2 alpha:1.];
     [super viewDidLoad];
 
-    UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(showAboutView:)];
+    UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"About",@"") style:UIBarButtonItemStyleBordered target:self action:@selector(showAboutView:)];
     self.navigationItem.leftBarButtonItem = addButton;
 
     self.navigationItem.rightBarButtonItem = self.editButtonItem;
@@ -43,8 +43,10 @@
         _gridView.separatorStyle = AQGridViewCellSeparatorStyleEmptySpace;
         _gridView.alwaysBounceVertical = YES;
         _gridView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
-    } else
+    } else {
         self.tabBar.selectedItem = self.localFilesBarItem;
+        self.networkStreamsBarItem.title = NSLocalizedString(@"Network",@"");
+    }
 }
 
 - (void)viewDidAppear:(BOOL)animated
@@ -177,11 +179,11 @@
 {
     if (self.tableView.editing) {
         self.editButtonItem.style = UIBarButtonItemStylePlain;
-        self.editButtonItem.title = NSLocalizedString(@"Edit", @"edit bar button item");
+        self.editButtonItem.title = NSLocalizedString(@"Edit",@"");
         [self.tableView setEditing:NO animated:YES];
     } else {
         self.editButtonItem.style = UIBarButtonItemStyleDone;
-        self.editButtonItem.title = NSLocalizedString(@"Done", @"edit bar button item");
+        self.editButtonItem.title = NSLocalizedString(@"Done",@"");
         [self.tableView setEditing:YES animated:YES];
     }
 }

BIN
Resources/en.lproj/Localizable.strings