diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/HistoryStats/src/column_wordcount.cpp | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryStats/src/column_wordcount.cpp')
-rw-r--r-- | plugins/HistoryStats/src/column_wordcount.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/plugins/HistoryStats/src/column_wordcount.cpp b/plugins/HistoryStats/src/column_wordcount.cpp index d058b1bbe1..a00d9c510d 100644 --- a/plugins/HistoryStats/src/column_wordcount.cpp +++ b/plugins/HistoryStats/src/column_wordcount.cpp @@ -125,8 +125,8 @@ void ColWordCount::impl_outputRenderHeader(ext::ostream& tos, int row, int rowSp if (row == 1)
{
ext::string strTitle = str(ext::kformat(TranslateT("#{type} for #{data}"))
- % _T("#{type}") * TranslateTS(szTypeDesc[m_nVisMode])
- % _T("#{data}") * TranslateTS(szSourceDesc[m_nSource]));
+ % L"#{type}" * TranslateTS(szTypeDesc[m_nVisMode])
+ % L"#{data}" * TranslateTS(szSourceDesc[m_nSource]));
writeRowspanTD(tos, getCustomTitle(TranslateTS(szTypeDesc[m_nVisMode]), strTitle), row, 1, rowSpan);
}
@@ -142,18 +142,18 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac {
if (!m_bDetail)
{
- tos << _T("<td class=\"num\">")
+ tos << L"<td class=\"num\">"
<< utils::intToGrouped(pWordCount[0])
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
else
{
- tos << _T("<td class=\"num\" title=\"")
+ tos << L"<td class=\"num\" title=\""
<< utils::htmlEscape(ext::str(ext::kformat(TranslateT("#{distict_words} distinct"))
- % _T("#{distict_words}") * utils::intToGrouped(pWordCount[1])))
- << _T("\">")
+ % L"#{distict_words}" * utils::intToGrouped(pWordCount[1])))
+ << L"\">"
<< utils::intToGrouped(pWordCount[0])
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
}
break;
@@ -162,18 +162,18 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac {
if (!m_bDetail)
{
- tos << _T("<td class=\"num\">")
+ tos << L"<td class=\"num\">"
<< utils::intToGrouped(pWordCount[1])
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
else
{
- tos << _T("<td class=\"num\" title=\"")
+ tos << L"<td class=\"num\" title=\""
<< utils::htmlEscape(ext::str(ext::kformat(TranslateT("#{words} total"))
- % _T("#{words}") * utils::intToGrouped(pWordCount[0])))
- << _T("\">")
+ % L"#{words}" * utils::intToGrouped(pWordCount[0])))
+ << L"\">"
<< utils::intToGrouped(pWordCount[1])
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
}
break;
@@ -182,19 +182,19 @@ void ColWordCount::impl_outputRenderRow(ext::ostream& tos, const Contact& contac {
if (!m_bDetail)
{
- tos << _T("<td class=\"num\">")
+ tos << L"<td class=\"num\">"
<< utils::ratioToString(pWordCount[0], pWordCount[1], 2)
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
else
{
- tos << _T("<td class=\"num\" title=\"")
+ tos << L"<td class=\"num\" title=\""
<< utils::htmlEscape(ext::str(ext::kformat(TranslateT("#{words} total / #{distict_words} distinct"))
- % _T("#{words}") * utils::intToGrouped(pWordCount[0])
- % _T("#{distict_words}") * utils::intToGrouped(pWordCount[1])))
- << _T("\">")
+ % L"#{words}" * utils::intToGrouped(pWordCount[0])
+ % L"#{distict_words}" * utils::intToGrouped(pWordCount[1])))
+ << L"\">"
<< utils::ratioToString(pWordCount[0], pWordCount[1], 2)
- << _T("</td>") << ext::endl;
+ << L"</td>" << ext::endl;
}
}
break;
|