]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/text-stream.cc
release: 0.1.24
[lilypond.git] / flower / text-stream.cc
index f9a8307226bcaf03fdaed9d45feb4a02152d3aa2..01d2e8ef5cc24dba9b930ec3ea2aeb9b8042d9f7 100644 (file)
@@ -3,21 +3,21 @@
 Text_stream::Text_stream (String fn)
 {
   ios::sync_with_stdio();
-  if (fn == "") 
+  if (fn == "")
            {
-           name = "<STDIN>";       
+           name = _("<STDIN>");
            f = stdin;
              }
-       
-       else 
+
+       else
            {
-           name = fn;      
+           name = fn;
            f = fopen (fn.ch_C (), "r");
              }
-       
-       if (!f) 
+
+       if (!f)
          {
-           cerr <<__FUNCTION__<< ": can't open `" << fn << "'\n";
+           cerr <<__FUNCTION__<< _(": can't open `") << fn << "'\n";
            exit (1);
          }
 
@@ -29,4 +29,3 @@ Text_stream::message (String s)
 {
   cerr << "\n"<<get_name() << ": " << line ()<<": "<<s<<endl;
 }
-