Commit 05a052cb authored by Felix Paul Kühne's avatar Felix Paul Kühne

First Steps: implement missing l10n

parent aef0df14
......@@ -7,6 +7,8 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="VLCFirstStepsFourthPageViewController">
<connections>
<outlet property="accessDescriptionLabel" destination="cEb-8k-t4u" id="JBU-nj-whN"/>
<outlet property="uploadDescriptionLabel" destination="kne-kQ-uVu" id="OXe-Ss-YDA"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
......
......@@ -7,6 +7,7 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="VLCFirstStepsSecondPageViewController">
<connections>
<outlet property="descriptionLabel" destination="Ihj-9n-NF0" id="fo4-L3-xL4"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
......
......@@ -7,6 +7,8 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="VLCFirstStepsSixthPageViewController">
<connections>
<outlet property="flossDescriptionLabel" destination="RNO-mo-7OT" id="mnB-vD-Ybw"/>
<outlet property="learnMoreButton" destination="IqZ-6V-1cm" id="HOi-2l-hUC"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
......
......@@ -7,6 +7,8 @@
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="VLCFirstStepsThirdPageViewController">
<connections>
<outlet property="connectDescriptionLabel" destination="93K-R3-pGV" id="Zzt-EM-pNh"/>
<outlet property="uploadDescriptionLabel" destination="0Qh-Pn-NAG" id="ERN-lP-zCi"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
......
B"CHOOSE_AUDIO_TRACK"="Choose Audio Track";
......
......@@ -27,7 +27,7 @@
- (NSString *)pageTitle
{
return @"Playback";
return NSLocalizedString(@"FIRST_STEPS_PLAYBACK", @"");
}
- (NSUInteger)page
......
......@@ -17,7 +17,6 @@
@property (readonly) NSString *pageTitle;
@property (readonly) NSUInteger page;
@property (nonatomic, strong) IBOutlet UIButton *letsGoButton;
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
@property (nonatomic, strong) IBOutlet UILabel *subtitleLabel;
......
......@@ -21,12 +21,14 @@
- (void)viewDidLoad
{
[super viewDidLoad];
/* FIXME: l10n */
self.titleLabel.text = NSLocalizedString(@"FIRST_STEPS_WELCOME", @"");
self.subtitleLabel.text = NSLocalizedString(@"FIRST_STEPS_WELCOME_DETAIL", @"");
}
- (NSString *)pageTitle
{
return @"Welcome";
return NSLocalizedString(@"FIRST_STEPS_WELCOME", @"");;
}
- (NSUInteger)page
......
......@@ -17,4 +17,7 @@
@property (readonly) NSString *pageTitle;
@property (readonly) NSUInteger page;
@property (nonatomic, strong) IBOutlet UILabel *uploadDescriptionLabel;
@property (nonatomic, strong) IBOutlet UILabel *accessDescriptionLabel;
@end
......@@ -22,12 +22,13 @@
{
[super viewDidLoad];
/* FIXME: l10n */
self.uploadDescriptionLabel.text = NSLocalizedString(@"FIRST_STEPS_CLOUD_UPLOAD_DETAILS", @"");
self.accessDescriptionLabel.text = NSLocalizedString(@"FIRST_STEPS_CLOUD_ACCESS_DETAILS", @"");
}
- (NSString *)pageTitle
{
return @"Clouds";
return NSLocalizedString(@"FIRST_STEPS_CLOUDS", @"");
}
- (NSUInteger)page
......
......@@ -17,4 +17,6 @@
@property (readonly) NSString *pageTitle;
@property (readonly) NSUInteger page;
@property (nonatomic, strong) IBOutlet UILabel *descriptionLabel;
@end
......@@ -22,12 +22,13 @@
{
[super viewDidLoad];
/* FIXME: l10n */
NSString *model = [[UIDevice currentDevice] model];
self.descriptionLabel.text = [NSString stringWithFormat:NSLocalizedString(@"FIRST_STEPS_ITUNES_DETAILS", @""), model, model];
}
- (NSString *)pageTitle
{
return @"iTunes File Sync";
return NSLocalizedString(@"FIRST_STEPS_ITUNES", @"");
}
- (NSUInteger)page
......
......@@ -17,6 +17,9 @@
@property (readonly) NSString *pageTitle;
@property (readonly) NSUInteger page;
@property (nonatomic, strong) IBOutlet UILabel *flossDescriptionLabel;
@property (nonatomic, strong) IBOutlet UIButton *learnMoreButton;
- (IBAction)learnMore:(id)sender;
@end
......@@ -22,7 +22,8 @@
{
[super viewDidLoad];
/* FIXME: l10n */
self.flossDescriptionLabel.text = NSLocalizedString(@"FIRST_STEPS_FLOSS", @"");
[self.learnMoreButton setTitle:NSLocalizedString(@"BUTTON_LEARN_MORE", @"") forState:UIControlStateNormal];
}
- (NSString *)pageTitle
......
......@@ -17,4 +17,7 @@
@property (readonly) NSString *pageTitle;
@property (readonly) NSUInteger page;
@property (nonatomic, strong) IBOutlet UILabel *connectDescriptionLabel;
@property (nonatomic, strong) IBOutlet UILabel *uploadDescriptionLabel;
@end
......@@ -22,12 +22,13 @@
{
[super viewDidLoad];
/* FIXME: l10n */
self.connectDescriptionLabel.text = [NSString stringWithFormat:NSLocalizedString(@"FIRST_STEPS_WIFI_CONNECT_DETAILS",@""), [[UIDevice currentDevice] model]];
self.uploadDescriptionLabel.text = NSLocalizedString(@"FIRST_STEPS_WIFI_UPLOAD_DETAILS", @"");
}
- (NSString *)pageTitle
{
return @"WiFi Upload";
return NSLocalizedString(@"HTTP_UPLOAD", @"");
}
- (NSUInteger)page
......
......@@ -42,7 +42,7 @@
UIBarButtonItem *dismissButton = [UIBarButtonItem themedDoneButtonWithTarget:self andSelector:@selector(dismissFirstSteps)];
self.navigationItem.rightBarButtonItem = dismissButton;
self.title = @"Welcome";
self.title = NSLocalizedString(@"FIRST_STEPS_WELCOME", @"");
[self addChildViewController:pageVC];
[self.view addSubview:[pageVC view]];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment