mirror of
https://github.com/romancm/gamebrary
synced 2024-12-18 15:23:14 +00:00
clean up
This commit is contained in:
parent
d5be718398
commit
7a2efea095
2 changed files with 8 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
v-b-modal.progress
|
||||
v-b-tooltip.hover
|
||||
variant="info"
|
||||
title="Set game progress"
|
||||
:title="$t('progresses.modalTitle')"
|
||||
>
|
||||
<icon name="clock" white />
|
||||
|
||||
|
@ -15,17 +15,17 @@
|
|||
:body-text-variant="nightMode ? 'white' : null"
|
||||
:footer-bg-variant="nightMode ? 'dark' : null"
|
||||
:footer-text-variant="nightMode ? 'white' : null"
|
||||
footer-class="d-flex justify-content-between"
|
||||
footer-class="d-flex justify-content-between pt-0"
|
||||
@show="show"
|
||||
>
|
||||
<template v-slot:modal-header="{ close }">
|
||||
<modal-header
|
||||
title="Set game progress"
|
||||
:title="$t('progresses.modalTitle')"
|
||||
@close="close"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<b-input-group :prepend="`${localProgress}%`" class="mb-4" size="lg">
|
||||
<b-input-group :prepend="`${localProgress}%`" size="lg">
|
||||
<b-form-input
|
||||
size="lg"
|
||||
v-model="localProgress"
|
||||
|
@ -42,7 +42,7 @@
|
|||
@click="deleteProgress"
|
||||
>
|
||||
<b-spinner small v-if="deleting" />
|
||||
<span v-else>{{ $t('progresses.deleteProgress') }}</span>
|
||||
<span v-else>{{ $t('global.delete') }}</span>
|
||||
</b-button>
|
||||
|
||||
<b-button
|
||||
|
@ -51,7 +51,7 @@
|
|||
@click="saveProgress"
|
||||
>
|
||||
<b-spinner small v-if="saving" />
|
||||
<span v-else>{{ $t('progresses.save') }}</span>
|
||||
<span v-else>{{ $t('global.save') }}</span>
|
||||
</b-button>
|
||||
</template>
|
||||
</b-modal>
|
||||
|
|
|
@ -218,10 +218,8 @@
|
|||
"subtitle": "Readme from Github"
|
||||
},
|
||||
"progresses": {
|
||||
"modalTitle": "Set game progress",
|
||||
"modalTitle": "Game progress",
|
||||
"addProgress": "Add progress",
|
||||
"save": "Save progress",
|
||||
"deleteProgress": "Delete progress",
|
||||
"progresses": "Progress"
|
||||
},
|
||||
"platforms": {
|
||||
|
@ -247,6 +245,6 @@
|
|||
},
|
||||
"notes": {
|
||||
"title": "Notes",
|
||||
"subtitle": "Notes!"
|
||||
"subtitle": "↑↑↓↓←→←→BA"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue