[ui] Simplify error dialog titles and capitalize first letters

This commit is contained in:
Candice Bentéjac 2024-04-05 18:06:23 +02:00
parent dea13eb48a
commit 04a7191b15
3 changed files with 5 additions and 5 deletions

View file

@ -747,7 +747,7 @@ Item {
icon.text: MaterialIcons.error
icon.color: "#F44336"
title: "Different types of files"
title: "Different File Types"
text: "Do not mix .mg files and other types of files."
standardButtons: Dialog.Ok

View file

@ -481,13 +481,13 @@ Panel {
verticalAlignment: Text.AlignVCenter
text: {
if (nbMeshroomScenes != nbDraggedFiles && nbMeshroomScenes != 0) {
return "Do not mix project and images"
return "Cannot Add Projects And Images Together"
}
if (nbMeshroomScenes == 1 && nbMeshroomScenes == nbDraggedFiles) {
return "Load Project"
} else if (nbMeshroomScenes == nbDraggedFiles) {
return "Only one project"
return "Only One Project"
} else {
return "Add Images"
}
@ -936,7 +936,7 @@ Panel {
icon.text: MaterialIcons.error
icon.color: "#F44336"
title: "Different types of files"
title: "Different File Types"
text: "Do not mix .mg files and other types of files."
standardButtons: Dialog.Ok

View file

@ -789,7 +789,7 @@ class Reconstruction(UIGraph):
if len(filesByType["meshroomScenes"]) > 1:
self.error.emit(
Message(
"Too many Meshroom Scenes",
"Too Many Meshroom Scenes",
"A single Meshroom scene (.mg file) can be imported at once."
)
)