<table><tr><td style="">dfaure updated this revision to Diff 70212.<br />dfaure retitled this revision from "I18N_NOOP2 was deprecated but we can't replace by I18NC_NOOP as it expends it as 2 elements (context + text)" to "Provide I18NC_NOOP_STRIP as a new name for the deprecated I18N_NOOP2".<br />dfaure edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-nk7k4wu7epgggzl/">(Show Details)</a><br />dfaure added a reviewer: aacid.<br />dfaure added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24884">View Revision</a></tr></table><br /><div><div><p>Improve docu, update version, change commit log</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">It will break code as:<br />
struct MessageStatusInfo { const char *text; const char *icon;};<br />
static const MessageStatusInfoStatusValues[] = {<br />
{ I18N_NOOP2("message status"</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and document the pitfalls</span>, <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">"Important"),}<br />
<br />
it will return 3 elements and not 2.<br />
<br />
I think that idea was to remove this macro as name was not good.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">where to use I18NC_NOOP, and where to use</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">So I added a new macro which strip context<br />
<br />
Allow to replace </span>I18N_NOOP2<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> macro</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">.</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R249 KI18n</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D24884?vs=68594&id=70212">https://phabricator.kde.org/D24884?vs=68594&id=70212</a></div></div><br /><div><strong>BRANCH</strong><div><div>arcpatch-D24884</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24884">https://phabricator.kde.org/D24884</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/klocalizedstring.h</div></div></div><br /><div><strong>To: </strong>mlaurent, dfaure, ilic, aacid<br /><strong>Cc: </strong>kossebau, aacid, vkrause, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>