mirror of
https://github.com/SvenTiigi/WhatsNewKit.git
synced 2026-04-03 08:08:56 -06:00
Localized Title gets not displayed in sheet when (empty String) is selected in Localizable.xcstrings file #23
Labels
No labels
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
question
question
question
question
question
question
question
question
question
question
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/WhatsNewKit#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flexlixrup on 3/10/2024
What happened?
The title of a new version does not get displayed when (empty String) - no translation is entered in the Localizable.xcstrings
file.
WhatsNew(version: "1.1.0", title: WhatsNew.Title(stringLiteral: String(localized: "Version 1.1.0")), features: [v1101, v1011])While the description (empty String) in the Localizable.xcstrings would suggest that this is expected behaviour, other SwiftUI components handle it with displaying the text in the base language.
What are the steps to reproduce?
Create a WhatsNew Object with a localised title. Leave the localisation empty. See the missing title.
What is the expected behavior?
Displaying the title in the base language.