@@ -89,7 +89,7 @@ func CheckSource(ctx context.Context, conf *models.ConnectionTest, imageContent
89
89
tcResponse = & models.TestConnection {
90
90
Status : models .TCStatusNotice ,
91
91
Result : models .TCResultUnverifiedDB ,
92
- Message : "Too many databases are supposed to be checked. Only the following databases have been verified: " +
92
+ Message : "Too many databases were requested to be checked. Only the following databases have been verified: " +
93
93
strings .Join (dbList , ", " ),
94
94
}
95
95
}
@@ -263,15 +263,17 @@ func buildExtensionsWarningMessage(dbName string, missingExtensions, unsupported
263
263
sb := & strings.Builder {}
264
264
265
265
if len (missingExtensions ) > 0 {
266
- sb .WriteString ("There are missing extensions in the \" " + dbName + "\" database:" )
266
+ sb .WriteString ("The image specified in section \" databaseContainer\" lacks the following " +
267
+ "extensions used in the source database (\" " + dbName + "\" ):" )
267
268
268
269
formatExtensionList (sb , missingExtensions )
269
270
270
271
sb .WriteString (".\n " )
271
272
}
272
273
273
274
if len (unsupportedVersions ) > 0 {
274
- sb .WriteString ("There are extensions with an unsupported version in the \" " + dbName + "\" database:" )
275
+ sb .WriteString ("The source database (\" " + dbName + "\" ) uses extensions that are present " +
276
+ "in image specified in section \" databaseContainer\" but their versions are not supported by the image:" )
275
277
276
278
formatExtensionList (sb , unsupportedVersions )
277
279
}
@@ -336,7 +338,8 @@ func buildLocalesWarningMessage(dbName string, missingLocales []locale) string {
336
338
sb := & strings.Builder {}
337
339
338
340
if length := len (missingLocales ); length > 0 {
339
- sb .WriteString ("There are missing locales in the \" " + dbName + "\" database:" )
341
+ sb .WriteString ("The image specified in section \" databaseContainer\" lacks the following " +
342
+ "locales used in the source database (\" " + dbName + "\" ):" )
340
343
341
344
for i , missing := range missingLocales {
342
345
sb .WriteString (fmt .Sprintf (" '%s' (collate: %s, ctype: %s)" , missing .name , missing .collate , missing .ctype ))
0 commit comments