Skip to content

Commit

Permalink
Translate internal title
Browse files Browse the repository at this point in the history
I've added NSLocalizedString to support internal title's translation
  • Loading branch information
michal-czw committed Nov 26, 2018
1 parent 4636baf commit 4cfa103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ import FLAnimatedImage_tvOS

#if os(iOS)
if self.dataSource.numberOfPhotos > 1 {
self.overlayView.internalTitle = String.localizedStringWithFormat("%d of %d", photoIndex + 1, self.dataSource.numberOfPhotos)
self.overlayView.internalTitle = String.localizedStringWithFormat(NSLocalizedString("%d of %d", comment: ""), photoIndex + 1, self.dataSource.numberOfPhotos)
} else {
self.overlayView.internalTitle = nil
}
Expand Down

0 comments on commit 4cfa103

Please sign in to comment.