fix(#111): display of working key instead of value in tips

Signed-off-by: Pierre-Yves Lapersonne <dev@pylapersonne.info>
This commit is contained in:
Pierre-Yves Lapersonne 2024-06-26 09:49:07 +02:00
parent 910f68f750
commit 658bb5d034
No known key found for this signature in database
GPG Key ID: 176E214BAA750020
3 changed files with 6 additions and 6 deletions

View File

@ -14,11 +14,11 @@ public struct MainNavigationTip: Tip {
} }
public var title: Text { 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? { 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? { public var image: Image? {

View File

@ -14,11 +14,11 @@ public struct MenuCustomizableTip: Tip {
} }
public var title: Text { 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? { 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? { public var image: Image? {

View File

@ -14,11 +14,11 @@ public struct TimelineDoubleTapTip: Tip {
} }
public var title: Text { 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? { 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? { public var image: Image? {