This commit is contained in:
Gamebrary 2020-11-03 15:12:49 -07:00
parent d5be718398
commit 7a2efea095
2 changed files with 8 additions and 10 deletions

View file

@ -3,7 +3,7 @@
v-b-modal.progress v-b-modal.progress
v-b-tooltip.hover v-b-tooltip.hover
variant="info" variant="info"
title="Set game progress" :title="$t('progresses.modalTitle')"
> >
<icon name="clock" white /> <icon name="clock" white />
@ -15,17 +15,17 @@
:body-text-variant="nightMode ? 'white' : null" :body-text-variant="nightMode ? 'white' : null"
:footer-bg-variant="nightMode ? 'dark' : null" :footer-bg-variant="nightMode ? 'dark' : null"
:footer-text-variant="nightMode ? 'white' : 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" @show="show"
> >
<template v-slot:modal-header="{ close }"> <template v-slot:modal-header="{ close }">
<modal-header <modal-header
title="Set game progress" :title="$t('progresses.modalTitle')"
@close="close" @close="close"
/> />
</template> </template>
<b-input-group :prepend="`${localProgress}%`" class="mb-4" size="lg"> <b-input-group :prepend="`${localProgress}%`" size="lg">
<b-form-input <b-form-input
size="lg" size="lg"
v-model="localProgress" v-model="localProgress"
@ -42,7 +42,7 @@
@click="deleteProgress" @click="deleteProgress"
> >
<b-spinner small v-if="deleting" /> <b-spinner small v-if="deleting" />
<span v-else>{{ $t('progresses.deleteProgress') }}</span> <span v-else>{{ $t('global.delete') }}</span>
</b-button> </b-button>
<b-button <b-button
@ -51,7 +51,7 @@
@click="saveProgress" @click="saveProgress"
> >
<b-spinner small v-if="saving" /> <b-spinner small v-if="saving" />
<span v-else>{{ $t('progresses.save') }}</span> <span v-else>{{ $t('global.save') }}</span>
</b-button> </b-button>
</template> </template>
</b-modal> </b-modal>

View file

@ -218,10 +218,8 @@
"subtitle": "Readme from Github" "subtitle": "Readme from Github"
}, },
"progresses": { "progresses": {
"modalTitle": "Set game progress", "modalTitle": "Game progress",
"addProgress": "Add progress", "addProgress": "Add progress",
"save": "Save progress",
"deleteProgress": "Delete progress",
"progresses": "Progress" "progresses": "Progress"
}, },
"platforms": { "platforms": {
@ -247,6 +245,6 @@
}, },
"notes": { "notes": {
"title": "Notes", "title": "Notes",
"subtitle": "Notes!" "subtitle": "↑↑↓↓←→←→BA"
} }
} }