mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-28 21:39:18 +01:00
parent
1c61d3908f
commit
bef45d8621
@ -86,9 +86,9 @@ struct StatusRowContextMenu: View {
|
|||||||
}
|
}
|
||||||
} label: {
|
} label: {
|
||||||
if let statusLanguage = viewModel.status.language,
|
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 {
|
} else {
|
||||||
Label("status.action.translate", systemImage: "captions.bubble")
|
Label("status.action.translate", systemImage: "captions.bubble")
|
||||||
}
|
}
|
||||||
|
@ -320,9 +320,9 @@ public struct StatusRowView: View {
|
|||||||
ProgressView()
|
ProgressView()
|
||||||
} else {
|
} else {
|
||||||
if let statusLanguage = status.language,
|
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 {
|
} else {
|
||||||
Text("status.action.translate")
|
Text("status.action.translate")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user