Merge pull request #113 from pylapp/pr/111_wording_key_in_tips

[#111] Display of wording value instead of wording key in tips
This commit is contained in:
Marcin Czachurski 2024-07-16 06:49:56 +02:00 committed by GitHub
commit 05f6304cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -14,11 +14,11 @@ public struct MainNavigationTip: Tip {
}
public var title: Text {
Text("tip.mainNavigation.title", bundle: Bundle.module, comment: "Main navigation tip title.")
Text(NSLocalizedString("tip.mainNavigation.title", bundle: Bundle.module, comment: "Main navigation tip title."))
}
public var message: Text? {
Text("tip.mainNavigation.message", bundle: Bundle.module, comment: "Main navigation tip message.")
Text(NSLocalizedString("tip.mainNavigation.message", bundle: Bundle.module, comment: "Main navigation tip message."))
}
public var image: Image? {

View File

@ -14,11 +14,11 @@ public struct MenuCustomizableTip: Tip {
}
public var title: Text {
Text("tip.menuCustomizable.title", bundle: Bundle.module, comment: "Menu customizable tip title.")
Text(NSLocalizedString("tip.menuCustomizable.title", bundle: Bundle.module, comment: "Menu customizable tip title."))
}
public var message: Text? {
Text("tip.menuCustomizable.message", bundle: Bundle.module, comment: "Menu customizable tip message.")
Text(NSLocalizedString("tip.menuCustomizable.message", bundle: Bundle.module, comment: "Menu customizable tip message."))
}
public var image: Image? {

View File

@ -14,11 +14,11 @@ public struct TimelineDoubleTapTip: Tip {
}
public var title: Text {
Text("tip.timelineDoubleTap.title", bundle: Bundle.module, comment: "Timeline double tip title.")
Text(NSLocalizedString("tip.timelineDoubleTap.title", bundle: Bundle.module, comment: "Timeline double tip title."))
}
public var message: Text? {
Text("tip.timelineDoubleTap.message", bundle: Bundle.module, comment: "Timeline double tip message.")
Text(NSLocalizedString("tip.timelineDoubleTap.message", bundle: Bundle.module, comment: "Timeline double tip message."))
}
public var image: Image? {