Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
5760194581
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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 {