Переглянути джерело

initialize edit button title with NSLocalizedString for homogenize the title

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit 1cad30ae3c4fe39767e1deb307d19d4f36636a34)
Pierre SAGASPE 10 роки тому
батько
коміт
5760194581
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      Sources/VLCPlaylistViewController.m

+ 2 - 0
Sources/VLCPlaylistViewController.m

@@ -156,6 +156,8 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
     _menuButton = [UIBarButtonItem themedRevealMenuButtonWithTarget:self andSelector:@selector(leftButtonAction:)];
     _menuButton = [UIBarButtonItem themedRevealMenuButtonWithTarget:self andSelector:@selector(leftButtonAction:)];
     self.navigationItem.leftBarButtonItem = _menuButton;
     self.navigationItem.leftBarButtonItem = _menuButton;
 
 
+    self.editButtonItem.title = NSLocalizedString(@"BUTTON_EDIT", nil);
+
     if (SYSTEM_RUNS_IOS7_OR_LATER)
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         self.editButtonItem.tintColor = [UIColor whiteColor];
         self.editButtonItem.tintColor = [UIColor whiteColor];
     else {
     else {