From 9c1bb30f5fe908cc16c0c0ebe33474c70fd8531e Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Thu, 6 Apr 2023 10:47:51 -0400 Subject: [PATCH] Localization fix and export translations --- damus/Views/ImageView.swift | 2 +- .../Localized Contents/en-US.xliff | 141 +++++++++++------- .../damus/en-US.lproj/Localizable.strings | Bin 77982 -> 78682 bytes 3 files changed, 87 insertions(+), 56 deletions(-) diff --git a/damus/Views/ImageView.swift b/damus/Views/ImageView.swift index ae2d9efc..8d5ad2cb 100644 --- a/damus/Views/ImageView.swift +++ b/damus/Views/ImageView.swift @@ -9,7 +9,7 @@ import SwiftUI struct ImageView: View { var body: some View { - Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + Text(verbatim: /*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) } } diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff index 470517f6..93300b7e 100644 --- a/damus/en-US.xcloc/Localized Contents/en-US.xliff +++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -53,10 +53,10 @@ Sentence composed of 2 variables to describe how many reposts. In source English, the first variable is the number of reposts, and the second variable is 'Repost' or 'Reposts'. Sentence composed of 2 variables to describe how many people are following a user. In source English, the first variable is the number of followers, and the second variable is 'Follower' or 'Followers'. - - %@ has been blocked - %@ has been blocked - Alert message that informs a user was blocked. + + %@ has been muted + %@ has been muted + Alert message that informs a user was muted. %@ not found @@ -128,6 +128,11 @@ Sentence composed of 2 variables to describe how many people are following a use Accept Button to accept the end user license agreement before being allowed into the app. + + Accessibility + Accessibility + Section header for accessibility settings + Account ID Account ID @@ -180,6 +185,11 @@ Sentence composed of 2 variables to describe how many people are following a use Any Any amount of sats + + Appearance + Appearance + Section header for text and appearance settings + Are you sure you want to repost this? Are you sure you want to repost this? @@ -210,33 +220,6 @@ Sentence composed of 2 variables to describe how many people are following a use Bitcoin Lightning Tips Label for Bitcoin Lightning Tips section of user profile form. - - Block - Block - Alert button to block a user. - Button to block a profile. - Context menu option for blocking users. - - - Block %@? - Block %@? - Alert message prompt to ask if a user should be blocked. - - - Block User - Block User - Title of alert for blocking a user. - - - Blocked - Blocked - Sidebar menu label for Profile view. - - - Blocked Users - Blocked Users - Navigation title of view to see list of blocked users. - Bookmarks Bookmarks @@ -257,7 +240,7 @@ Sentence composed of 2 variables to describe how many people are following a use Cancel Cancel - Alert button to cancel out of alert for blocking a user. + Alert button to cancel out of alert for muting a user. Button to cancel a repost. Button to cancel out of alert that creates a new mutelist. Button to cancel out of posting a note. @@ -381,10 +364,10 @@ Sentence composed of 2 variables to describe how many people are following a use Could not find the user you're looking for Indicates that there are no users found. - - Could not find user to block... - Could not find user to block... - Alert message to indicate that the blocked user could not be found. + + Could not find user to mute... + Could not find user to mute... + Alert message to indicate that the muted user could not be found. Create @@ -447,7 +430,7 @@ Sentence composed of 2 variables to describe how many people are following a use Default Zap Amount in sats Default Zap Amount in sats - Section title for zap configuration + No comment provided by engineer. Delete @@ -636,6 +619,11 @@ Sentence composed of 2 variables to describe how many people are following a use It's spam Button for user to report that the account or content has spam. + + Keys + Keys + Settings section for managing keys + Left Handed Left Handed @@ -729,6 +717,33 @@ Sentence composed of 2 variables to describe how many people are following a use Mentions Setting to enable Mention Local Notification + + Mute + Mute + Alert button to mute a user. + Button to mute a profile. + Context menu option for muting users. + + + Mute %@? + Mute %@? + Alert message prompt to ask if a user should be muted. + + + Mute User + Mute User + Title of alert for muting a user. + + + Muted + Muted + Sidebar menu label for muted users view. + + + Muted Users + Muted Users + Navigation title of view to see list of muted users. + NIP-05 Verification NIP-05 Verification @@ -739,10 +754,10 @@ Sentence composed of 2 variables to describe how many people are following a use No Button to cancel out of posting a note after being alerted that it looks like they might be posting a private key. - - No block list found, create a new one? This will overwrite any previous block lists. - No block list found, create a new one? This will overwrite any previous block lists. - Alert message prompt that asks if the user wants to create a new block list, overwriting previous block lists. + + No mute list found, create a new one? This will overwrite any previous mute lists. + No mute list found, create a new one? This will overwrite any previous mute lists. + Alert message prompt that asks if the user wants to create a new mute list, overwriting previous mute lists. No one can see that you zapped @@ -1175,10 +1190,15 @@ Picker option to indicate that a zap should be sent privately and not identify t Take Photo Option to take a photo with the camera + + Text Truncation + Text Truncation + Section header for damus text truncation user configuration + Thanks! Thanks! - Button to close out of alert that informs that the action to block a user was successful. + Button to close out of alert that informs that the action to muted a user was successful. The address should either begin with LNURL or should look like an email address. @@ -1230,11 +1250,26 @@ Picker option to indicate that a zap should be sent privately and not identify t Translated from %@ Button to indicate that the note has been translated from a different language. + + Translation + Translation + Section header for text and appearance settings + Translations Translations Section title for selecting the translation service. + + Truncate notification mention text + Truncate notification mention text + Setting to truncate text in mention notifications + + + Truncate timeline text + Truncate timeline text + Setting to truncate text in timeline + Type %@ to delete Type %@ to delete @@ -1265,15 +1300,15 @@ Picker option to indicate that a zap should be sent privately and not identify t Universe 🛸 Toolbar label for the universal view where posts from all connected relay servers appear. - - User blocked - User blocked - Alert message to indicate the user has been blocked + + User has been muted + User has been muted + Alert message that informs a user was d. - - User has been blocked - User has been blocked - Alert message that informs a user was blocked. + + User muted + User muted + Alert message to indicate the user has been muted Username @@ -1309,11 +1344,6 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Wallet Sidebar menu label for Wallet view. - - Wallet and others - Wallet and others - Section header for miscellaneous user configuration - Website Website @@ -1395,6 +1425,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Zaps Zaps Navigation bar title for the Zaps view. + Section header for zap settings Setting to enable Zap Local Notification diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings index 552165490317a90a0373682ceac99d782cc555aa..c52e57401a69399693a18af574fbc621a4269997 100644 GIT binary patch delta 1563 zcmb7ET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