@@ -121,8 +121,8 @@ namespace OnixSourcePlugin
121
121
122
122
if (json == var ())
123
123
{
124
- Onix1::showWarningMessageBoxAsync (" Unable to Parse File" , " The file " + file.getFileName ().toStdString () + " could not be parsed. " +
125
- " Please ensure that the file exists and is readable ." );
124
+ Onix1::showWarningMessageBoxAsync (" Unable to Parse File" , " The file ' " + file.getFileName ().toStdString () + " ' could not be parsed. " +
125
+ " Please ensure that the file exists and is in the correct format ." );
126
126
return false ;
127
127
}
128
128
@@ -136,8 +136,8 @@ namespace OnixSourcePlugin
136
136
137
137
if (specification.compare (probeInterfaceSpecification) != 0 )
138
138
{
139
- Onix1::showWarningMessageBoxAsync (" Invalid Specification" , " The specification listed in the Probe Interface file is " + specification +
140
- " , but it is expected to be " + probeInterfaceSpecification + " ." );
139
+ Onix1::showWarningMessageBoxAsync (" Invalid Specification" , " The specification listed in the Probe Interface file is ' " + specification +
140
+ " ' , but it is expected to be ' " + probeInterfaceSpecification + " ' ." );
141
141
return false ;
142
142
}
143
143
}
@@ -164,8 +164,8 @@ namespace OnixSourcePlugin
164
164
{
165
165
if (!probe->getProperty (Identifier (" ndim" )).equalsWithSameType (2 ))
166
166
{
167
- Onix1::showWarningMessageBoxAsync (" Invalid Number of Dimensions" , " Expected this file to contain two dimensions, but found "
168
- + probe->getProperty (Identifier (" ndim" )).toString ().toStdString () + " instead." );
167
+ Onix1::showWarningMessageBoxAsync (" Invalid Number of Dimensions" , " Expected this file to contain two dimensions, but found ` "
168
+ + probe->getProperty (Identifier (" ndim" )).toString ().toStdString () + " ` instead." );
169
169
return false ;
170
170
}
171
171
}
@@ -181,8 +181,8 @@ namespace OnixSourcePlugin
181
181
182
182
if (!probe->getProperty (Identifier (" si_units" )).equalsWithSameType (var (um)))
183
183
{
184
- Onix1::showWarningMessageBoxAsync (" Unexpected Units Found" , " Expected to see units " + um + " , but found "
185
- + probe->getProperty (Identifier (" si_units" )).toString ().toStdString () + " instead." );
184
+ Onix1::showWarningMessageBoxAsync (" Unexpected Units Found" , " Expected to see units ` " + um + " ` , but found ` "
185
+ + probe->getProperty (Identifier (" si_units" )).toString ().toStdString () + " ` instead." );
186
186
return false ;
187
187
}
188
188
}
0 commit comments