Skip to content

Commit

Permalink
add localization for example document
Browse files Browse the repository at this point in the history
  • Loading branch information
steipete authored and ideashower committed Aug 25, 2010
1 parent 07bab21 commit 0f878ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Classes/Example/RootViewController.m
Expand Up @@ -45,19 +45,19 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
switch (indexPath.row)
{
case 0:
cell.textLabel.text = @"Sharing a Link";
cell.textLabel.text = SHKLocalizedString(@"Sharing a Link");
break;

case 1:
cell.textLabel.text = @"Sharing an Image";
cell.textLabel.text = SHKLocalizedString(@"Sharing an Image");
break;

case 2:
cell.textLabel.text = @"Sharing Text";
cell.textLabel.text = SHKLocalizedString(@"Sharing Text");
break;

case 3:
cell.textLabel.text = @"Sharing a File";
cell.textLabel.text = SHKLocalizedString(@"Sharing a File");
break;

//case 4:
Expand Down
2 changes: 1 addition & 1 deletion Classes/Example/ShareKitAppDelegate.m
Expand Up @@ -27,7 +27,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[window addSubview:[navigationController view]];
[window makeKeyAndVisible];

navigationController.topViewController.title = @"Examples";
navigationController.topViewController.title = SHKLocalizedString(@"Examples");
[navigationController setToolbarHidden:NO];

[self performSelector:@selector(testOffline) withObject:nil afterDelay:0.5];
Expand Down

0 comments on commit 0f878ea

Please sign in to comment.