Fix localizable strings in FollowPackView
Signed-off-by: Terry Yiu <git@tyiu.xyz>
This commit is contained in:
@@ -140,12 +140,12 @@ struct FollowPackView: View {
|
||||
let displayName = Profile.displayName(profile: profile, pubkey: event.event.pubkey)
|
||||
switch displayName {
|
||||
case .one(let one):
|
||||
Text(NSLocalizedString("Created by \(one)", comment: "Lets the user know who created this follow pack."))
|
||||
Text("Created by \(one)", comment: "Lets the user know who created this follow pack.")
|
||||
.font(.subheadline).foregroundColor(.gray)
|
||||
|
||||
case .both(username: let username, displayName: let displayName):
|
||||
HStack(spacing: 6) {
|
||||
Text(NSLocalizedString("Created by \(displayName)", comment: "Lets the user know who created this follow pack."))
|
||||
Text("Created by \(displayName)", comment: "Lets the user know who created this follow pack.")
|
||||
.font(.subheadline).foregroundColor(.gray)
|
||||
|
||||
Text(verbatim: "@\(username)")
|
||||
|
||||
@@ -790,6 +790,11 @@ Context menu option for copying the version of damus.</note>
|
||||
<target>Create new wallet</target>
|
||||
<note>Button text for creating a new wallet.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Created by %@" xml:space="preserve">
|
||||
<source>Created by %@</source>
|
||||
<target>Created by %@</target>
|
||||
<note>Lets the user know who created this follow pack.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Current balance" xml:space="preserve">
|
||||
<source>Current balance</source>
|
||||
<target>Current balance</target>
|
||||
@@ -5006,6 +5011,11 @@ Context menu option for copying the version of damus.</note>
|
||||
<target state="new">Create new wallet</target>
|
||||
<note>Button text for creating a new wallet.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Created by %@" xml:space="preserve">
|
||||
<source>Created by %@</source>
|
||||
<target state="new">Created by %@</target>
|
||||
<note>Lets the user know who created this follow pack.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Current balance" xml:space="preserve">
|
||||
<source>Current balance</source>
|
||||
<target state="new">Current balance</target>
|
||||
|
||||
@@ -468,6 +468,9 @@
|
||||
"Create new wallet" : {
|
||||
"comment" : "Button text for creating a new wallet."
|
||||
},
|
||||
"Created by %@" : {
|
||||
"comment" : "Lets the user know who created this follow pack."
|
||||
},
|
||||
"Current balance" : {
|
||||
"comment" : "Label for displaying current wallet balance"
|
||||
},
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user