Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved main view controller strings to strings file

  • Loading branch information...
commit 4799e3cc9c6499b8b1c506d11b40f9403b5662c0 1 parent 89531a1
@mathsaey mathsaey authored
View
6 Petri Net Editor/interface/PNEViewController.m
@@ -23,7 +23,11 @@ - (id)initWithCoder:(NSCoder *)aDecoder
if (self) {
[super viewDidLoad];
petriNetView.log = log;
- addOptionsSheet = [[UIActionSheet alloc] initWithTitle:@"Add:" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Context", @"Transition", @"Arc" , nil];
+ addOptionsSheet = [[UIActionSheet alloc] initWithTitle:NSLocalizedString(@"ADD_TITLE", nil) delegate:self
+ cancelButtonTitle:NSLocalizedString(@"CANCEL_BUTTON", nil) destructiveButtonTitle:nil
+ otherButtonTitles:NSLocalizedString(@"CONTEXT_TITLE", nil),
+ NSLocalizedString(@"TRANS_TITLE", nil),
+ NSLocalizedString(@"ARC_TITLE", nil) , nil];
}
return self;
}
View
BIN  Petri Net Editor/resources/Localizable.strings
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.