mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2. browser patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy
This commit is contained in:
parent
3ce510c4ea
commit
db1efc2a1c
@ -302,6 +302,15 @@ appUpdater.prototype =
|
||||
return;
|
||||
}
|
||||
|
||||
if (gAppUpdater.update.unsupported) {
|
||||
if (gAppUpdater.update.detailsURL) {
|
||||
let unsupportedLink = document.getElementById("unsupportedLink");
|
||||
unsupportedLink.href = gAppUpdater.update.detailsURL;
|
||||
}
|
||||
gAppUpdater.selectPanel("unsupportedSystem");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!gAppUpdater.aus.canApplyUpdates) {
|
||||
gAppUpdater.selectPanel("manualUpdate");
|
||||
return;
|
||||
|
@ -82,6 +82,9 @@
|
||||
<hbox id="manualUpdate" align="center">
|
||||
<label>&update.manual.start;</label><label id="manualLink" class="text-link"/><label>&update.manual.end;</label>
|
||||
</hbox>
|
||||
<hbox id="unsupportedSystem" align="center">
|
||||
<label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
|
||||
</hbox>
|
||||
</deck>
|
||||
#endif
|
||||
</vbox>
|
||||
|
@ -66,6 +66,16 @@
|
||||
<!ENTITY update.manual.start "Updates available at ">
|
||||
<!ENTITY update.manual.end "">
|
||||
|
||||
<!-- LOCALIZATION NOTE (update.unsupported.start,update.unsupported.linkText,update.unsupported.end):
|
||||
update.unsupported.start, update.unsupported.linkText, and
|
||||
update.unsupported.end all go into one line with linkText being wrapped in
|
||||
an anchor that links to a site to provide additional information regarding
|
||||
why the system is no longer supported. As this is all in one line, try to
|
||||
make the localized text short (see bug 843497 for screenshots). -->
|
||||
<!ENTITY update.unsupported.start "You can not perform further updates on this system. ">
|
||||
<!ENTITY update.unsupported.linkText "Learn more">
|
||||
<!ENTITY update.unsupported.end "">
|
||||
|
||||
<!-- LOCALIZATION NOTE (update.downloading.start,update.downloading.end): update.downloading.start and
|
||||
update.downloading.end all go into one line, with the amount downloaded inserted in between. As this
|
||||
is all in one line, try to make the localized text short (see bug 596813 for screenshots). The — is
|
||||
|
Loading…
Reference in New Issue
Block a user