From e4075153def021c3405accb19ffcdc3247d98807 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 2 Dec 2001 18:55:35 +0000 Subject: Comments and so... --- lib/Regex.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Regex.cc') diff --git a/lib/Regex.cc b/lib/Regex.cc index 3c566bd..41c55c7 100644 --- a/lib/Regex.cc +++ b/lib/Regex.cc @@ -8,10 +8,10 @@ Regex::Regex(const String & regex, int acflags, int aeflags) throw (GeneralExcep int r; if ((r = regcomp(&preg, pattern, cflags | REG_NOSUB))) { - cerr << "Error in regcomp:"; + cerr << _("Error in regcomp:"); regerror(r, &preg, t, sizeof(t)); cerr << t << endl; - throw GeneralException(String("Regex \"") + regex + "\" failed to compile: " + t + "\n"); + throw GeneralException(String(_("Regex \"")) + regex + _("\" failed to compile: ") + t + "\n"); } } @@ -22,7 +22,7 @@ Regex::Regex(const Regex & regex) : pattern(Base::strdup(pattern)) { cerr << "Error in regcomp:"; regerror(r, &preg, t, sizeof(t)); cerr << t << endl; - throw GeneralException(String("Regex \"") + pattern + "\" failed to compile: " + t + "\n"); + throw GeneralException(String(_("Regex \"")) + pattern + _("\" failed to compile: ") + t + "\n"); } } -- cgit v1.2.3