Defined the localizations for the unavailable content inside the ContentView view in the app target.
This commit is contained in:
@@ -45,6 +45,27 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.content.content-unavailable.description" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Choose a task group from the sidebar"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.content.content-unavailable.title" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Select a Group"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.new-task.navigation.title" : {
|
||||
"extractionState" : "manual",
|
||||
@@ -122,6 +143,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"view.task-list-content.content-unavailable.title" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
|
||||
@@ -44,9 +44,9 @@ struct ContentView: View {
|
||||
}
|
||||
else {
|
||||
ContentUnavailableView(
|
||||
"Select a Group",
|
||||
"view.content.content-unavailable.title",
|
||||
systemImage: "sidebar.left",
|
||||
description: Text("Choose a task group from the sidebar")
|
||||
description: Text("view.content.content-unavailable.description")
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ extension TaskGroupListView {
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("\(count)")
|
||||
Text(String(count))
|
||||
.font(.title)
|
||||
.fontWeight(.bold)
|
||||
.foregroundStyle(group.color)
|
||||
|
||||
Reference in New Issue
Block a user