VLCFirstStepsFifthPageViewController.m 1.65 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/*****************************************************************************
 * VLCFirstStepsFifthPageViewController.m
 * VLC for iOS
 *****************************************************************************
 * Copyright (c) 2013 VideoLAN. All rights reserved.
 * $Id$
 *
 * Authors: Felix Paul Kühne <fkuehne # videolan.org>
 *
 * Refer to the COPYING file of the official project for license.
 *****************************************************************************/

#import "VLCFirstStepsFifthPageViewController.h"

@interface VLCFirstStepsFifthPageViewController ()

@end

@implementation VLCFirstStepsFifthPageViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
24 25 26 27 28 29
    self.timeLabel.text = NSLocalizedString(@"FIRST_STEPS_TIME", nil);
    self.aspectLabel.text = NSLocalizedString(@"FIRST_STEPS_ASPECT", nil);
    self.speedLabel.text = NSLocalizedString(@"FIRST_STEPS_SPEED", nil);
    self.repeatLabel.text = NSLocalizedString(@"FIRST_STEPS_REPEAT", nil);
    self.subtitlesLabel.text = NSLocalizedString(@"FIRST_STEPS_SUBTITLES", nil);
    self.audioLabel.text = NSLocalizedString(@"FIRST_STEPS_AUDIO", nil);
Felix Paul Kühne's avatar
Felix Paul Kühne committed
30
    self.volumeLabel.text = NSLocalizedString(@"VOLUME", nil);
31 32
    self.positionLabel.text = NSLocalizedString(@"FIRST_STEPS_POSITION", nil);
    self.effectsLabel.text = NSLocalizedString(@"VIDEO_FILTER", nil);
33
}
34

35 36
- (void)viewWillAppear:(BOOL)animated
{
Marc's avatar
Marc committed
37
    [super viewWillAppear:animated];
38 39
    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
        self.actualContentView.center = self.view.center;
40 41 42 43
}

- (NSString *)pageTitle
{
44
    return NSLocalizedString(@"FIRST_STEPS_PLAYBACK", nil);
45 46 47 48 49 50 51 52
}

- (NSUInteger)page
{
    return 5;
}

@end