mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 13:36:31 +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.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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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."
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue