commit 8b96b9f4e65ac8905a5979395396b27aefb74115
parent 649a857c3ac01b43e6a22ab7d809494f1035906c
Author: Daniel D’Aquino <daniel@daquino.me>
Date: Mon, 14 Apr 2025 18:35:34 -0700
Merge pull request #2973 from damus-io/translations
Translations
Diffstat:
9 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/damus/Views/ConfigView.swift b/damus/Views/ConfigView.swift
@@ -161,7 +161,7 @@ struct ConfigView: View {
}
.navigationTitle(NSLocalizedString("Settings", comment: "Navigation title for Settings view."))
.navigationBarTitleDisplayMode(.large)
- .searchable(text: $searchText,prompt: "Search within settings")
+ .searchable(text: $searchText, prompt: NSLocalizedString("Search within settings", comment: "Text to prompt the user to search settings."))
.alert(NSLocalizedString("WARNING:\n\nTHIS WILL SIGN AN EVENT THAT DELETES THIS ACCOUNT.\n\nYOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.\n\n ARE YOU SURE YOU WANT TO CONTINUE?", comment: "Alert for deleting the users account."), isPresented: $delete_account_warning) {
Button(NSLocalizedString("Cancel", comment: "Cancel deleting the user."), role: .cancel) {
diff --git a/damus/de.lproj/Localizable.strings b/damus/de.lproj/Localizable.strings
Binary files differ.
diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff
@@ -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">
<file original="damus/en-US.lproj/InfoPlist.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -44,7 +44,7 @@
</file>
<file original="damus/en-US.lproj/Localizable.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="#%@" xml:space="preserve">
@@ -2292,6 +2292,16 @@ Button to save key, complete account creation, and start using the app.</note>
<note>Default title for the search screen when it is in an unknown state.
Title of the text field for searching.</note>
</trans-unit>
+ <trans-unit id="Search / Universe" xml:space="preserve">
+ <source>Search / Universe</source>
+ <target>Search / Universe</target>
+ <note>Section header for search/universe settings</note>
+ </trans-unit>
+ <trans-unit id="Search within settings" xml:space="preserve">
+ <source>Search within settings</source>
+ <target>Search within settings</target>
+ <note>Text to prompt the user to search settings.</note>
+ </trans-unit>
<trans-unit id="Search word: %@" xml:space="preserve">
<source>Search word: %@</source>
<target>Search word: %@</target>
@@ -2305,8 +2315,7 @@ Title of the text field for searching.</note>
<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>
+ <note>Navigation title for universe/search settings.</note>
</trans-unit>
<trans-unit id="Secret Account Login Key" xml:space="preserve">
<source>Secret Account Login Key</source>
@@ -2455,11 +2464,6 @@ Button to show more of a long profile description.</note>
<target>Sign In</target>
<note>Button to continue to login page.</note>
</trans-unit>
- <trans-unit id="Sign Out" xml:space="preserve">
- <source>Sign Out</source>
- <target>Sign Out</target>
- <note>Section title for signing out</note>
- </trans-unit>
<trans-unit id="Sign in" xml:space="preserve">
<source>Sign in</source>
<target>Sign in</target>
@@ -3397,7 +3401,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/en-US.lproj/Localizable.stringsdict" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="/followed_by_three_and_others:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
@@ -3794,7 +3798,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -3816,7 +3820,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/Localizable.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="" xml:space="preserve">
@@ -6057,6 +6061,16 @@ Button to save key, complete account creation, and start using the app.</note>
<note>Default title for the search screen when it is in an unknown state.
Title of the text field for searching.</note>
</trans-unit>
+ <trans-unit id="Search / Universe" xml:space="preserve">
+ <source>Search / Universe</source>
+ <target state="new">Search / Universe</target>
+ <note>Section header for search/universe settings</note>
+ </trans-unit>
+ <trans-unit id="Search within settings" xml:space="preserve">
+ <source>Search within settings</source>
+ <target state="new">Search within settings</target>
+ <note>Text to prompt the user to search settings.</note>
+ </trans-unit>
<trans-unit id="Search word: %@" xml:space="preserve">
<source>Search word: %@</source>
<target state="new">Search word: %@</target>
@@ -6070,8 +6084,7 @@ Title of the text field for searching.</note>
<trans-unit id="Search/Universe" xml:space="preserve">
<source>Search/Universe</source>
<target state="new">Search/Universe</target>
- <note>Navigation title for universe/search settings.
-Section header for search/universe settings</note>
+ <note>Navigation title for universe/search settings.</note>
</trans-unit>
<trans-unit id="Secret Account Login Key" xml:space="preserve">
<source>Secret Account Login Key</source>
@@ -6230,11 +6243,6 @@ Button to show more of a long profile description.</note>
<target state="new">Sign In</target>
<note>Button to continue to login page.</note>
</trans-unit>
- <trans-unit id="Sign Out" xml:space="preserve">
- <source>Sign Out</source>
- <target state="new">Sign Out</target>
- <note>Section title for signing out</note>
- </trans-unit>
<trans-unit id="Sign in" xml:space="preserve">
<source>Sign in</source>
<target state="new">Sign in</target>
@@ -7037,7 +7045,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/Resources/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -7059,7 +7067,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="highlighter action extension/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.2" build-num="16C5032a"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
diff --git a/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings b/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings
@@ -1386,6 +1386,12 @@
"Search" : {
"comment" : "Default title for the search screen when it is in an unknown state.\nTitle of the text field for searching."
},
+ "Search / Universe" : {
+ "comment" : "Section header for search/universe settings"
+ },
+ "Search within settings" : {
+ "comment" : "Text to prompt the user to search settings."
+ },
"Search word: %@" : {
"comment" : "Navigation link to search for a word."
},
@@ -1393,7 +1399,7 @@
"comment" : "Placeholder text to prompt entry of search query."
},
"Search/Universe" : {
- "comment" : "Navigation title for universe/search settings.\nSection header for search/universe settings"
+ "comment" : "Navigation title for universe/search settings."
},
"Secret Account Login Key" : {
"comment" : "Section title for user's secret account login key."
@@ -1494,9 +1500,6 @@
"Sign out" : {
"comment" : "Sidebar menu label to sign out of the account."
},
- "Sign Out" : {
- "comment" : "Section title for signing out"
- },
"Skip" : {
"comment" : "Button to dismiss the suggested users screen"
},
diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings
@@ -1,14 +1,21 @@
/* Bundle display name */
"CFBundleDisplayName" = "Damus";
+
/* Bundle name */
"CFBundleName" = "damus";
+
/* Privacy - Media Library Usage Description */
"NSAppleMusicUsageDescription" = "Damus needs access to your media library for playback statuses";
+
/* Privacy - Camera Usage Description */
"NSCameraUsageDescription" = "Damus needs access to your camera in order to upload photos and scan QR codes.";
+
/* Privacy - Face ID Usage Description */
"NSFaceIDUsageDescription" = "Local authentication to access private key";
+
/* Privacy - Microphone Usage Description */
"NSMicrophoneUsageDescription" = "Damus needs access to your microphone to allow you to create video recordings that you can choose to post publicly on the network";
+
/* Privacy - Photo Library Additions Usage Description */
"NSPhotoLibraryAddUsageDescription" = "Granting Damus access to your photos allows you to save images.";
+
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
Binary files differ.
diff --git 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" : "16C5032a",
+ "toolBuildNumber" : "16E140",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
- "toolVersion" : "16.2"
+ "toolVersion" : "16.3"
},
"version" : "1.0"
}
\ No newline at end of file
diff --git a/damus/nl.lproj/Localizable.strings b/damus/nl.lproj/Localizable.strings
Binary files differ.
diff --git a/damus/pl-PL.lproj/Localizable.strings b/damus/pl-PL.lproj/Localizable.strings
Binary files differ.