Defined the localizations for the unavailable content inside the ContentView view in the app target.

This commit is contained in:
2026-02-12 04:15:10 +01:00
parent c02f027687
commit 9d58f8ddec
3 changed files with 25 additions and 3 deletions
+22
View File
@@ -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" : {
+2 -2
View File
@@ -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)