It is customary in C source code and xgettext has problems with
backslahes in #line comments.
Fixes #10727.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64435
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
for (ExtractedStrings::const_iterator i = str.begin(); i != str.end(); ++i)
{
+ const wxFileName filename(i->filename);
+
wxString s;
+ s.Printf("#line %d \"%s\"\n",
+ i->lineNo, filename.GetFullPath(wxPATH_UNIX));
- s.Printf("#line %d \"%s\"\n", i->lineNo, i->filename);
fout.Write(s);
fout.Write("_(\"" + i->str + "\");\n");
}