added i18n for history and queue on new buttons

This commit is contained in:
booploops 2022-02-03 22:38:41 -08:00
parent 7e476be492
commit 66f379f279
3 changed files with 3 additions and 3 deletions

View file

@ -33,6 +33,7 @@
"term.about": "About", "term.about": "About",
"term.privateSession": "Private Session", "term.privateSession": "Private Session",
"term.queue": "Queue", "term.queue": "Queue",
"term.history": "History",
"term.search": "Search", "term.search": "Search",
"term.library": "Library", "term.library": "Library",
"term.listenNow": "Listen Now", "term.listenNow": "Listen Now",

View file

@ -602,7 +602,6 @@ const app = new Vue({
}) })
this.$forceUpdate() this.$forceUpdate()
if (this.isDev) { if (this.isDev) {
less.watch() // automatically reload the styles when they change
this.mk.privateEnabled = true this.mk.privateEnabled = true
// Hide UserInfo if Dev mode // Hide UserInfo if Dev mode
} else { } else {

View file

@ -37,8 +37,8 @@
</div> </div>
<div class="queue-footer"> <div class="queue-footer">
<div class="btn-group" style="width:100%;"> <div class="btn-group" style="width:100%;">
<button class="md-btn md-btn-small" :class="{'md-btn-primary': (page == 'queue')}" @click="page = 'queue'">Queue</button> <button class="md-btn md-btn-small" :class="{'md-btn-primary': (page == 'queue')}" @click="page = 'queue'">{{app.getLz('term.queue')}}</button>
<button class="md-btn md-btn-small" :class="{'md-btn-primary': (page == 'history')}" @click="getHistory();page = 'history'">History</button> <button class="md-btn md-btn-small" :class="{'md-btn-primary': (page == 'history')}" @click="getHistory();page = 'history'">{{app.getLz('term.history')}}</button>
</div> </div>
<button class="md-btn md-btn-small" style="width:100%;margin-top:6px;" v-if="queueItems.length > 1" @click="app.mk.clearQueue();updateQueue()">{{app.getLz('term.clearAll')}}</button> <button class="md-btn md-btn-small" style="width:100%;margin-top:6px;" v-if="queueItems.length > 1" @click="app.mk.clearQueue();updateQueue()">{{app.getLz('term.clearAll')}}</button>
</div> </div>