Browse Source

Fix localized string for privacy access description for photos

Closes: #359
to-test
Terry Yiu 2 years ago
committed by William Casarin
parent
commit
5e9580377d
  1. 24
      damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff
  2. 2
      damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings
  3. BIN
      damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings
  4. 4
      damus.xcodeproj/project.pbxproj
  5. 2
      damus/Views/ConfigView.swift

24
damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff

@ -16,8 +16,8 @@
<note>Bundle name</note> <note>Bundle name</note>
</trans-unit> </trans-unit>
<trans-unit id="NSPhotoLibraryAddUsageDescription" xml:space="preserve"> <trans-unit id="NSPhotoLibraryAddUsageDescription" xml:space="preserve">
<source>"Granting Damus access to your photo library allows you to save photos.</source> <source>Granting Damus access to your photos allows you to save images.</source>
<target>"Granting Damus access to your photo library allows you to save photos.</target> <target>Granting Damus access to your photos allows you to save images.</target>
<note>Privacy - Photo Library Additions Usage Description</note> <note>Privacy - Photo Library Additions Usage Description</note>
</trans-unit> </trans-unit>
</body> </body>
@ -285,6 +285,16 @@ Number of profiles a user is following.</note>
<target>DM</target> <target>DM</target>
<note>Navigation title for DM view, which is the English abbreviation for Direct Message.</note> <note>Navigation title for DM view, which is the English abbreviation for Direct Message.</note>
</trans-unit> </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"> <trans-unit id="Damus" xml:space="preserve">
<source>Damus</source> <source>Damus</source>
<target>Damus</target> <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"> <trans-unit id="Private Key" xml:space="preserve">
<source>Private Key</source> <source>Private Key</source>
<target>Private Key</target> <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> <note>Title of the secure field that holds the user's private key.</note>
</trans-unit> </trans-unit>
<trans-unit id="Profile" xml:space="preserve"> <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> <target>Reposted</target>
<note>Text indicating that the post was reposted (i.e. re-shared).</note> <note>Text indicating that the post was reposted (i.e. re-shared).</note>
</trans-unit> </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"> <trans-unit id="Reset" xml:space="preserve">
<source>Reset</source> <source>Reset</source>
<target>Reset</target> <target>Reset</target>

2
damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/InfoPlist.strings

@ -3,4 +3,4 @@
/* Bundle name */ /* Bundle name */
"CFBundleName" = "damus"; "CFBundleName" = "damus";
/* Privacy - Photo Library Additions Usage Description */ /* 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.";

BIN
damus Localizations/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings

Binary file not shown.

4
damus.xcodeproj/project.pbxproj

@ -1239,7 +1239,7 @@
INFOPLIST_FILE = damus/Info.plist; INFOPLIST_FILE = damus/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Damus; INFOPLIST_KEY_CFBundleDisplayName = Damus;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; 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_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;
@ -1280,7 +1280,7 @@
INFOPLIST_FILE = damus/Info.plist; INFOPLIST_FILE = damus/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = Damus; INFOPLIST_KEY_CFBundleDisplayName = Damus;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking"; 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_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES;

2
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.")) { Section(NSLocalizedString("Secret Account Login Key", comment: "Section title for user's secret account login key.")) {
HStack { HStack {
if show_privkey == false { 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) .disabled(true)
} else { } else {
Text(sec) Text(sec)

Loading…
Cancel
Save