Change OK to Close in media description alert

This commit is contained in:
Marcin Czachurski 2023-04-18 15:54:14 +02:00
parent 341aae5496
commit 2b4b1966d5
4 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,7 @@
"global.title.ok" = "OK";
"global.title.showMore" = "Show more";
"global.title.showLess" = "Show less";
"global.title.close" = "Close";
// MARK: Global errors.
"global.error.unexpected" = "Unexpected error.";

View File

@ -8,6 +8,7 @@
"global.title.ok" = "Ados";
"global.title.showMore" = "Erakutsi gehiago";
"global.title.showLess" = "Erakutsi gutxiago";
"global.title.close" = "Itxi";
// MARK: Global errors.
"global.error.unexpected" = "Espero ez zen errorea.";

View File

@ -8,6 +8,7 @@
"global.title.ok" = "OK";
"global.title.showMore" = "Pokaż więcej";
"global.title.showLess" = "Pokaż mniej";
"global.title.close" = "Zamknij";
// MARK: Global errors.
"global.error.unexpected" = "Wystąpił nieoczekiwany błąd.";

View File

@ -89,7 +89,7 @@ extension View {
case .alternativeText(let text):
return Alert(title: Text("status.title.mediaDescription", comment: "Media description"),
message: Text(text),
dismissButton: .default(Text("global.title.ok", comment: "OK")))
dismissButton: .default(Text("global.title.close", comment: "Close")))
case .savePhotoSuccess:
return Alert(title: Text("global.title.success", comment: "Success"),
message: Text("global.title.photoSaved", comment: "Photo has been saved"),