<table><tr><td style="">wbauer updated this revision to Diff 25536.<br />wbauer edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-emvee5zmturmee7/" rel="noreferrer">(Show Details)</a><br />wbauer edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ps2usax2nwvtovr/" rel="noreferrer">(Show Details)</a><br />wbauer 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/D9793" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Leave bcp47Name() in for compatibility, add const.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>This patch <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">instead</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">additionally</span> tries to fall back to the general language by taking the part of the locale name before the first '_'.<br />
</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>With this patch the buttons are translated, the translations are now loaded from share/locale/de/ (after trying share/locale/de_AT/ and <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">failing</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">share/locale/de-AT/, which both fail</span>).<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D9793?vs=25091&id=25536" rel="noreferrer">https://phabricator.kde.org/D9793?vs=25091&id=25536</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9793" rel="noreferrer">https://phabricator.kde.org/D9793</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>modules/ECMQmLoader.cpp.in<br />
tests/ECMPoQmToolsTest/check.cmake.in</div></div></div><br /><div><strong>To: </strong>wbauer, Frameworks<br /><strong>Cc: </strong>aacid, safaalfulaij, Build System<br /></div>