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)
|
let displayName = Profile.displayName(profile: profile, pubkey: event.event.pubkey)
|
||||||
switch displayName {
|
switch displayName {
|
||||||
case .one(let one):
|
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)
|
.font(.subheadline).foregroundColor(.gray)
|
||||||
|
|
||||||
case .both(username: let username, displayName: let displayName):
|
case .both(username: let username, displayName: let displayName):
|
||||||
HStack(spacing: 6) {
|
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)
|
.font(.subheadline).foregroundColor(.gray)
|
||||||
|
|
||||||
Text(verbatim: "@\(username)")
|
Text(verbatim: "@\(username)")
|
||||||
|
|||||||
@@ -790,6 +790,11 @@ Context menu option for copying the version of damus.</note>
|
|||||||
<target>Create new wallet</target>
|
<target>Create new wallet</target>
|
||||||
<note>Button text for creating a new wallet.</note>
|
<note>Button text for creating a new wallet.</note>
|
||||||
</trans-unit>
|
</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">
|
<trans-unit id="Current balance" xml:space="preserve">
|
||||||
<source>Current balance</source>
|
<source>Current balance</source>
|
||||||
<target>Current balance</target>
|
<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>
|
<target state="new">Create new wallet</target>
|
||||||
<note>Button text for creating a new wallet.</note>
|
<note>Button text for creating a new wallet.</note>
|
||||||
</trans-unit>
|
</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">
|
<trans-unit id="Current balance" xml:space="preserve">
|
||||||
<source>Current balance</source>
|
<source>Current balance</source>
|
||||||
<target state="new">Current balance</target>
|
<target state="new">Current balance</target>
|
||||||
|
|||||||
@@ -468,6 +468,9 @@
|
|||||||
"Create new wallet" : {
|
"Create new wallet" : {
|
||||||
"comment" : "Button text for creating a new wallet."
|
"comment" : "Button text for creating a new wallet."
|
||||||
},
|
},
|
||||||
|
"Created by %@" : {
|
||||||
|
"comment" : "Lets the user know who created this follow pack."
|
||||||
|
},
|
||||||
"Current balance" : {
|
"Current balance" : {
|
||||||
"comment" : "Label for displaying current wallet balance"
|
"comment" : "Label for displaying current wallet balance"
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user