calimarkus / JDStatusBarNotification

Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC!
http://calimarkus.github.io/JDStatusBarNotification/documentation/jdstatusbarnotification
MIT License
4.22k stars 562 forks source link

Use LocalizedStringKeys #145

Open CleverLemming1337 opened 3 months ago

CleverLemming1337 commented 3 months ago

Using them for title and subtitle would support localization for notification content with a string catalog.

calimarkus commented 3 months ago

Can you be more explicit here? Can't you pass already localized strings to the framework?

CleverLemming1337 commented 3 months ago

I mean that changing the type of title and subtitle from String to LocalizedStringKey would list all used strings in a string catalog to adapt them to the different languages. As far as I know it's not possible to do that with Strings.