mirror of
https://github.com/SvenTiigi/WhatsNewKit.git
synced 2026-04-03 08:08:56 -06:00
String localization #30
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#30
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 @Meyssam120 on 12/15/2023
Is your feature request related to a problem?
No
What solution would you like?
It would be great if Strings I enter as title, subtitle etc. would be localized automatically.
What alternatives have you considered?
This does not work:
title: WhatsNew.Title(stringLiteral: .init(localized: "Lorem Ipsum"))And instead I have to use:
title: "Lorem Ipsum?"Any additional context?
Fyi:
String(localized: )does not change the string except you plan to translate it on purpose. So it will not lead to unintended behavior.