Export strings for translation
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -211,6 +211,11 @@ Sentence composed of 2 variables to describe how many people are following a use
|
||||
<target>Are you sure you want to upload this image?</target>
|
||||
<note>Alert message asking if the user wants to upload an image.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Are you sure you want to upload this media?" xml:space="preserve">
|
||||
<source>Are you sure you want to upload this media?</source>
|
||||
<target>Are you sure you want to upload this media?</target>
|
||||
<note>Alert message asking if the user wants to upload media.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Automatically translate notes" xml:space="preserve">
|
||||
<source>Automatically translate notes</source>
|
||||
<target>Automatically translate notes</target>
|
||||
@@ -1319,11 +1324,6 @@ Button text to indicate that the zap type is a private zap.</note>
|
||||
<target>Translated from %@</target>
|
||||
<note>Button to indicate that the note has been translated from a different language.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Translating..." xml:space="preserve">
|
||||
<source>Translating...</source>
|
||||
<target>Translating...</target>
|
||||
<note>Text to display when waiting for the translation of a note to finish processing before showing it.</note>
|
||||
</trans-unit>
|
||||
<trans-unit id="Translation" xml:space="preserve">
|
||||
<source>Translation</source>
|
||||
<target>Translation</target>
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user