This commit is contained in:
syuilo
2020-12-26 10:47:36 +09:00
parent 9d81d06853
commit 5a8cc7851b
200 changed files with 1562 additions and 1533 deletions

View File

@ -8,7 +8,7 @@
</XQueue>
<section class="_section">
<div class="_content">
<MkButton @click="clear()"><Fa :icon="faTrashAlt"/> {{ $t('clearQueue') }}</MkButton>
<MkButton @click="clear()"><Fa :icon="faTrashAlt"/> {{ $ts.clearQueue }}</MkButton>
</div>
</section>
</div>
@ -31,7 +31,7 @@ export default defineComponent({
data() {
return {
INFO: {
title: this.$t('jobQueue'),
title: this.$ts.jobQueue,
icon: faExchangeAlt,
},
connection: os.stream.useSharedConnection('queueStats'),
@ -56,8 +56,8 @@ export default defineComponent({
clear() {
os.dialog({
type: 'warning',
title: this.$t('clearQueueConfirmTitle'),
text: this.$t('clearQueueConfirmText'),
title: this.$ts.clearQueueConfirmTitle,
text: this.$ts.clearQueueConfirmText,
showCancelButton: true
}).then(({ canceled }) => {
if (canceled) return;