<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: apol, Discover Software Store.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />ngraham requested review of this revision.
</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/D23250">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Sometimes, <tt style="background: #ebebeb; font-size: 13px;">availableVersion</tt> isn't set when the <tt style="background: #ebebeb; font-size: 13px;">i18n()</tt> string is built, leading to ugly<br />
"argument not found" errors. This is an attempt to fix it by not even using a localized<br />
string anymore, since the only part of it that's really localizable is the direction of<br />
the arrow. This is easy enough to toggle manually, so let's do that instead.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Hard to reproduce, but in my testing, it works, and the available version string is<br />
empty until set, rather than showing a string formatting error.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R134 Discover Software Store</div></div></div><br /><div><strong>BRANCH</strong><div><div>try-to-fix-i18n-timing-error (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23250">https://phabricator.kde.org/D23250</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>discover/qml/UpdatesPage.qml</div></div></div><br /><div><strong>To: </strong>ngraham, apol, Discover Software Store<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>