1
0
mirror of git://jb55.com/damus synced 2024-09-19 11:43:44 +00:00

Translations

Translate Localizable.strings in ja
Translate Localizable.strings in de
Translate Localizable.strings in vi
Translate Localizable.strings in zh_TW
Translate Localizable.strings in zh_HK
Translate Localizable.strings in zh_CN
Translate Localizable.strings in ru
Localizable.strings in cs

Closes: #1253
This commit is contained in:
William Casarin 2023-06-07 06:16:05 +02:00
parent 8ca377bec9
commit 1d3c181b85
18 changed files with 188 additions and 103 deletions

View File

@ -24,9 +24,11 @@ struct GradientButtonStyle: ButtonStyle {
struct GradientButtonStyle_Previews: PreviewProvider { struct GradientButtonStyle_Previews: PreviewProvider {
static var previews: some View { static var previews: some View {
VStack { VStack {
Button("Dynamic Size", action: { Button(action: {
print("dynamic size") print("dynamic size")
}) }) {
Text(verbatim: "Dynamic Size")
}
.buttonStyle(GradientButtonStyle()) .buttonStyle(GradientButtonStyle())
@ -34,7 +36,7 @@ struct GradientButtonStyle_Previews: PreviewProvider {
print("infinite width") print("infinite width")
}) { }) {
HStack { HStack {
Text("Infinite Width") Text(verbatim: "Infinite Width")
} }
.frame(minWidth: 300, maxWidth: .infinity, alignment: .center) .frame(minWidth: 300, maxWidth: .infinity, alignment: .center)
} }

View File

@ -60,7 +60,7 @@ func hashtag_str(_ htag: String) -> CompatibleText {
} }
text = Text(attributedString) text = Text(attributedString)
let img = Image("\(name)-hashtag") let img = Image("\(name)-hashtag")
text = text + Text("\(img)").baselineOffset(custom_hashtag.offset ?? 0.0) text = text + Text(img).baselineOffset(custom_hashtag.offset ?? 0.0)
} else { } else {
attributedString.foregroundColor = DamusColors.purple attributedString.foregroundColor = DamusColors.purple
} }

View File

@ -66,7 +66,7 @@ struct CreateAccountView: View {
self.is_done = true self.is_done = true
}) { }) {
HStack { HStack {
Text("Create account now", comment: "Button to create account.") Text("Create account now", comment: "Button to create account.")
.fontWeight(.semibold) .fontWeight(.semibold)
} }
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center) .frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center)
@ -167,7 +167,7 @@ func FormLabel(_ title: String, optional: Bool = false) -> some View {
Text(title) Text(title)
.bold() .bold()
if optional { if optional {
Text("- optional", comment: "Label indicating that a form input is optional.") Text("optional", comment: "Label indicating that a form input is optional.")
.font(.callout) .font(.callout)
.foregroundColor(DamusColors.mediumGrey) .foregroundColor(DamusColors.mediumGrey)
} }

View File

@ -117,7 +117,7 @@ struct EULAView: View {
.ignoresSafeArea(), .ignoresSafeArea(),
alignment: .top alignment: .top
) )
.navigationTitle("EULA") .navigationTitle(NSLocalizedString("EULA", comment: "Navigation title of view that shows the EULA, an acronym for End User License Agreement."))
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
.navigationBarBackButtonHidden(true) .navigationBarBackButtonHidden(true)
.navigationBarItems(leading: BackNav()) .navigationBarItems(leading: BackNav())

View File

