Browse Source

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 years ago
parent
commit
5760194581
1 changed files with 2 additions and 0 deletions
  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:)];
     self.navigationItem.leftBarButtonItem = _menuButton;
 
+    self.editButtonItem.title = NSLocalizedString(@"BUTTON_EDIT", nil);
+
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         self.editButtonItem.tintColor = [UIColor whiteColor];
     else {