Export strings for translation

This commit is contained in:
tyiu authored and William Casarin committed 2023-05-05 09:01:05 -07:00
1 parent 136186e664
commit 9a0ad7bcab
4 files changed
+9 -9

No files matched your search

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