diff -r 737e466dae72 -r 48e429bfd58c src/file.cpp --- a/src/file.cpp Tue Jul 02 23:40:27 2013 +0300 +++ b/src/file.cpp Wed Jul 03 00:43:27 2013 +0300 @@ -354,7 +354,6 @@ ulong numWarnings; bool ok; vector objs = loadFileContents( f, &numWarnings, &ok ); - print( "ok: %1\n", ok ); if( !ok ) { @@ -411,7 +410,7 @@ } if( !save () ) { - message = fmt( "Failed to save %1: %2\nDo you still want to close?", + message = fmt( QObject::tr( "Failed to save %1: %2\nDo you still want to close?" ), name(), strerror( errno )); if( QMessageBox::critical( g_win, "Save Failure", message, @@ -529,7 +528,7 @@ { // Tell the user loading failed. setlocale( LC_ALL, "C" ); - critical( fmt( "Failed to open %1: %2", path, strerror( errno ))); + critical( fmt( QObject::tr( "Failed to open %1: %2" ), path, strerror( errno ))); } g_loadingMainFile = false;