Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Add translations to Dozuki app
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseInfinity committed Sep 11, 2013
1 parent 3e93357 commit 235c0b2
Show file tree
Hide file tree
Showing 13 changed files with 434 additions and 100 deletions.
231 changes: 179 additions & 52 deletions Classes/DozukiSplashView.xib

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Classes/DozukiSplashViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

@property (retain, nonatomic) IBOutlet UIView *introView;
@property (nonatomic, retain) UINavigationController *nextViewController;
@property (retain, nonatomic) IBOutlet UILabel *dozukiSlogan;
@property (retain, nonatomic) IBOutlet UILabel *dozukiDescription;
@property (retain, nonatomic) IBOutlet UILabel *getStarted;

- (IBAction)getStarted:(id)sender;

Expand Down
15 changes: 15 additions & 0 deletions Classes/DozukiSplashViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,24 @@ - (id)init {
self.nextViewController = nvc;
[nvc release];
[divc release];

}
return self;
}

#pragma mark - View lifecycle

- (void)configureLabels {
self.dozukiSlogan.text = NSLocalizedString(@"We make technical documentation come to life.", nil);
self.dozukiDescription.text = NSLocalizedString(@"Dozuki has thousands of manuals in one place. Learn how to do all sorts of things-from repairing your iPad to building a water-powered rocket.", nil);
self.getStarted.text = NSLocalizedString(@"Get Started", nil);
}

- (void)viewDidLoad {
[super viewDidLoad];

[self configureLabels];

if (showingList)
self.introView.hidden = YES;
}
Expand All @@ -61,6 +70,9 @@ - (void)viewDidAppear:(BOOL)animated {
- (void)viewDidUnload
{
[self setIntroView:nil];
[self setDozukiSlogan:nil];
[self setDozukiDescription:nil];
[self setGetStarted:nil];
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
Expand Down Expand Up @@ -120,6 +132,9 @@ - (void)navigationController:(UINavigationController *)navigationController
- (void)dealloc {
[introView release];
[nextViewController release];
[_dozukiSlogan release];
[_dozukiDescription release];
[_getStarted release];
[super dealloc];
}
@end
281 changes: 233 additions & 48 deletions Classes/DozukiSplashView~ipad.xib

Large diffs are not rendered by default.

Binary file removed Graphics/dozukiGetStarted.png
Binary file not shown.
Binary file removed Graphics/dozukiGetStarted@2x.png
Binary file not shown.
Binary file removed Graphics/dozukiGetStarted@2x~ipad.png
Binary file not shown.
Binary file removed Graphics/dozukiGetStarted~ipad.png
Binary file not shown.
Binary file removed Graphics/dozukiIntro.png
Binary file not shown.
Binary file removed Graphics/dozukiIntro@2x.png
Binary file not shown.
Binary file removed Graphics/dozukiIntro~ipad.png
Binary file not shown.
Binary file modified de.lproj/Localizable.strings
Binary file not shown.
4 changes: 4 additions & 0 deletions es.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,7 @@
"START A REPAIR" = "EMPIEZA UNA REPARACIÓN";
"Edit" = "Editar";
"Done" = "Listo";
"Looking for Guides? Browse them here." = "Buscas las guías? Navega las aquí.";
"We make technical documentation come to life." = "Nosotros le damos vida a la documentación técnica.";
"Dozuki has thousands of manuals in one place. Learn how to do all sorts of things-from repairing your iPad to building a water-powered rocket." = "Dozuki tiene miles de manuales en un solo lugar. Aprende como hacer varias cosas desde reparar tu iPad hasta construir un cohete de agua.";
"Get Started" = "Empezar";

0 comments on commit 235c0b2

Please sign in to comment.