Skip to content

Commit

Permalink
Improved title meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyLB committed Jul 20, 2018
1 parent 5cc97cc commit 69e1967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions piwigo/Albums/Album Thumbnail/AllCategoriesViewController.m
Expand Up @@ -34,7 +34,7 @@ -(instancetype)initForImageId:(NSInteger)imageId andCategoryId:(NSInteger)catego
self = [super init];
if(self)
{
self.title = NSLocalizedString(@"imageOptions_setAlbumImage", @"Set as Album Image");
self.title = NSLocalizedString(@"categoryImageSet_title", @"Album Thumbnail");
self.imageId = imageId;
self.categoryId = categoryId;
self.categoryData = [[CategoriesData sharedInstance] getCategoryById:self.categoryId];
Expand Down Expand Up @@ -282,7 +282,7 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *
}

UIAlertController* alert = [UIAlertController
alertControllerWithTitle:NSLocalizedString(@"categoryImageSet_title", @"Set Image Thumbnail")
alertControllerWithTitle:NSLocalizedString(@"categoryImageSet_title", @"Album Thumbnail")
message:[NSString stringWithFormat:NSLocalizedString(@"categoryImageSet_message", @"Are you sure you want to set this image for the album \"%@\"?"), categoryData.name]
preferredStyle:UIAlertControllerStyleActionSheet];

Expand All @@ -292,7 +292,7 @@ -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *
handler:^(UIAlertAction * action) {}];

UIAlertAction* setImageAction = [UIAlertAction
actionWithTitle:NSLocalizedString(@"categoryImageSet_title", @"Set Image Thumbnail")
actionWithTitle:NSLocalizedString(@"imageOptions_setAlbumImage", @"Set as Album Image")
style:UIAlertActionStyleDefault
handler:^(UIAlertAction * action) {
[self setRepresentativeForCategoryId:categoryData.albumId];
Expand Down

0 comments on commit 69e1967

Please sign in to comment.