]> git.donarmstrong.com Git - lilypond.git/blobdiff - lib/input.cc
release: 0.1.24
[lilypond.git] / lib / input.cc
index 3ef073cb39620a3fadeb018d4c5b1803379c818d..7c5fed9720915038df1e28e769dc5494bc28fbd9 100644 (file)
@@ -39,14 +39,14 @@ void
 Input::message(String message_str) const
 {
     String str = "";
-    
-    if (source_file_l_) 
+
+    if (source_file_l_)
       {
        str += location_str() + String(": ");
       }
-    
+
     str += message_str;
-    if (source_file_l_) 
+    if (source_file_l_)
       {
        str += ":\n";
        str += source_file_l_->error_str(defined_ch_C_);
@@ -57,19 +57,19 @@ Input::message(String message_str) const
 void
 Input::warning(String message_str) const
 {
-    message("warning: " + message_str);
+    message(_("warning: ") + message_str);
 }
 void
 Input::error(String s) const
 {
-    message("error: "+ s);
+    message(_("error: ")+ s);
 }
 
 String
 Input::location_str() const
 {
-    if (source_file_l_) 
+    if (source_file_l_)
        return source_file_l_->file_line_no_str(defined_ch_C_);
     else
-       return "(location unknown)";
+       return _("(location unknown)");
 }