mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-23 14:06:28 +02:00
[ui] Simplify error dialog titles and capitalize first letters
This commit is contained in:
parent
dea13eb48a
commit
04a7191b15
3 changed files with 5 additions and 5 deletions
|
@ -747,7 +747,7 @@ Item {
|
||||||
icon.text: MaterialIcons.error
|
icon.text: MaterialIcons.error
|
||||||
icon.color: "#F44336"
|
icon.color: "#F44336"
|
||||||
|
|
||||||
title: "Different types of files"
|
title: "Different File Types"
|
||||||
text: "Do not mix .mg files and other types of files."
|
text: "Do not mix .mg files and other types of files."
|
||||||
standardButtons: Dialog.Ok
|
standardButtons: Dialog.Ok
|
||||||
|
|
||||||
|
|
|
@ -481,13 +481,13 @@ Panel {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
text: {
|
text: {
|
||||||
if (nbMeshroomScenes != nbDraggedFiles && nbMeshroomScenes != 0) {
|
if (nbMeshroomScenes != nbDraggedFiles && nbMeshroomScenes != 0) {
|
||||||
return "Do not mix project and images"
|
return "Cannot Add Projects And Images Together"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nbMeshroomScenes == 1 && nbMeshroomScenes == nbDraggedFiles) {
|
if (nbMeshroomScenes == 1 && nbMeshroomScenes == nbDraggedFiles) {
|
||||||
return "Load Project"
|
return "Load Project"
|
||||||
} else if (nbMeshroomScenes == nbDraggedFiles) {
|
} else if (nbMeshroomScenes == nbDraggedFiles) {
|
||||||
return "Only one project"
|
return "Only One Project"
|
||||||
} else {
|
} else {
|
||||||
return "Add Images"
|
return "Add Images"
|
||||||
}
|
}
|
||||||
|
@ -936,7 +936,7 @@ Panel {
|
||||||
icon.text: MaterialIcons.error
|
icon.text: MaterialIcons.error
|
||||||
icon.color: "#F44336"
|
icon.color: "#F44336"
|
||||||
|
|
||||||
title: "Different types of files"
|
title: "Different File Types"
|
||||||
text: "Do not mix .mg files and other types of files."
|
text: "Do not mix .mg files and other types of files."
|
||||||
standardButtons: Dialog.Ok
|
standardButtons: Dialog.Ok
|
||||||
|
|
||||||
|
|
|
@ -789,7 +789,7 @@ class Reconstruction(UIGraph):
|
||||||
if len(filesByType["meshroomScenes"]) > 1:
|
if len(filesByType["meshroomScenes"]) > 1:
|
||||||
self.error.emit(
|
self.error.emit(
|
||||||
Message(
|
Message(
|
||||||
"Too many Meshroom Scenes",
|
"Too Many Meshroom Scenes",
|
||||||
"A single Meshroom scene (.mg file) can be imported at once."
|
"A single Meshroom scene (.mg file) can be imported at once."
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue