parent
1c61d3908f
commit
bef45d8621
|
@ -86,9 +86,9 @@ struct StatusRowContextMenu: View {
|
|||
}
|
||||
} label: {
|
||||
if let statusLanguage = viewModel.status.language,
|
||||
let lanugageName = Locale.current.localizedString(forLanguageCode: statusLanguage)
|
||||
let languageName = Locale.current.localizedString(forLanguageCode: statusLanguage)
|
||||
{
|
||||
Label("status.action.translate-from-\(lanugageName)", systemImage: "captions.bubble")
|
||||
Label("status.action.translate-from-\(languageName)", systemImage: "captions.bubble")
|
||||
} else {
|
||||
Label("status.action.translate", systemImage: "captions.bubble")
|
||||
}
|
||||
|
|
|
@ -320,9 +320,9 @@ public struct StatusRowView: View {
|
|||
ProgressView()
|
||||
} else {
|
||||
if let statusLanguage = status.language,
|
||||
let lanugageName = Locale.current.localizedString(forLanguageCode: statusLanguage)
|
||||
let languageName = Locale.current.localizedString(forLanguageCode: statusLanguage)
|
||||
{
|
||||
Text("status.action.translate-from-\(lanugageName)")
|
||||
Text("status.action.translate-from-\(languageName)")
|
||||
} else {
|
||||
Text("status.action.translate")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue