diff --git a/damus/Views/PostView.swift b/damus/Views/PostView.swift
index 37f9bbef..8fbdc218 100644
--- a/damus/Views/PostView.swift
+++ b/damus/Views/PostView.swift
@@ -350,7 +350,7 @@ struct PostView: View {
} onVideoPicked: { url in
self.mediaToUpload = .video(url)
}
- .alert(NSLocalizedString("Are you sure you want to upload this media?", comment: "Alert message asking if the user wants to upload an image."), isPresented: $image_upload_confirm) {
+ .alert(NSLocalizedString("Are you sure you want to upload this media?", comment: "Alert message asking if the user wants to upload media."), isPresented: $image_upload_confirm) {
Button(NSLocalizedString("Upload", comment: "Button to proceed with uploading."), role: .none) {
if let mediaToUpload {
self.handle_upload(media: mediaToUpload)
@@ -367,7 +367,7 @@ struct PostView: View {
} onVideoPicked: { url in
self.mediaToUpload = .video(url)
}
- .alert("Are you sure you want to upload this media?", isPresented: $image_upload_confirm) {
+ .alert(NSLocalizedString("Are you sure you want to upload this media?", comment: "Alert message asking if the user wants to upload media."), isPresented: $image_upload_confirm) {
Button(NSLocalizedString("Upload", comment: "Button to proceed with uploading."), role: .none) {
if let mediaToUpload {
self.handle_upload(media: mediaToUpload)
diff --git a/damus/Views/Profile/EditProfilePictureControl.swift b/damus/Views/Profile/EditProfilePictureControl.swift
index 7d82bc6c..dfc55493 100644
--- a/damus/Views/Profile/EditProfilePictureControl.swift
+++ b/damus/Views/Profile/EditProfilePictureControl.swift
@@ -53,7 +53,7 @@ struct EditProfilePictureControl: View {
} onVideoPicked: { url in
print("Cannot upload videos as profile image")
}
- .alert("Are you sure you want to upload this image?", isPresented: $image_upload_confirm) {
+ .alert(NSLocalizedString("Are you sure you want to upload this image?", comment: "Alert message asking if the user wants to upload an image."), isPresented: $image_upload_confirm) {
Button(NSLocalizedString("Upload", comment: "Button to proceed with uploading."), role: .none) {
if let mediaToUpload {
self.handle_upload(media: mediaToUpload)
@@ -70,7 +70,7 @@ struct EditProfilePictureControl: View {
} onVideoPicked: { url in
print("Cannot upload videos as profile image")
}
- .alert("Are you sure you want to upload this image?", isPresented: $image_upload_confirm) {
+ .alert(NSLocalizedString("Are you sure you want to upload this image?", comment: "Alert message asking if the user wants to upload an image."), isPresented: $image_upload_confirm) {
Button(NSLocalizedString("Upload", comment: "Button to proceed with uploading."), role: .none) {
if let mediaToUpload {
self.handle_upload(media: mediaToUpload)
diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff
index 10dcab5a..27c179be 100644
--- a/damus/en-US.xcloc/Localized Contents/en-US.xliff
+++ b/damus/en-US.xcloc/Localized Contents/en-US.xliff
@@ -211,6 +211,11 @@ Sentence composed of 2 variables to describe how many people are following a use
Are you sure you want to upload this image?Alert message asking if the user wants to upload an image.
+
+ Are you sure you want to upload this media?
+ Are you sure you want to upload this media?
+ Alert message asking if the user wants to upload media.
+ Automatically translate notesAutomatically translate notes
@@ -1319,11 +1324,6 @@ Button text to indicate that the zap type is a private zap.
Translated from %@Button to indicate that the note has been translated from a different language.
-
- Translating...
- Translating...
- Text to display when waiting for the translation of a note to finish processing before showing it.
- TranslationTranslation
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 a0f73105..cecf0fdd 100644
Binary files a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings and b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings differ