damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 5e9580377d10a7f34eeebaba978387afcbcc356b
parent 9d2ff2fe65ff75a7bf6af26597a4782e1348a0da
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date:   Fri, 20 Jan 2023 20:49:28 -0500

Fix localized string for privacy access description for photos

Closes: #359

Diffstat:
Mdamus Localizations/en-US.xcloc/Localized Contents/en-US.xliff | 24+++++++++++++++++-------
Mdamus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings | 2+-
Mdamus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings | 0
Mdamus.xcodeproj/project.pbxproj | 4++--
Mdamus/Views/ConfigView.swift | 2+-
5 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff b/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff @@ -16,8 +16,8 @@ <note>Bundle name</note> </trans-unit> <trans-unit id="NSPhotoLibraryAddUsageDescription" xml:space="preserve"> - <source>"Granting Damus access to your photo library allows you to save photos.</source> - <target>"Granting Damus access to your photo library allows you to save photos.</target> + <source>Granting Damus access to your photos allows you to save images.</source> + <target>Granting Damus access to your photos allows you to save images.</target> <note>Privacy - Photo Library Additions Usage Description</note> </trans-unit> </body> @@ -285,6 +285,16 @@ Number of profiles a user is following.</note> <target>DM</target> <note>Navigation title for DM view, which is the English abbreviation for Direct Message.</note> </trans-unit> + <trans-unit id="DM Type" xml:space="preserve"> + <source>DM Type</source> + <target>DM Type</target> + <note>DM selector for seeing either DMs or message requests, which are messages that have not been responded to yet.</note> + </trans-unit> + <trans-unit id="DMs" xml:space="preserve"> + <source>DMs</source> + <target>DMs</target> + <note>No comment provided by engineer.</note> + </trans-unit> <trans-unit id="Damus" xml:space="preserve"> <source>Damus</source> <target>Damus</target> @@ -507,11 +517,6 @@ Part of a larger sentence to describe how many profiles a user is following.</no <trans-unit id="Private Key" xml:space="preserve"> <source>Private Key</source> <target>Private Key</target> - <note>Label to indicate that the text below is the user's private key used by only the user themself as a secret to login to access their account.</note> - </trans-unit> - <trans-unit id="PrivateKey" xml:space="preserve"> - <source>PrivateKey</source> - <target>PrivateKey</target> <note>Title of the secure field that holds the user's private key.</note> </trans-unit> <trans-unit id="Profile" xml:space="preserve"> @@ -590,6 +595,11 @@ Part of a larger sentence to describe how many profiles a user is following.</no <target>Reposted</target> <note>Text indicating that the post was reposted (i.e. re-shared).</note> </trans-unit> + <trans-unit id="Requests" xml:space="preserve"> + <source>Requests</source> + <target>Requests</target> + <note>No comment provided by engineer.</note> + </trans-unit> <trans-unit id="Reset" xml:space="preserve"> <source>Reset</source> <target>Reset</target> diff --git a/damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings b/damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings @@ -3,4 +3,4 @@ /* Bundle name */ "CFBundleName" = "damus"; /* Privacy - Photo Library Additions Usage Description */ -"NSPhotoLibraryAddUsageDescription" = "\"Granting Damus access to your photo library allows you to save photos."; +"NSPhotoLibraryAddUsageDescription" = "Granting Damus access to your photos allows you to save images."; diff --git a/damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings Binary files differ. diff --git a/damus.xcodeproj/project.pbxproj b/damus.xcodeproj/project.pbxproj @@ -1239,7 +1239,7 @@ INFOPLIST_FILE = damus/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Damus; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; - INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "\"Granting Damus access to your photo library allows you to save photos."; + INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Granting Damus access to your photos allows you to save images."; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -1280,7 +1280,7 @@ INFOPLIST_FILE = damus/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Damus; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; - INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "\"Granting Damus access to your photo library allows you to save photos."; + INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Granting Damus access to your photos allows you to save images."; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; diff --git a/damus/Views/ConfigView.swift b/damus/Views/ConfigView.swift @@ -91,7 +91,7 @@ struct ConfigView: View { Section(NSLocalizedString("Secret Account Login Key", comment: "Section title for user's secret account login key.")) { HStack { if show_privkey == false { - SecureField(NSLocalizedString("PrivateKey", comment: "Title of the secure field that holds the user's private key."), text: $privkey) + SecureField(NSLocalizedString("Private Key", comment: "Title of the secure field that holds the user's private key."), text: $privkey) .disabled(true) } else { Text(sec)