@ -103,13 +103,15 @@ struct EditMetadataView: View {
TopSection TopSection
Form { Form {
Section(NSLocalizedString("Your Name", comment: "Label for Your Name section of user profile form.")) { Section(NSLocalizedString("Your Name", comment: "Label for Your Name section of user profile form.")) {
TextField("Satoshi Nakamoto", text: $display_name) let display_name_placeholder = "Satoshi Nakamoto"
TextField(display_name_placeholder, text: $display_name)
.autocorrectionDisabled(true) .autocorrectionDisabled(true)
.textInputAutocapitalization(.never) .textInputAutocapitalization(.never)
} }
Section(NSLocalizedString("Username", comment: "Label for Username section of user profile form.")) { Section(NSLocalizedString("Username", comment: "Label for Username section of user profile form.")) {
TextField("satoshi", text: $name) let username_placeholder = "satoshi"
TextField(username_placeholder, text: $name)
.autocorrectionDisabled(true) .autocorrectionDisabled(true)
.textInputAutocapitalization(.never) .textInputAutocapitalization(.never)

View File

@ -34,17 +34,12 @@ struct SetupView: View {
.shadow(color: DamusColors.purple, radius: 2) .shadow(color: DamusColors.purple, radius: 2)
.frame(width: 56, height: 56, alignment: .center) .frame(width: 56, height: 56, alignment: .center)
.padding(.top, 20.0) .padding(.top, 20.0)
HStack { Text("Welcome to Damus", comment: "Welcome text shown on the first screen when user is not logged in.")
Text("Welcome to", comment: "Welcome text shown on the first screen when user is not logged in.") .font(.title)
.font(.title) .fontWeight(.heavy)
.fontWeight(.heavy) .foregroundStyle(DamusLogoGradient.gradient)
Text("Damus")
.font(.title)
.fontWeight(.heavy)
.foregroundStyle(DamusLogoGradient.gradient)
}
Text("The go-to iOS nostr client", comment: "Quick description of what Damus is") Text("The go-to iOS nostr client", comment: "Quick description of what Damus is")
.foregroundColor(DamusColors.mediumGrey) .foregroundColor(DamusColors.mediumGrey)
.padding(.top, 10) .padding(.top, 10)
@ -61,7 +56,7 @@ struct SetupView: View {
eula.toggle() eula.toggle()
}) { }) {
HStack { HStack {
Text("Let's get started!", comment: "Button to continue to login page.") Text("Let's get started!", comment: "Button to continue to login page.")
.fontWeight(.semibold) .fontWeight(.semibold)
} }
.frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center) .frame(minWidth: 300, maxWidth: .infinity, maxHeight: 12, alignment: .center)
@ -90,7 +85,7 @@ struct LearnAboutNostrLink: View {
Button(action: { Button(action: {
openURL(URL(string: "https://nostr.com")!) openURL(URL(string: "https://nostr.com")!)
}, label: { }, label: {
Text("Learn more about nostr") Text("Learn more about nostr", comment: "Button that opens up a webpage where the user can learn more about nostr.")
.foregroundColor(.accentColor) .foregroundColor(.accentColor)
}) })
@ -106,11 +101,11 @@ struct WhatIsNostr: View {
HStack(alignment: .top) { HStack(alignment: .top) {
Image("nostr-logo") Image("nostr-logo")
VStack(alignment: .leading) { VStack(alignment: .leading) {
Text("What is nostr?") Text("What is nostr?", comment: "Heading text for section describing what is nostr.")
.fontWeight(.bold) .fontWeight(.bold)
.padding(.vertical, 10) .padding(.vertical, 10)
Text("Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network") Text("Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network", comment: "Description about what is Nostr.")
.foregroundColor(DamusColors.mediumGrey) .foregroundColor(DamusColors.mediumGrey)
LearnAboutNostrLink() LearnAboutNostrLink()
@ -125,11 +120,11 @@ struct WhyWeNeedNostr: View {
HStack(alignment: .top) { HStack(alignment: .top) {
Image("lightbulb") Image("lightbulb")
VStack(alignment: .leading) { VStack(alignment: .leading) {
Text("Why we need nostr?") Text("Why we need nostr?", comment: "Heading text for section describing why nostr is needed.")
.fontWeight(.bold) .fontWeight(.bold)
.padding(.vertical, 10) .padding(.vertical, 10)
Text("Social media has developed into a key way information flows around the world. Unfortunately, our current social media systems are broken") Text("Social media has developed into a key way information flows around the world. Unfortunately, our current social media systems are broken", comment: "Description about why nostr is needed.")
.foregroundColor(DamusColors.mediumGrey) .foregroundColor(DamusColors.mediumGrey)
} }
} }

View File

@ -67,7 +67,7 @@ struct NWCPaste: View {
}) { }) {
HStack { HStack {
Image(systemName: "doc.on.clipboard") Image(systemName: "doc.on.clipboard")
Text("Paste") Text("Paste", comment: "Button to paste a Nostr Wallet Connect string to connect the wallet for use in Damus for zaps.")
} }
.frame(minWidth: 300, maxWidth: .infinity, minHeight: 50, maxHeight: 50, alignment: .center) .frame(minWidth: 300, maxWidth: .infinity, minHeight: 50, maxHeight: 50, alignment: .center)
.foregroundColor(colorScheme == .light ? DamusColors.black : DamusColors.white) .foregroundColor(colorScheme == .light ? DamusColors.black : DamusColors.white)

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd"> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd">
<file original="damus/en-US.lproj/InfoPlist.strings" source-language="en-US" target-language="en-US" datatype="plaintext"> <file original="damus/en-US.lproj/InfoPlist.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header> <header>
<tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3" build-num="14E222b"/> <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3.1" build-num="14E300c"/>
</header> </header>
<body> <body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve"> <trans-unit id="CFBundleDisplayName" xml:space="preserve">
@ -39,7 +39,7 @@
</file> </file>
<file original="damus/en-US.lproj/Localizable.strings" source-language="en-US" target-language="en-US" datatype="plaintext"> <file original="damus/en-US.lproj/Localizable.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header> <header>
<tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3" build-num="14E222b"/> <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3.1" build-num="14E300c"/>
</header> </header>
<body> <body>
<trans-unit id="%@ %@" xml:space="preserve"> <trans-unit id="%@ %@" xml:space="preserve">
@ -133,11 +133,6 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Accessibility</target> <target>Accessibility</target>
<note>Section header for accessibility settings</note> <note>Section header for accessibility settings</note>
</trans-unit> </trans-unit>
<trans-unit id="Account ID" xml:space="preserve">
<source>Account ID</source>
<target>Account ID</target>
<note>Label to indicate the public ID of the account.</note>
</trans-unit>
<trans-unit id="Actions" xml:space="preserve"> <trans-unit id="Actions" xml:space="preserve">
<source>Actions</source> <source>Actions</source>
<target>Actions</target> <target>Actions</target>
@ -151,14 +146,18 @@ Sentence composed of 2 variables to describe how many people are following a use
<trans-unit id="Add Bookmark" xml:space="preserve"> <trans-unit id="Add Bookmark" xml:space="preserve">
<source>Add Bookmark</source> <source>Add Bookmark</source>
<target>Add Bookmark</target> <target>Add Bookmark</target>
<note>Button text to add bookmark to a note. <note>Button text to add bookmark to a note.</note>
Context menu option for adding a note bookmark.</note>
</trans-unit> </trans-unit>
<trans-unit id="Add all" xml:space="preserve"> <trans-unit id="Add all" xml:space="preserve">
<source>Add all</source> <source>Add all</source>
<target>Add all</target> <target>Add all</target>
<note>Button label to re-add all original participants as profiles to reply to in a note</note> <note>Button label to re-add all original participants as profiles to reply to in a note</note>
</trans-unit> </trans-unit>
<trans-unit id="Add bookmark" xml:space="preserve">
<source>Add bookmark</source>
<target>Add bookmark</target>
<note>Context menu option for adding a note bookmark.</note>
</trans-unit>
<trans-unit id="Admin" xml:space="preserve"> <trans-unit id="Admin" xml:space="preserve">
<source>Admin</source> <source>Admin</source>
<target>Admin</target> <target>Admin</target>
@ -169,6 +168,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>All</target> <target>All</target>
<note>Label for filter for all notifications.</note> <note>Label for filter for all notifications.</note>
</trans-unit> </trans-unit>
<trans-unit id="Already on nostr?" xml:space="preserve">
<source>Already on nostr?</source>
<target>Already on nostr?</target>
<note>Ask the user if they already have an account on nostr</note>
</trans-unit>
<trans-unit id="Always show images" xml:space="preserve"> <trans-unit id="Always show images" xml:space="preserve">
<source>Always show images</source> <source>Always show images</source>
<target>Always show images</target> <target>Always show images</target>
@ -373,41 +377,41 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Copy Link</target> <target>Copy Link</target>
<note>Button to copy link to note</note> <note>Button to copy link to note</note>
</trans-unit> </trans-unit>
<trans-unit id="Copy Note ID" xml:space="preserve">
<source>Copy Note ID</source>
<target>Copy Note ID</target>
<note>Context menu option for copying the ID of the note.</note>
</trans-unit>
<trans-unit id="Copy Note JSON" xml:space="preserve">
<source>Copy Note JSON</source>
<target>Copy Note JSON</target>
<note>Context menu option for copying the JSON text from the note.</note>
</trans-unit>
<trans-unit id="Copy Report ID" xml:space="preserve"> <trans-unit id="Copy Report ID" xml:space="preserve">
<source>Copy Report ID</source> <source>Copy Report ID</source>
<target>Copy Report ID</target> <target>Copy Report ID</target>
<note>Button to copy report ID.</note> <note>Button to copy report ID.</note>
</trans-unit> </trans-unit>
<trans-unit id="Copy Text" xml:space="preserve">
<source>Copy Text</source>
<target>Copy Text</target>
<note>Context menu option for copying the text from an note.</note>
</trans-unit>
<trans-unit id="Copy URL" xml:space="preserve"> <trans-unit id="Copy URL" xml:space="preserve">
<source>Copy URL</source> <source>Copy URL</source>
<target>Copy URL</target> <target>Copy URL</target>
<note>Label for button in context menu to copy URL of the selected uploaded media asset.</note> <note>Label for button in context menu to copy URL of the selected uploaded media asset.</note>
</trans-unit> </trans-unit>
<trans-unit id="Copy User Pubkey" xml:space="preserve">
<source>Copy User Pubkey</source>
<target>Copy User Pubkey</target>
<note>Context menu option for copying the ID of the user who created the note.</note>
</trans-unit>
<trans-unit id="Copy invoice" xml:space="preserve"> <trans-unit id="Copy invoice" xml:space="preserve">
<source>Copy invoice</source> <source>Copy invoice</source>
<target>Copy invoice</target> <target>Copy invoice</target>
<note>Title of section for copying a Lightning invoice identifier.</note> <note>Title of section for copying a Lightning invoice identifier.</note>
</trans-unit> </trans-unit>
<trans-unit id="Copy note ID" xml:space="preserve">
<source>Copy note ID</source>
<target>Copy note ID</target>
<note>Context menu option for copying the ID of the note.</note>
</trans-unit>
<trans-unit id="Copy note JSON" xml:space="preserve">
<source>Copy note JSON</source>
<target>Copy note JSON</target>
<note>Context menu option for copying the JSON text from the note.</note>
</trans-unit>
<trans-unit id="Copy text" xml:space="preserve">
<source>Copy text</source>
<target>Copy text</target>
<note>Context menu option for copying the text from an note.</note>
</trans-unit>
<trans-unit id="Copy user public key" xml:space="preserve">
<source>Copy user public key</source>
<target>Copy user public key</target>
<note>Context menu option for copying the ID of the user who created the note.</note>
</trans-unit>
<trans-unit id="Could not find the user you're looking for" xml:space="preserve"> <trans-unit id="Could not find the user you're looking for" xml:space="preserve">
<source>Could not find the user you're looking for</source> <source>Could not find the user you're looking for</source>
<target>Could not find the user you're looking for</target> <target>Could not find the user you're looking for</target>
@ -418,15 +422,15 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Could not find user to mute...</target> <target>Could not find user to mute...</target>
<note>Alert message to indicate that the muted user could not be found.</note> <note>Alert message to indicate that the muted user could not be found.</note>
</trans-unit> </trans-unit>
<trans-unit id="Create" xml:space="preserve"> <trans-unit id="Create account" xml:space="preserve">
<source>Create</source> <source>Create account</source>
<target>Create</target> <target>Create account</target>
<note>Button to create account.</note> <note>Button to navigate to create account view.</note>
</trans-unit> </trans-unit>
<trans-unit id="Create Account" xml:space="preserve"> <trans-unit id="Create account now" xml:space="preserve">
<source>Create Account</source> <source>Create account now</source>
<target>Create Account</target> <target>Create account now</target>
<note>Button to create an account.</note> <note>Button to create account.</note>
</trans-unit> </trans-unit>
<trans-unit id="Create new mutelist" xml:space="preserve"> <trans-unit id="Create new mutelist" xml:space="preserve">
<source>Create new mutelist</source> <source>Create new mutelist</source>
@ -451,11 +455,6 @@ Sentence composed of 2 variables to describe how many people are following a use
Setting to enable DM Local Notification Setting to enable DM Local Notification
Toolbar label for DMs view, where DM is the English abbreviation for Direct Message.</note> Toolbar label for DMs view, where DM is the English abbreviation for Direct Message.</note>
</trans-unit> </trans-unit>
<trans-unit id="Damus" xml:space="preserve">
<source>Damus</source>
<target>Damus</target>
<note>Name of the app, shown on the first screen when user is not logged in.</note>
</trans-unit>
<trans-unit id="DeepL (Proprietary, Higher Accuracy)" xml:space="preserve"> <trans-unit id="DeepL (Proprietary, Higher Accuracy)" xml:space="preserve">
<source>DeepL (Proprietary, Higher Accuracy)</source> <source>DeepL (Proprietary, Higher Accuracy)</source>
<target>DeepL (Proprietary, Higher Accuracy)</target> <target>DeepL (Proprietary, Higher Accuracy)</target>
@ -507,9 +506,9 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Disconnect Wallet</target> <target>Disconnect Wallet</target>
<note>Text for button to disconnect from Nostr Wallet Connect lightning wallet.</note> <note>Text for button to disconnect from Nostr Wallet Connect lightning wallet.</note>
</trans-unit> </trans-unit>
<trans-unit id="Display Name" xml:space="preserve"> <trans-unit id="Display name" xml:space="preserve">
<source>Display Name</source> <source>Display name</source>
<target>Display Name</target> <target>Display name</target>
<note>Label to prompt display name entry.</note> <note>Label to prompt display name entry.</note>
</trans-unit> </trans-unit>
<trans-unit id="Done" xml:space="preserve"> <trans-unit id="Done" xml:space="preserve">
@ -520,7 +519,7 @@ Sentence composed of 2 variables to describe how many people are following a use
<trans-unit id="EULA" xml:space="preserve"> <trans-unit id="EULA" xml:space="preserve">
<source>EULA</source> <source>EULA</source>
<target>EULA</target> <target>EULA</target>
<note>Label indicating that the below text is the EULA, an acronym for End User License Agreement.</note> <note>Navigation title of view that shows the EULA, an acronym for End User License Agreement.</note>
</trans-unit> </trans-unit>
<trans-unit id="Earn Money" xml:space="preserve"> <trans-unit id="Earn Money" xml:space="preserve">
<source>Earn Money</source> <source>Earn Money</source>
@ -537,9 +536,9 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Encrypted</target> <target>Encrypted</target>
<note>Heading indicating that this application keeps private messaging end-to-end encrypted.</note> <note>Heading indicating that this application keeps private messaging end-to-end encrypted.</note>
</trans-unit> </trans-unit>
<trans-unit id="Enter your account key to login:" xml:space="preserve"> <trans-unit id="Enter your account key" xml:space="preserve">
<source>Enter your account key to login:</source> <source>Enter your account key</source>
<target>Enter your account key to login:</target> <target>Enter your account key</target>
<note>Prompt for user to enter an account key to login.</note> <note>Prompt for user to enter an account key to login.</note>
</trans-unit> </trans-unit>
<trans-unit id="Error fetching lightning invoice" xml:space="preserve"> <trans-unit id="Error fetching lightning invoice" xml:space="preserve">
@ -577,6 +576,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Follow me on nostr</target> <target>Follow me on nostr</target>
<note>Text on QR code view to prompt viewer looking at screen to follow the user.</note> <note>Text on QR code view to prompt viewer looking at screen to follow the user.</note>
</trans-unit> </trans-unit>
<trans-unit id="Follow them on nostr" xml:space="preserve">
<source>Follow them on nostr</source>
<target>Follow them on nostr</target>
<note>Text on QR code view to prompt viewer looking at screen to follow the user (someone else).</note>
</trans-unit>
<trans-unit id="Followers" xml:space="preserve"> <trans-unit id="Followers" xml:space="preserve">
<source>Followers</source> <source>Followers</source>
<target>Followers</target> <target>Followers</target>
@ -673,11 +677,21 @@ Sentence composed of 2 variables to describe how many people are following a use
<note>Navigation title for managing keys. <note>Navigation title for managing keys.
Settings section for managing keys</note> Settings section for managing keys</note>
</trans-unit> </trans-unit>
<trans-unit id="Learn more about nostr" xml:space="preserve">
<source>Learn more about nostr</source>
<target>Learn more about nostr</target>
<note>Button that opens up a webpage where the user can learn more about nostr.</note>
</trans-unit>
<trans-unit id="Left Handed" xml:space="preserve"> <trans-unit id="Left Handed" xml:space="preserve">
<source>Left Handed</source> <source>Left Handed</source>
<target>Left Handed</target> <target>Left Handed</target>
<note>Moves the post button to the left side of the screen</note> <note>Moves the post button to the left side of the screen</note>
</trans-unit> </trans-unit>
<trans-unit id="Let's get started!" xml:space="preserve">
<source>Let's get started!</source>
<target>Let's get started!</target>
<note>Button to continue to login page.</note>
</trans-unit>
<trans-unit id="Let's go!" xml:space="preserve"> <trans-unit id="Let's go!" xml:space="preserve">
<source>Let's go!</source> <source>Let's go!</source>
<target>Let's go!</target> <target>Let's go!</target>
@ -731,8 +745,7 @@ Sentence composed of 2 variables to describe how many people are following a use
<trans-unit id="Login" xml:space="preserve"> <trans-unit id="Login" xml:space="preserve">
<source>Login</source> <source>Login</source>
<target>Login</target> <target>Login</target>
<note>Button to log into account. <note>Button to navigate to login view.</note>
Button to log into an account.</note>
</trans-unit> </trans-unit>
<trans-unit id="Logout" xml:space="preserve"> <trans-unit id="Logout" xml:space="preserve">
<source>Logout</source> <source>Logout</source>
@ -780,14 +793,18 @@ Sentence composed of 2 variables to describe how many people are following a use
<trans-unit id="Mute User" xml:space="preserve"> <trans-unit id="Mute User" xml:space="preserve">
<source>Mute User</source> <source>Mute User</source>
<target>Mute User</target> <target>Mute User</target>
<note>Context menu option for muting users. <note>Title of alert for muting a user.</note>
Title of alert for muting a user.</note>
</trans-unit> </trans-unit>
<trans-unit id="Mute conversation" xml:space="preserve"> <trans-unit id="Mute conversation" xml:space="preserve">
<source>Mute conversation</source> <source>Mute conversation</source>
<target>Mute conversation</target> <target>Mute conversation</target>
<note>Context menu option for muting a conversation.</note> <note>Context menu option for muting a conversation.</note>
</trans-unit> </trans-unit>
<trans-unit id="Mute user" xml:space="preserve">
<source>Mute user</source>
<target>Mute user</target>
<note>Context menu option for muting users.</note>
</trans-unit>
<trans-unit id="Muted" xml:space="preserve"> <trans-unit id="Muted" xml:space="preserve">
<source>Muted</source> <source>Muted</source>
<target>Muted</target> <target>Muted</target>
@ -808,6 +825,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>New encrypted direct message</target> <target>New encrypted direct message</target>
<note>Notification that the user has received a new direct message</note> <note>Notification that the user has received a new direct message</note>
</trans-unit> </trans-unit>
<trans-unit id="New to nostr?" xml:space="preserve">
<source>New to nostr?</source>
<target>New to nostr?</target>
<note>Ask the user if they are new to nostr</note>
</trans-unit>
<trans-unit id="No" xml:space="preserve"> <trans-unit id="No" xml:space="preserve">
<source>No</source> <source>No</source>
<target>No</target> <target>No</target>
@ -843,6 +865,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>None</target> <target>None</target>
<note>Button text to indicate that the zap type is a private zap.</note> <note>Button text to indicate that the zap type is a private zap.</note>
</trans-unit> </trans-unit>
<trans-unit id="Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network" xml:space="preserve">
<source>Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network</source>
<target>Nostr is a protocol, designed for simplicity, that aims to create a censorship-resistant global social network</target>
<note>Description about what is Nostr.</note>
</trans-unit>
<trans-unit id="Note contains &quot;nsec1&quot; private key. Are you sure?" xml:space="preserve"> <trans-unit id="Note contains &quot;nsec1&quot; private key. Are you sure?" xml:space="preserve">
<source>Note contains "nsec1" private key. Are you sure?</source> <source>Note contains "nsec1" private key. Are you sure?</source>
<target>Note contains "nsec1" private key. Are you sure?</target> <target>Note contains "nsec1" private key. Are you sure?</target>
@ -904,6 +931,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Paid Relay</target> <target>Paid Relay</target>
<note>Section header that indicates the relay server requires payment.</note> <note>Section header that indicates the relay server requires payment.</note>
</trans-unit> </trans-unit>
<trans-unit id="Paste" xml:space="preserve">
<source>Paste</source>
<target>Paste</target>
<note>Button to paste a Nostr Wallet Connect string to connect the wallet for use in Damus for zaps.</note>
</trans-unit>
<trans-unit id="Pay" xml:space="preserve"> <trans-unit id="Pay" xml:space="preserve">
<source>Pay</source> <source>Pay</source>
<target>Pay</target> <target>Pay</target>
@ -996,12 +1028,7 @@ Button text to indicate that the zap type is a private zap.</note>
<trans-unit id="Public Key" xml:space="preserve"> <trans-unit id="Public Key" xml:space="preserve">
<source>Public Key</source> <source>Public Key</source>
<target>Public Key</target> <target>Public Key</target>
<note>Label indicating that the text is a user's public account key.</note> <note>Label to indicate the public key of the account.</note>
</trans-unit>
<trans-unit id="Public Key?" xml:space="preserve">
<source>Public Key?</source>
<target>Public Key?</target>
<note>Prompt to ask user if the key they entered is a public key.</note>
</trans-unit> </trans-unit>
<trans-unit id="Public key" xml:space="preserve"> <trans-unit id="Public key" xml:space="preserve">
<source>Public key</source> <source>Public key</source>
@ -1053,14 +1080,18 @@ Button text to indicate that the zap type is a private zap.</note>
<trans-unit id="Remove Bookmark" xml:space="preserve"> <trans-unit id="Remove Bookmark" xml:space="preserve">
<source>Remove Bookmark</source> <source>Remove Bookmark</source>
<target>Remove Bookmark</target> <target>Remove Bookmark</target>
<note>Button text to remove bookmark from a note. <note>Button text to remove bookmark from a note.</note>
Context menu option for removing a note bookmark.</note>
</trans-unit> </trans-unit>
<trans-unit id="Remove all" xml:space="preserve"> <trans-unit id="Remove all" xml:space="preserve">
<source>Remove all</source> <source>Remove all</source>
<target>Remove all</target> <target>Remove all</target>
<note>Button label to remove all participants from a note reply.</note> <note>Button label to remove all participants from a note reply.</note>
</trans-unit> </trans-unit>
<trans-unit id="Remove bookmark" xml:space="preserve">
<source>Remove bookmark</source>
<target>Remove bookmark</target>
<note>Context menu option for removing a note bookmark.</note>
</trans-unit>
<trans-unit id="Reply" xml:space="preserve"> <trans-unit id="Reply" xml:space="preserve">
<source>Reply</source> <source>Reply</source>
<target>Reply</target> <target>Reply</target>
@ -1163,6 +1194,12 @@ Button text to indicate that the zap type is a private zap.</note>
<target>Search...</target> <target>Search...</target>
<note>Placeholder text to prompt entry of search query.</note> <note>Placeholder text to prompt entry of search query.</note>
</trans-unit> </trans-unit>
<trans-unit id="Search/Universe" xml:space="preserve">
<source>Search/Universe</source>
<target>Search/Universe</target>
<note>Navigation title for universe/search settings.
Section header for search/universe settings</note>
</trans-unit>
<trans-unit id="Secret Account Login Key" xml:space="preserve"> <trans-unit id="Secret Account Login Key" xml:space="preserve">
<source>Secret Account Login Key</source> <source>Secret Account Login Key</source>
<target>Secret Account Login Key</target> <target>Secret Account Login Key</target>
@ -1257,16 +1294,31 @@ Button text to indicate that the zap type is a private zap.</note>
<target>Sign Out</target> <target>Sign Out</target>
<note>Section title for signing out</note> <note>Section title for signing out</note>
</trans-unit> </trans-unit>
<trans-unit id="Sign in" xml:space="preserve">
<source>Sign in</source>
<target>Sign in</target>
<note>Title of view to log into an account.</note>
</trans-unit>
<trans-unit id="Sign out" xml:space="preserve"> <trans-unit id="Sign out" xml:space="preserve">
<source>Sign out</source> <source>Sign out</source>
<target>Sign out</target> <target>Sign out</target>
<note>Sidebar menu label to sign out of the account.</note> <note>Sidebar menu label to sign out of the account.</note>
</trans-unit> </trans-unit>
<trans-unit id="Social media has developed into a key way information flows around the world. Unfortunately, our current social media systems are broken" xml:space="preserve">
<source>Social media has developed into a key way information flows around the world. Unfortunately, our current social media systems are broken</source>
<target>Social media has developed into a key way information flows around the world. Unfortunately, our current social media systems are broken</target>
<note>Description about why nostr is needed.</note>
</trans-unit>
<trans-unit id="Software" xml:space="preserve"> <trans-unit id="Software" xml:space="preserve">
<source>Software</source> <source>Software</source>
<target>Software</target> <target>Software</target>
<note>Label to display relay software.</note> <note>Label to display relay software.</note>
</trans-unit> </trans-unit>
<trans-unit id="Spam" xml:space="preserve">
<source>Spam</source>
<target>Spam</target>
<note>Section header for Universe/Search spam</note>
</trans-unit>
<trans-unit id="Support Damus" xml:space="preserve"> <trans-unit id="Support Damus" xml:space="preserve">
<source>Support Damus</source> <source>Support Damus</source>
<target>Support Damus</target> <target>Support Damus</target>
@ -1297,6 +1349,11 @@ Button text to indicate that the zap type is a private zap.</note>
<target>The address should either begin with LNURL or should look like an email address.</target> <target>The address should either begin with LNURL or should look like an email address.</target>
<note>Giving the description of the alert message.</note> <note>Giving the description of the alert message.</note>
</trans-unit> </trans-unit>
<trans-unit id="The go-to iOS nostr client" xml:space="preserve">
<source>The go-to iOS nostr client</source>
<target>The go-to iOS nostr client</target>
<note>Quick description of what Damus is</note>
</trans-unit>
<trans-unit id="They are impersonating someone" xml:space="preserve"> <trans-unit id="They are impersonating someone" xml:space="preserve">
<source>They are impersonating someone</source> <source>They are impersonating someone</source>
<target>They are impersonating someone</target> <target>They are impersonating someone</target>
@ -1312,11 +1369,6 @@ Button text to indicate that the zap type is a private zap.</note>
<target>This is a public key, you will not be able to make posts or interact in any way. This is used for viewing accounts from their perspective.</target> <target>This is a public key, you will not be able to make posts or interact in any way. This is used for viewing accounts from their perspective.</target>
<note>Warning that the inputted account key is a public key and the result of what happens because of it.</note> <note>Warning that the inputted account key is a public key and the result of what happens because of it.</note>
</trans-unit> </trans-unit>
<trans-unit id="This is an old-style nostr key. We're not sure if it's a pubkey or private key. Please toggle the button below if this a public key." xml:space="preserve">
<source>This is an old-style nostr key. We're not sure if it's a pubkey or private key. Please toggle the button below if this a public key.</source>
<target>This is an old-style nostr key. We're not sure if it's a pubkey or private key. Please toggle the button below if this a public key.</target>
<note>Warning that the inputted account key for login is an old-style and asking user to verify if it is a public key.</note>
</trans-unit>
<trans-unit id="This is your account ID, you can give this to your friends so that they can follow you. Tap to copy." xml:space="preserve"> <trans-unit id="This is your account ID, you can give this to your friends so that they can follow you. Tap to copy." xml:space="preserve">
<source>This is your account ID, you can give this to your friends so that they can follow you. Tap to copy.</source> <source>This is your account ID, you can give this to your friends so that they can follow you. Tap to copy.</source>
<target>This is your account ID, you can give this to your friends so that they can follow you. Tap to copy.</target> <target>This is your account ID, you can give this to your friends so that they can follow you. Tap to copy.</target>
@ -1426,8 +1478,7 @@ Button text to indicate that the zap type is a private zap.</note>
<trans-unit id="Username" xml:space="preserve"> <trans-unit id="Username" xml:space="preserve">
<source>Username</source> <source>Username</source>
<target>Username</target> <target>Username</target>
<note>Label for Username section of user profile form. <note>Label for Username section of user profile form.</note>
Label to prompt username entry.</note>
</trans-unit> </trans-unit>
<trans-unit id="Version" xml:space="preserve"> <trans-unit id="Version" xml:space="preserve">
<source>Version</source> <source>Version</source>
@ -1435,6 +1486,11 @@ Button text to indicate that the zap type is a private zap.</note>
<note>Label to display relay software version. <note>Label to display relay software version.
Section title for displaying the version number of the Damus app.</note> Section title for displaying the version number of the Damus app.</note>
</trans-unit> </trans-unit>
<trans-unit id="View multiple events per user" xml:space="preserve">
<source>View multiple events per user</source>
<target>View multiple events per user</target>
<note>Setting to only see 1 event per user (npub) in the search/universe</note>
</trans-unit>
<trans-unit id="WARNING:&#10;&#10;THIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT.&#10;&#10;YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.&#10;&#10; ARE YOU SURE YOU WANT TO CONTINUE?" xml:space="preserve"> <trans-unit id="WARNING:&#10;&#10;THIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT.&#10;&#10;YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.&#10;&#10; ARE YOU SURE YOU WANT TO CONTINUE?" xml:space="preserve">
<source>WARNING: <source>WARNING:
@ -1469,11 +1525,21 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>Website</target> <target>Website</target>
<note>Label for Website section of user profile form.</note> <note>Label for Website section of user profile form.</note>
</trans-unit> </trans-unit>
<trans-unit id="Welcome to Damus" xml:space="preserve">
<source>Welcome to Damus</source>
<target>Welcome to Damus</target>
<note>Welcome text shown on the first screen when user is not logged in.</note>
</trans-unit>
<trans-unit id="Welcome to the social network %@ control." xml:space="preserve"> <trans-unit id="Welcome to the social network %@ control." xml:space="preserve">
<source>Welcome to the social network %@ control.</source> <source>Welcome to the social network %@ control.</source>
<target>Welcome to the social network %@ control.</target> <target>Welcome to the social network %@ control.</target>
<note>Welcoming message to the reader. The variable is 'you', the reader.</note> <note>Welcoming message to the reader. The variable is 'you', the reader.</note>
</trans-unit> </trans-unit>
<trans-unit id="Welcome to the social network you control" xml:space="preserve">
<source>Welcome to the social network you control</source>
<target>Welcome to the social network you control</target>
<note>Welcome text</note>
</trans-unit>
<trans-unit id="Welcome, %@!" xml:space="preserve"> <trans-unit id="Welcome, %@!" xml:space="preserve">
<source>Welcome, %@!</source> <source>Welcome, %@!</source>
<target>Welcome, %@!</target> <target>Welcome, %@!</target>
@ -1484,6 +1550,16 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>What do you want to report?</target> <target>What do you want to report?</target>
<note>Header text to prompt user what issue they want to report.</note> <note>Header text to prompt user what issue they want to report.</note>
</trans-unit> </trans-unit>
<trans-unit id="What is nostr?" xml:space="preserve">
<source>What is nostr?</source>
<target>What is nostr?</target>
<note>Heading text for section describing what is nostr.</note>
</trans-unit>
<trans-unit id="Why we need nostr?" xml:space="preserve">
<source>Why we need nostr?</source>
<target>Why we need nostr?</target>
<note>Heading text for section describing why nostr is needed.</note>
</trans-unit>
<trans-unit id="Yes, Overwrite" xml:space="preserve"> <trans-unit id="Yes, Overwrite" xml:space="preserve">
<source>Yes, Overwrite</source> <source>Yes, Overwrite</source>
<target>Yes, Overwrite</target> <target>Yes, Overwrite</target>
@ -1526,6 +1602,16 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>Zap Vibration</target> <target>Zap Vibration</target>
<note>Setting to enable vibration on zap</note> <note>Setting to enable vibration on zap</note>
</trans-unit> </trans-unit>
<trans-unit id="Zap attempt from connected wallet failed." xml:space="preserve">
<source>Zap attempt from connected wallet failed.</source>
<target>Zap attempt from connected wallet failed.</target>
<note>Message to display when sending a zap from the user's connected wallet failed.</note>
</trans-unit>
<trans-unit id="Zap attempt from connected wallet was canceled." xml:space="preserve">
<source>Zap attempt from connected wallet was canceled.</source>
<target>Zap attempt from connected wallet was canceled.</target>
<note>Message to display when a zap from the user's connected wallet was canceled.</note>
</trans-unit>
<trans-unit id="Zap type" xml:space="preserve"> <trans-unit id="Zap type" xml:space="preserve">
<source>Zap type</source> <source>Zap type</source>
<target>Zap type</target> <target>Zap type</target>
@ -1650,16 +1736,16 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>%@ and %@ reposted your profile</target> <target>%@ and %@ reposted your profile</target>
<note>Notification that 2 users reposted the current user's profile</note> <note>Notification that 2 users reposted the current user's profile</note>
</trans-unit> </trans-unit>
<trans-unit id="satoshi" xml:space="preserve">
<source>satoshi</source>
<target>satoshi</target>
<note>Example username of Bitcoin creator(s), Satoshi Nakamoto.</note>
</trans-unit>
<trans-unit id="self" xml:space="preserve"> <trans-unit id="self" xml:space="preserve">
<source>self</source> <source>self</source>
<target>self</target> <target>self</target>
<note>Part of a larger sentence 'Replying to self' in US English. 'self' indicates that the user is replying to themself and no one else.</note> <note>Part of a larger sentence 'Replying to self' in US English. 'self' indicates that the user is replying to themself and no one else.</note>
</trans-unit> </trans-unit>
<trans-unit id="wallet" xml:space="preserve">
<source>wallet</source>
<target>wallet</target>
<note>Sidebar menu label for Wallet view.</note>
</trans-unit>
<trans-unit id="wss://some.relay.com" xml:space="preserve"> <trans-unit id="wss://some.relay.com" xml:space="preserve">
<source>wss://some.relay.com</source> <source>wss://some.relay.com</source>
<target>wss://some.relay.com</target> <target>wss://some.relay.com</target>
@ -1709,7 +1795,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
</file> </file>
<file original="damus/en-US.lproj/Localizable.stringsdict" source-language="en-US" target-language="en-US" datatype="plaintext"> <file original="damus/en-US.lproj/Localizable.stringsdict" source-language="en-US" target-language="en-US" datatype="plaintext">
<header> <header>
<tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3" build-num="14E222b"/> <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="14.3.1" build-num="14E300c"/>
</header> </header>
<body> <body>
<trans-unit id="/collapsed_event_view_other_notes:dict/NOTES:dict/one:dict/:string" xml:space="preserve"> <trans-unit id="/collapsed_event_view_other_notes:dict/NOTES:dict/one:dict/:string" xml:space="preserve">

View File

@ -3,10 +3,10 @@
"project" : "damus.xcodeproj", "project" : "damus.xcodeproj",
"targetLocale" : "en-US", "targetLocale" : "en-US",
"toolInfo" : { "toolInfo" : {
"toolBuildNumber" : "14E222b", "toolBuildNumber" : "14E300c",
"toolID" : "com.apple.dt.xcode", "toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode", "toolName" : "Xcode",
"toolVersion" : "14.3" "toolVersion" : "14.3.1"
}, },
"version" : "1.0" "version" : "1.0"
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.