From d6d6858e0b0ed3295dcb58f97d23d342be09f41c Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Sat, 29 Jun 2024 16:57:22 -0400 Subject: [PATCH] Export strings for translations --- damus/Views/Chat/ChatBubbleView.swift | 4 +- .../Localized Contents/en-US.xliff | 152 ++++++++++++++++-- .../Localizable.xcstrings | 12 ++ .../damus/en-US.lproj/Localizable.strings | Bin 144252 -> 153918 bytes damus/en-US.xcloc/contents.json | 4 +- 5 files changed, 159 insertions(+), 13 deletions(-) diff --git a/damus/Views/Chat/ChatBubbleView.swift b/damus/Views/Chat/ChatBubbleView.swift index bd79a746..6fe6fbd8 100644 --- a/damus/Views/Chat/ChatBubbleView.swift +++ b/damus/Views/Chat/ChatBubbleView.swift @@ -165,7 +165,7 @@ struct ChatBubble: View { stroke_style: .init(lineWidth: 4), background_style: Color.accentColor ) { - Text("Hello there") + Text(verbatim: "Hello there") .padding() } .foregroundColor(.white) @@ -176,7 +176,7 @@ struct ChatBubble: View { stroke_style: .init(lineWidth: 4), background_style: Color.accentColor ) { - Text("Hello there") + Text(verbatim: "Hello there") .padding() } .foregroundColor(.white) diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff index 855f8aee..064a0d72 100644 --- a/damus/en-US.xcloc/Localized Contents/en-US.xliff +++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -2,7 +2,7 @@
- +
@@ -44,7 +44,7 @@
- +
@@ -255,6 +255,11 @@ Button text to add a relay An additional percentage of each zap will be sent to support Damus development Text indicating that they can contribute zaps to support Damus development. + + An unexpected error happened while trying to create the new contact list. Please contact support. + An unexpected error happened while trying to create the new contact list. Please contact support. + Error message for a failed contact list reset operation + Animations Animations @@ -413,7 +418,8 @@ Tip: You can always change this later in Settings → Translations Button to cancel the upload. Cancel deleting bookmarks. Cancel deleting the user. - Cancel out of logging out the user. + Cancel out of logging out the user. + Cancel resetting the contact list. Changing this setting will cause the cache to be cleared. This will free space, but images may take longer to load again. Are you sure you want to proceed? @@ -486,6 +492,16 @@ Button to connect to the relay. Connecting Relay status label that indicates a relay is connecting. + + Contact list (Follows + Relay list) + Contact list (Follows + Relay list) + Section title for Contact list first aid tools + + + Contact list has been reset + Contact list has been reset + Message indicating that the contact list was successfully reset. + Content filters Content filters @@ -495,7 +511,8 @@ Button to connect to the relay. Continue Continue Continue with bookmarks. - Continue with deleting the user. + Continue with deleting the user. + Continue with resetting the contact list. Copied @@ -569,6 +586,11 @@ Button to connect to the relay. Copy user public key Context menu option for copying the ID of the user who created the note. + + Could not create your initial contact list event. This is a software bug, please contact Damus support via support@damus.io or through our Nostr account for help. + Could not create your initial contact list event. This is a software bug, please contact Damus support via support@damus.io or through our Nostr account for help. + Error message to the user indicating that the initial contact list failed to be created. + Could not find the user you're looking for Could not find the user you're looking for @@ -766,6 +788,16 @@ Button to disconnect from a relay server. Label to display that authentication to a server has failed. Relay status label that indicates a relay had an error when connecting + + Error configuring push notifications with the server: %@ + Error configuring push notifications with the server: %@ + Error label shown when user tries to enable push notifications but something fails + + + Error disabling push notifications with the server: %@ + Error disabling push notifications with the server: %@ + Error label shown when user tries to disable push notifications but something fails + Error fetching lightning invoice Error fetching lightning invoice @@ -816,6 +848,12 @@ Relay status label that indicates a relay had an error when connecting Failed to parse NostrScript error message when it fails to parse a script. + + First Aid + First Aid + Navigation title for first aid settings and tools + Section header for first aid tools and settings + Follow Follow @@ -907,6 +945,11 @@ My side interests include languages and I am striving to be a #polyglot - I am a Free Dropdown option for selecting Free plan for DeepL translation service. + + General + General + Section header for general damus notifications user configuration + Get API Key Get API Key @@ -971,6 +1014,16 @@ This is my first post on Damus, I am happy to meet you all 🤙. What’s up? Hide notes with #nsfw tags Setting to hide notes with the #nsfw (not safe for work) tags + + Highlighted + Highlighted + Label to indicate that the user is highlighting their own post. + + + Highlighted %@ + Highlighted %@ + Label to indicate that the user is highlighting 1 user. + Home Home @@ -1005,6 +1058,11 @@ Hope to meet folks who are on their own journeys to a peaceful and free life!Impersonation Description of report type for impersonation. + + In progress… + In progress… + Loading message indicating that a contact list reset operation is in progress. + Indefinite Indefinite @@ -1106,6 +1164,11 @@ Hope to meet folks who are on their own journeys to a peaceful and free life!Load media Button to show media in note. + + Local + Local + Option for notification mode setting: Local notification mode + Local Notifications Local Notifications @@ -1265,6 +1328,11 @@ Text label indicating that there is no NIP-11 relay software information found. No User confirm No + + No contact list was found. You might experience issues using the app. If you suspect you have permanently lost your contact list (or if you never had one), you can fix this by resetting it + No contact list was found. You might experience issues using the app. If you suspect you have permanently lost your contact list (or if you never had one), you can fix this by resetting it + Section footer for Contact list first aid tools + No logs to display No logs to display @@ -1333,7 +1401,8 @@ Text label indicating that there is no NIP-11 relay software information found. Note you've muted Note you've muted - Text to indicate that what is being shown is a note which has been muted. + Text to indicate that what is being shown is a note which has been muted. +Label indicating note has been muted Notes @@ -1374,6 +1443,11 @@ Label for filter for seeing your notes and replies (instead of only your notes). Section header for Damus notifications Toolbar label for Notifications view. + + Notifications mode + Notifications mode + Prompt selection of the notification mode (Feature to switch between local notifications (generated from user's own phone) or push notifications (generated by Damus server). + Nudity Nudity @@ -1478,7 +1552,8 @@ Button label to dismiss an error dialog Post Post - Button to post a note. + Button to post a highlight. + Button to post a note. Private @@ -1570,6 +1645,11 @@ Button label to dismiss an error dialog Purple Subscription service name + + Push + Push + Option for notification mode setting: Push notification mode + QR Code QR Code @@ -1590,6 +1670,11 @@ Button label to dismiss an error dialog Ran to suspension. Indication that a NostrScript was run until it reached a suspended state. + + React with default reaction emoji + React with default reaction emoji + Accessibility label for react button + Reactions Reactions @@ -1700,6 +1785,11 @@ Button label to dismiss an error dialog Repost Button to repost a note + + Repost or quote this note + Repost or quote this note + Accessibility label for repost/quote button + Reposted Reposted @@ -1722,6 +1812,11 @@ Button label to dismiss an error dialog Requests Picker option for DM selector for seeing only message requests (DMs that someone else sent the user which has not been responded to yet). DM is the English abbreviation for Direct Message. + + Reset contact list + Reset contact list + Button to reset contact list. + Retry Retry @@ -1907,6 +2002,11 @@ Button label to dismiss an error dialog Share Via... Button to present iOS share sheet + + Share externally + Share externally + Accessibility label for external share button + Show Show @@ -2342,6 +2442,15 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. ARE YOU SURE YOU WANT TO CONTINUE? Alert for deleting the users account. + + WARNING: + +This will reset your contact list, including the list of everyone you follow and the list of all relays you usually connect to. ONLY PROCEED IF YOU ARE SURE YOU HAVE LOST YOUR CONTACT LIST BEYOND RECOVERABILITY. + WARNING: + +This will reset your contact list, including the list of everyone you follow and the list of all relays you usually connect to. ONLY PROCEED IF YOU ARE SURE YOU HAVE LOST YOUR CONTACT LIST BEYOND RECOVERABILITY. + Alert for resetting the user's contact list. + Wake up, %@ Wake up, %@ @@ -2365,6 +2474,11 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Wallet Relay Label text indicating that below it is the information about the wallet relay. + + We did not detect any issues that we can automatically fix for you. If you are having issues, please contact Damus support: [support@damus.io](mailto:support@damus.io) + We did not detect any issues that we can automatically fix for you. If you are having issues, please contact Damus support: [support@damus.io](mailto:support@damus.io) + Message indicating that no First Aid actions are available. + Website Website @@ -2701,7 +2815,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
- +
@@ -3083,7 +3197,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
- +
@@ -3105,7 +3219,7 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
- +
@@ -3158,6 +3272,11 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. LibreTranslate (Open Source) Dropdown option for selecting LibreTranslate as the translation service. + + Local + Local + Option for notification mode setting: Local notification mode + Local default Local default @@ -3168,6 +3287,11 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Mentioned by %@ Mentioned by heading in local notification + + Muted event + Muted event + Title for a push notification which has been muted + New encrypted direct message New encrypted direct message @@ -3203,6 +3327,11 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Production Label indicating the production environment for Damus Purple + + Push + Push + Option for notification mode setting: Push notification mode + Reposted by %@ Reposted by %@ @@ -3238,6 +3367,11 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY. Test (local) Label indicating a local test environment for Damus Purple functionality (Developer feature) + + This is an event that has been muted according to your mute list rules. We cannot suppress this notification, but we obscured the details to respect your preferences + This is an event that has been muted according to your mute list rules. We cannot suppress this notification, but we obscured the details to respect your preferences + Description for a push notification which has been muted, and explanation that we cannot suppress it + This note contains too many items and cannot be rendered This note contains too many items and cannot be rendered diff --git a/damus/en-US.xcloc/Source Contents/DamusNotificationService/Localizable.xcstrings b/damus/en-US.xcloc/Source Contents/DamusNotificationService/Localizable.xcstrings index 5789abcb..a3560c32 100644 --- a/damus/en-US.xcloc/Source Contents/DamusNotificationService/Localizable.xcstrings +++ b/damus/en-US.xcloc/Source Contents/DamusNotificationService/Localizable.xcstrings @@ -39,12 +39,18 @@ "LibreTranslate (Open Source)" : { "comment" : "Dropdown option for selecting LibreTranslate as the translation service." }, + "Local" : { + "comment" : "Option for notification mode setting: Local notification mode" + }, "Local default" : { "comment" : "Dropdown option label for system default for Lightning wallet." }, "Mentioned by %@" : { "comment" : "Mentioned by heading in local notification" }, + "Muted event" : { + "comment" : "Title for a push notification which has been muted" + }, "New encrypted direct message" : { "comment" : "Notification that the user has received a new direct message" }, @@ -78,6 +84,9 @@ "Production" : { "comment" : "Label indicating the production environment for Damus Purple" }, + "Push" : { + "comment" : "Option for notification mode setting: Push notification mode" + }, "Reposted by %@" : { "comment" : "Reposted by heading in local notification" }, @@ -99,6 +108,9 @@ "Test (local)" : { "comment" : "Label indicating a local test environment for Damus Purple functionality (Developer feature)" }, + "This is an event that has been muted according to your mute list rules. We cannot suppress this notification, but we obscured the details to respect your preferences" : { + "comment" : "Description for a push notification which has been muted, and explanation that we cannot suppress it" + }, "This note contains too many items and cannot be rendered" : { "comment" : "Error message indicating that a note is too big and cannot be rendered" }, 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 e8a81cd83e4f78d42822ea96fc05361550248b11..70d27d27ba5fb18f38ab0049458c04c64965ad9e 100644 GIT binary patch delta 5586 zcmeHLdu*H475|Qvy0)8#9oI35^RVMM&ZEtvv{Tg%n)E?vo95MyiH$)+;v|mTJnUql z+h`h9gCXsY!DT(#M0u!{HjpL)ndCA=AN)~igNd}-3JM(~Rfe{zA}O1+X@YL&-0RP; zJWBr-#dfHp#7UG(Xu@t_uwPhpaX&_9n3YD4rC7PWiwv1}U3Tz#})NDdCf6pd+pO05|G zqZ5Bs583NSXedCdS!8U5y=rK#4cA|SB0M(@*;zGODUIAk|D{?ZdZxkuFWnDn#Am^# zslq)+Ds$L|UOG0rfxg9ak@l${M>-7R`bf4p?h(-#wBwZmg9*=E2Gi=8&!%QaAGg_e zEOw}P<)VF@oz4y)q4`15AEDQHq2Ln(x)%W(he|y@xSH6+95jl65xY_O%-pw-~)Rj^Mz`}Ep!j&~+nFVe?T8IXt5nFfn_guD_Y zdn4k7pE=R(f$~-C&k<4LcAE7-N5t^!PKQc}9un`B&f_rlVvz@`@x3izH8bvoIbh<& zH%gp(0xc__6_=+~Tg1g*I+i+MPW*r}h=ZcO-@f88ZQXRh2<5@UvdULDqTNl{vaIal zHG@)C0vQwR)?*Ve3JrPV%z(EJl6y!-=YP| zFv>%PZ*nOqDXP9FNp&MVcPD{D+MMXzS|TRLjpBg|R{X&Y$P)u^W#WL{V41495V8vE z<}%Fq2?eQJRfrbB8!ti$UN%CFuZaT3?Iuifp`<-h#&IG@dGyTXp&Yb&VWY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=(_~Il%GK4ed6nQ{vGhxzCpC+P|P5%ge`LTq2yn{Zqug!P?MlicqYBkg*Arn G`~L|{QRkol delta 302 zcmV+}0nz@xvI+d=2(aWylOSw3voK74DYFiCQUbHAczhAFK#alxvs{jF3zxu<0S=d} zQ2{EmUY+12lfGLJmu|KJ2A9rF0veP4JO;D6#`X%6FsKxhJkt=9>eC97pxGFgy2Sws zvkud25VJbuau2gW^o4!2A=0WK1kAXWk_xAsZ_a0-_!TmcBTGFJft7MDJm0SK3HkO2(0hHU}76O%Bg z6t;o^ZUU1)^)k1Pg#q#tm%u9l3YWl-0VubQngKurw{o8W-X4=6sSJ}kKq8k=Q35Wv zXuko*HIty}+Lv7X0T7d#>mrl7Mhcg}`T@GPeEI?GEVo`O0t^F_fM^uAvM~aTC%+VW A4FCWD diff --git a/damus/en-US.xcloc/contents.json b/damus/en-US.xcloc/contents.json index 56234ec4..2fc1d414 100644 --- a/damus/en-US.xcloc/contents.json +++ b/damus/en-US.xcloc/contents.json @@ -3,10 +3,10 @@ "project" : "damus.xcodeproj", "targetLocale" : "en-US", "toolInfo" : { - "toolBuildNumber" : "15E204a", + "toolBuildNumber" : "15F31d", "toolID" : "com.apple.dt.xcode", "toolName" : "Xcode", - "toolVersion" : "15.3" + "toolVersion" : "15.4" }, "version" : "1.0" } \ No newline at end of file