Skip to content

Commit

Permalink
Fix not translated region name in notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingajda committed Apr 18, 2020
1 parent bc1ee77 commit 50dc461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Covid-19 Status/src/Statistics/Notificator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Notificator {

let notification = NSUserNotification()
notification.identifier = formatter.getUniqueId()
notification.title = "COVID-19 Update (\(stats.country))"
notification.title = "COVID-19 Update (\(NSLocalizedString(stats.country, comment: "")))"
notification.subtitle = formatter.getRegionStatus().string
notification.informativeText = formatter.getRegionDelta()
notification.soundName = NSUserNotificationDefaultSoundName
Expand Down

0 comments on commit 50dc461

Please sign in to comment.