diff --git a/src/strings.js b/src/strings.js index 670ed01d..cd3c7907 100644 --- a/src/strings.js +++ b/src/strings.js @@ -82,7 +82,7 @@ $.extend( $, /** @lends OpenSeadragon */{ string = container[ props[ i ] ]; if ( typeof( string ) != "string" ) { - $.console.debug( "Untranslated source string:", prop ); + $.console.log( "Untranslated source string:", prop ); string = ""; // FIXME: this breaks gettext()-style convention, which would return source } diff --git a/test/modules/strings.js b/test/modules/strings.js index 0cc0d8d4..83f97d82 100644 --- a/test/modules/strings.js +++ b/test/modules/strings.js @@ -22,11 +22,11 @@ test("getInvalidString", function() { equal(OpenSeadragon.getString("Greeting"), "", "Handled unset string key"); - ok(testLog.debug.contains('["Untranslated source string:","Greeting"]'), + ok(testLog.log.contains('["Untranslated source string:","Greeting"]'), 'Invalid string keys are logged'); equal(OpenSeadragon.getString("Errors"), "", "Handled requesting parent key"); - ok(testLog.debug.contains('["Untranslated source string:","Errors"]'), + ok(testLog.log.contains('["Untranslated source string:","Errors"]'), 'Invalid string parent keys are logged'); });