mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-26 02:15:38 +01:00
ui: adjust repair warning prompt layout
This commit is contained in:
parent
d194ed5dd5
commit
a3f0d0f999
@ -23,7 +23,7 @@
|
|||||||
"location_placeholder":"Enter a install path here",
|
"location_placeholder":"Enter a install path here",
|
||||||
"select":"Select",
|
"select":"Select",
|
||||||
"overwriting": "Overwriting",
|
"overwriting": "Overwriting",
|
||||||
"overwriting_warning": "Directory {path} already exists.<br>Are you sure you want to <b>overwrite</b> the contents inside?",
|
"overwriting_warning": "Directory <code>{path}</code> already exists.<br>Are you sure you want to <b>overwrite</b> the contents inside?",
|
||||||
"nothing_picked": "Nothing selected",
|
"nothing_picked": "Nothing selected",
|
||||||
"nothing_picked_warning": "Please select at least one package to install!",
|
"nothing_picked_warning": "Please select at least one package to install!",
|
||||||
"options": "Install Options",
|
"options": "Install Options",
|
||||||
@ -57,7 +57,7 @@
|
|||||||
"repair": "Repair",
|
"repair": "Repair",
|
||||||
"uninstall":"Uninstall",
|
"uninstall":"Uninstall",
|
||||||
"view_local_files": "View local files",
|
"view_local_files": "View local files",
|
||||||
"prompt_repair": "<b>WARNING:</b> All the files under {path} will be <b>deleted</b> as part of the repair process! Do you wish to proceed?",
|
"prompt_repair": "<b>WARNING:</b> All the files under <code>{path}</code> will be <b>deleted</b> as part of the repair process!<br>Do you wish to proceed?",
|
||||||
"prompt_recover": "Installer data for {name} is corrupted.<br>A repair is required to restore the installation.",
|
"prompt_recover": "Installer data for {name} is corrupted.<br>A repair is required to restore the installation.",
|
||||||
"prompt":"Are you sure you want to uninstall {name}?",
|
"prompt":"Are you sure you want to uninstall {name}?",
|
||||||
"prompt_confirm":"Uninstall {name}"
|
"prompt_confirm":"Uninstall {name}"
|
||||||
|
@ -61,9 +61,10 @@ export default {
|
|||||||
this.$router.push('/packages')
|
this.$router.push('/packages')
|
||||||
},
|
},
|
||||||
repair_packages: function () {
|
repair_packages: function () {
|
||||||
this.$buefy.dialog.alert({
|
this.$buefy.dialog.confirm({
|
||||||
title: this.$t('modify.repair'),
|
title: this.$t('modify.repair'),
|
||||||
message: this.$t('modify.prompt_recover', { name: this.$root.$data.attrs.name }),
|
message: this.$t('modify.prompt_repair', { path: this.$root.$data.metadata.install_path }),
|
||||||
|
cancelText: this.$t('cancel'),
|
||||||
confirmText: this.$t('continue'),
|
confirmText: this.$t('continue'),
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
hasIcon: true,
|
hasIcon: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user