Export strings for translation

This commit is contained in:
2023-05-02 14:32:03 -04:00
committed by William Casarin
parent 136186e664
commit 9a0ad7bcab
4 changed files with 9 additions and 9 deletions

View File

@@ -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)