Change: a simpler installUpdateFromLabel
This commit is contained in:
parent
ecc306dd1f
commit
d59f24caa6
|
@ -431,13 +431,8 @@
|
|||
}
|
||||
},
|
||||
"installUpdateFromLabel": {
|
||||
"message": "Install update from $url$",
|
||||
"description": "Label for the checkbox to save current URL for update check",
|
||||
"placeholders": {
|
||||
"url": {
|
||||
"content": "$1"
|
||||
}
|
||||
}
|
||||
"message": "Check for updates",
|
||||
"description": "Label for the checkbox to save current URL for update check"
|
||||
},
|
||||
"license": {
|
||||
"message": "License",
|
||||
|
|
|
@ -243,7 +243,7 @@
|
|||
// set updateUrl
|
||||
const setUpdate = $('.set-update-url input[type=checkbox]');
|
||||
const updateUrl = new URL(params.get('updateUrl'));
|
||||
$('.set-update-url > span').textContent = t('installUpdateFromLabel', updateUrl.href);
|
||||
$('.set-update-url > span').textContent = t('installUpdateFromLabel');
|
||||
if (dup && dup.updateUrl === updateUrl.href) {
|
||||
setUpdate.checked = true;
|
||||
// there is no way to "unset" updateUrl, you can only overwrite it.
|
||||
|
|
Loading…
Reference in New Issue
Block a user