Skip to content

Commit

Permalink
Added 2.1.7 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyLB committed Jan 24, 2018
1 parent 59cdb5b commit aa5bff8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions piwigo/Settings/Views/ReleaseNotesViewController.m
Expand Up @@ -70,6 +70,13 @@ -(instancetype)init
// Release notes attributed string
NSMutableAttributedString *notesAttributedString = [[NSMutableAttributedString alloc] initWithString:@""];

// Release 2.1.7 — Bundle string
NSString *v217String = NSLocalizedStringFromTableInBundle(@"v2.1.7_text", @"ReleaseNotes", [NSBundle mainBundle], @"v2.1.7 Release Notes text");
NSRange v217Range = NSMakeRange(0, [v217String rangeOfString:@"\n"].location);
NSMutableAttributedString *v217AttributedString = [[NSMutableAttributedString alloc] initWithString:v217String];
[v217AttributedString addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:14] range:v217Range];
[notesAttributedString appendAttributedString:v217AttributedString];

// Release 2.1.6 — Bundle string
NSString *v216String = NSLocalizedStringFromTableInBundle(@"v2.1.6_text", @"ReleaseNotes", [NSBundle mainBundle], @"v2.1.6 Release Notes text");
NSRange v216Range = NSMakeRange(0, [v216String rangeOfString:@"\n"].location);
Expand Down

0 comments on commit aa5bff8

Please sign in to comment.