@@ -106,7 +106,7 @@ export class AppComponent implements OnInit {
106
106
if ( result ) {
107
107
this . findInstanceByName ( result . name ) . then ( instance => {
108
108
if ( instance ) {
109
- this . util . showMessage ( 'The instance name already exists.' ) ;
109
+ this . util . showMessage ( 'The connection name already exists.' ) ;
110
110
return ;
111
111
} else {
112
112
const newInstance = { id : uuid ( ) , serverModel : result } ;
@@ -120,13 +120,13 @@ export class AppComponent implements OnInit {
120
120
121
121
onDeleteServer ( ) {
122
122
if ( ! this . currentInstance ) {
123
- this . util . showMessage ( 'You need to select Redis instance first.' ) ;
123
+ this . util . showMessage ( 'You need to select a Redis connection first.' ) ;
124
124
return ;
125
125
}
126
126
this . dialogService . open ( ConfirmDialogComponent , {
127
127
width : '250px' , data : {
128
128
title : 'Delete Confirmation' ,
129
- message : `Are you sure you want to delete this server ?`
129
+ message : `Are you sure you want to delete this Redis connection ?`
130
130
}
131
131
} ) . afterClosed ( ) . subscribe ( ret => {
132
132
if ( ret ) {
@@ -145,7 +145,7 @@ export class AppComponent implements OnInit {
145
145
this . instances$ . subscribe ( instances => {
146
146
const ins = instances . find ( i => i . selected === true ) ;
147
147
if ( ! ins ) {
148
- this . util . showMessage ( 'You need to select a Redis instance first.' ) ;
148
+ this . util . showMessage ( 'You need to select a Redis connection first.' ) ;
149
149
return ;
150
150
}
151
151
this . _store . dispatch ( new ReqRedisConnect ( {
@@ -248,7 +248,7 @@ export class AppComponent implements OnInit {
248
248
this . _store . dispatch ( new SelectRedis ( { id} ) ) ;
249
249
this . findInstance ( id ) . then ( instance => {
250
250
if ( ! instance [ 'id' ] ) {
251
- this . util . showMessage ( `The Redis instance with id: ${ id } cannot be found.` ) ;
251
+ this . util . showMessage ( `The Redis connection with id: ${ id } cannot be found.` ) ;
252
252
return ;
253
253
}
254
254
this . currentInstance = instance ;
@@ -417,7 +417,7 @@ export class AppComponent implements OnInit {
417
417
this . dialogService . open ( ImportDataDialogComponent , {
418
418
width : '560px' , data : {
419
419
title : 'Delete Confirmation' ,
420
- message : `Are you sure you want to delete this server ?` ,
420
+ message : `Are you sure you want to delete this Redis connection ?` ,
421
421
opType : 'import' ,
422
422
currentInstance : instance ,
423
423
instances,
@@ -435,7 +435,7 @@ export class AppComponent implements OnInit {
435
435
this . dialogService . open ( ImportDataDialogComponent , {
436
436
width : '560px' , data : {
437
437
title : 'Delete Confirmation' ,
438
- message : `Are you sure you want to delete this server ?` ,
438
+ message : `Are you sure you want to delete this Redis connection ?` ,
439
439
opType : 'export' ,
440
440
currentInstance : instance ,
441
441
instances,
0 commit comments