Sfoglia il codice sorgente

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 anni fa
parent
commit
5760194581
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 {