1
0
mirror of git://jb55.com/damus synced 2024-09-20 03:57:06 +00:00

Merge remote-tracking branch 'github/translations'

This commit is contained in:
William Casarin 2023-06-20 11:27:29 +02:00
commit fe025532e8
12 changed files with 17 additions and 12 deletions

View File

@ -21,7 +21,7 @@ let carousel_items = [
CarouselItem(image: Image("undercover"),
text: Text("\(Text("Private", comment: "Heading indicating that this application keeps personally identifiable information private. A sentence describing what is done to keep data private comes after this heading.").bold()). Creating an account doesn't require a phone number, email or name. Get started right away with zero friction.", comment: "Explanation of what is done to keep personally identifiable information private. There is a heading that precedes this explanation which is a variable to this string.")),
CarouselItem(image: Image("bitcoin-p2p"),
text: Text("\(Text("Earn Money", comment: "Heading indicating that this application allows users to earn money.").bold()). Tip your friend's notes and stack sats with Bitcoin⚡, the native currency of the internet.", comment: "Explanation of what can be done by users to earn money. There is a heading that precedes this explanation which is a variable to this string."))
text: Text("\(Text("Earn Money", comment: "Heading indicating that this application allows users to earn money.").bold()). Tip your friends and stack sats with Bitcoin⚡, the native currency of the internet.", comment: "Explanation of what can be done by users to earn money. There is a heading that precedes this explanation which is a variable to this string."))
]
struct CarouselView: View {

View File

@ -40,7 +40,7 @@ struct EventView: View {
if let zap = damus.zaps.zaps[event.id] {
ZapEvent(damus: damus, zap: zap, is_top_zap: options.contains(.top_zap))
} else {
Text("Invalid Zap")
Text("Invalid Zap", comment: "Text indicating that a zap event is malformed and could not be displayed.")
EmptyView()
}
} else {

View File

@ -18,11 +18,11 @@ struct ZapEvent: View {
Image("zap.fill")
.foregroundColor(.orange)
Text("\(format_msats(zap.amount))", comment: "Text indicating the zap amount. i.e. number of satoshis that were tipped to a user")
Text(verbatim: format_msats(zap.amount))
.font(.headline)
if is_top_zap {
Text("Top Zap")
Text("Top Zap", comment: "Text indicating that this zap is the one with the highest amount of sats.")
.font(.caption)
.foregroundColor(.gray)
.padding([.top], 2)

Binary file not shown.

View File

@ -73,9 +73,9 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>%@. End-to-End encrypted private messaging. Keep Big Tech out of your DMs</target>
<note>Explanation of what is done to keep private data encrypted. There is a heading that precedes this explanation which is a variable to this string.</note>
</trans-unit>
<trans-unit id="%@. Tip your friend's notes and stack sats with Bitcoin⚡, the native currency of the internet." xml:space="preserve">
<source>%@. Tip your friend's notes and stack sats with Bitcoin⚡, the native currency of the internet.</source>
<target>%@. Tip your friend's notes and stack sats with Bitcoin⚡, the native currency of the internet.</target>
<trans-unit id="%@. Tip your friends and stack sats with Bitcoin⚡, the native currency of the internet." xml:space="preserve">
<source>%@. Tip your friends and stack sats with Bitcoin⚡, the native currency of the internet.</source>
<target>%@. Tip your friends and stack sats with Bitcoin⚡, the native currency of the internet.</target>
<note>Explanation of what can be done by users to earn money. There is a heading that precedes this explanation which is a variable to this string.</note>
</trans-unit>
<trans-unit id="%lld%%" xml:space="preserve">
@ -651,6 +651,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Invalid Tip Address</target>
<note>Title of alerting as invalid tip address.</note>
</trans-unit>
<trans-unit id="Invalid Zap" xml:space="preserve">
<source>Invalid Zap</source>
<target>Invalid Zap</target>
<note>Text indicating that a zap event is malformed and could not be displayed.</note>
</trans-unit>
<trans-unit id="Invalid key" xml:space="preserve">
<source>Invalid key</source>
<target>Invalid key</target>
@ -1395,6 +1400,11 @@ Button text to indicate that the zap type is a private zap.</note>
<target>Thread</target>
<note>Navigation bar title for note thread.</note>
</trans-unit>
<trans-unit id="Top Zap" xml:space="preserve">
<source>Top Zap</source>
<target>Top Zap</target>
<note>Text indicating that this zap is the one with the highest amount of sats.</note>
</trans-unit>
<trans-unit id="Translate DMs" xml:space="preserve">
<source>Translate DMs</source>
<target>Translate DMs</target>
@ -1802,11 +1812,6 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>%@ and %@ zapped your profile</target>
<note>Notification that 2 users zapped the current user's profile</note>
</trans-unit>
<trans-unit id="⚡️ %@" xml:space="preserve">
<source>⚡️ %@</source>
<target>⚡️ %@</target>
<note>Text indicating the zap amount. i.e. number of satoshis that were tipped to a user</note>
</trans-unit>
</body>
</file>
<file original="damus/en-US.lproj/Localizable.stringsdict" source-language="en-US" target-language="en-US" datatype="plaintext">

Binary file not shown.

Binary file not shown.