mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Merge 14f56d6af2 into 1a0d3353b9
This commit is contained in:
commit
c41be27a9a
3 changed files with 60 additions and 11 deletions
|
|
@ -15,18 +15,16 @@ struct ReleaseDateView: View {
|
|||
if let date = date {
|
||||
|
||||
VStack(alignment: .leading) {
|
||||
HStack {
|
||||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
Spacer()
|
||||
if let url {
|
||||
ReleaseNotesView(url: url)
|
||||
}
|
||||
}
|
||||
Text("ReleaseDate")
|
||||
.font(.headline)
|
||||
|
||||
Text("\(date, style: .date)")
|
||||
.font(.subheadline)
|
||||
|
||||
if let url {
|
||||
ReleaseNotesView(url: url)
|
||||
.padding(.top, 2)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,10 +16,9 @@ struct ReleaseNotesView: View {
|
|||
var body: some View {
|
||||
if let url = url {
|
||||
Button(action: { openURL(url) }) {
|
||||
Image(systemName: "link.circle.fill")
|
||||
.font(.title)
|
||||
Text("ReleaseNotes")
|
||||
.font(.callout)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.contextMenu(menuItems: {
|
||||
CopyReleaseNoteButton(url: url)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -20861,6 +20861,58 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"ReleaseNotes" : {
|
||||
"localizations" : {
|
||||
"ca" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Notes de la versió"
|
||||
}
|
||||
},
|
||||
"de" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Release-Notes"
|
||||
}
|
||||
},
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Release Notes"
|
||||
}
|
||||
},
|
||||
"es" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Notas del Lanzamiento"
|
||||
}
|
||||
},
|
||||
"fr" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Notes de Mise á Jour"
|
||||
}
|
||||
},
|
||||
"it" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Note di Rilascio"
|
||||
}
|
||||
},
|
||||
"nl" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Release Notes"
|
||||
}
|
||||
},
|
||||
"pt-BR" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Notas de Lançamento"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ReleaseNotes.help" : {
|
||||
"localizations" : {
|
||||
"ar" : {
|
||||
|
|
|
|||
Loading…
Reference in a new issue