- applied patch that adds more i18n support to XRC handlers
- added ; to ends of lines in gettext output - needed for older gettext tools? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
02df379910
commit
0653d364dd
@ -514,7 +514,7 @@ void XmlResApp::OutputGettext()
|
||||
else fout.Open(parOutput, _T("wt"));
|
||||
|
||||
for (size_t i = 0; i < str.GetCount(); i++)
|
||||
fout.Write(_T("_(\"") + str[i] + _T("\")\n"));
|
||||
fout.Write(_T("_(\"") + str[i] + _T("\");\n"));
|
||||
|
||||
if (!parOutput) fout.Detach();
|
||||
}
|
||||
@ -601,7 +601,8 @@ wxArrayString XmlResApp::FindStrings(wxXmlNode *node)
|
||||
node/*not n!*/->GetName() == _T("longhelp") ||
|
||||
node/*not n!*/->GetName() == _T("tooltip") ||
|
||||
node/*not n!*/->GetName() == _T("htmlcode") ||
|
||||
node/*not n!*/->GetName() == _T("title")
|
||||
node/*not n!*/->GetName() == _T("title") ||
|
||||
node/*not n!*/->GetName() == _T("item")
|
||||
))
|
||||
// ...and known to contain translatable string
|
||||
{
|
||||
|
@ -514,7 +514,7 @@ void XmlResApp::OutputGettext()
|
||||
else fout.Open(parOutput, _T("wt"));
|
||||
|
||||
for (size_t i = 0; i < str.GetCount(); i++)
|
||||
fout.Write(_T("_(\"") + str[i] + _T("\")\n"));
|
||||
fout.Write(_T("_(\"") + str[i] + _T("\");\n"));
|
||||
|
||||
if (!parOutput) fout.Detach();
|
||||
}
|
||||
@ -601,7 +601,8 @@ wxArrayString XmlResApp::FindStrings(wxXmlNode *node)
|
||||
node/*not n!*/->GetName() == _T("longhelp") ||
|
||||
node/*not n!*/->GetName() == _T("tooltip") ||
|
||||
node/*not n!*/->GetName() == _T("htmlcode") ||
|
||||
node/*not n!*/->GetName() == _T("title")
|
||||
node/*not n!*/->GetName() == _T("title") ||
|
||||
node/*not n!*/->GetName() == _T("item")
|
||||
))
|
||||
// ...and known to contain translatable string
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user