Преглед на файлове

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:)];
     self.navigationItem.leftBarButtonItem = _menuButton;
 
+    self.editButtonItem.title = NSLocalizedString(@"BUTTON_EDIT", nil);
+
     if (SYSTEM_RUNS_IOS7_OR_LATER)
         self.editButtonItem.tintColor = [UIColor whiteColor];
     else {