@@ -158,7 +158,7 @@ export class translate implements ng.IDirective {
158158 if ( result == "%%KEY_NOT_FOUND%%" || result == "" ) {
159159 if ( global_translate_notfound . indexOf ( lib + "." + value ) === - 1 ) {
160160 global_translate_notfound . push ( lib + "." + value ) ;
161- console . log ( "KEY_NOT_FOUND " + lib + "." + value ) ;
161+ console . debug ( "KEY_NOT_FOUND " + lib + "." + value ) ;
162162 }
163163 result = value ;
164164 }
@@ -336,10 +336,8 @@ export class entitiesCtrl<T> {
336336 const end = errIdx + context >= txt . length
337337 ? txt . length
338338 : errIdx + context
339- e . message += ` while parsing near "${
340- start === 0 ? "" : "..."
341- } ${ txt . slice ( start , end ) } ${
342- end === txt . length ? "" : "..."
339+ e . message += ` while parsing near "${ start === 0 ? "" : "..."
340+ } ${ txt . slice ( start , end ) } ${ end === txt . length ? "" : "..."
343341 } "`
344342 } else {
345343 e . message += ` while parsing "${ txt . slice ( 0 , context * 2 ) } "`
@@ -349,7 +347,7 @@ export class entitiesCtrl<T> {
349347 }
350348 async loadData ( ) : Promise < void > {
351349 try {
352- if ( this . loading == true ) { console . log ( "allready loading data, exit" ) ; return ; }
350+ if ( this . loading == true ) { console . debug ( "allready loading data, exit" ) ; return ; }
353351 this . errormessage = "" ;
354352 this . loading = true ;
355353 if ( this . preloadData != null ) {
@@ -496,7 +494,7 @@ export class entityCtrl<T> {
496494 }
497495 async loadData ( ) : Promise < void > {
498496 try {
499- if ( this . loading == true ) { console . log ( "allready loading data, exit" ) ; return ; }
497+ if ( this . loading == true ) { console . debug ( "allready loading data, exit" ) ; return ; }
500498 this . errormessage = "" ;
501499 let updated : boolean = false ;
502500 this . loading = true ;
0 commit comments