parent
ea7f80e6aa
commit
39f92391dc
File diff suppressed because one or more lines are too long
@ -3,6 +3,7 @@
|
||||
<h2 class="page_heading">{{ $t('sidebar.about') }}</h2>
|
||||
<ul>
|
||||
<li>{{ $t('about.updates.currentVersion') }}: <span v-if="current">{{ current }}</span><span v-else>{{ $t('about.updates.versionNotAvailable') }}</span></li>
|
||||
<li>{{ $t('about.updates.deemixVersion') }}: {{ deemixVersion }}</li>
|
||||
<li v-if="updateAvailable && latest">{{ $t('about.updates.updateAvailable', {version: latest}) }}</li>
|
||||
</ul>
|
||||
|
||||
@ -206,14 +207,16 @@ export default {
|
||||
ethereum,
|
||||
current: null,
|
||||
latest: null,
|
||||
updateAvailable: false
|
||||
updateAvailable: false,
|
||||
deemixVersion: null
|
||||
}),
|
||||
methods: {
|
||||
initUpdate(data){
|
||||
const { currentCommit, latestCommit, updateAvailable } = data
|
||||
const { currentCommit, latestCommit, updateAvailable, deemixVersion } = data
|
||||
this.current = currentCommit
|
||||
this.latest = latestCommit
|
||||
this.updateAvailable = updateAvailable
|
||||
this.deemixVersion = deemixVersion
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -44,7 +44,8 @@ const en = {
|
||||
updates: {
|
||||
currentVersion: 'Current Version',
|
||||
versionNotAvailable: 'N/A',
|
||||
updateAvailable: `You're not running the latest version available: {version}`
|
||||
updateAvailable: `You're not running the latest version available: {version}`,
|
||||
deemixVersion: 'deemix lib version'
|
||||
},
|
||||
titles: {
|
||||
usefulLinks: 'Useful Links',
|
||||
|
@ -44,7 +44,8 @@ const it = {
|
||||
updates: {
|
||||
currentVersion: 'Versione corrente',
|
||||
versionNotAvailable: 'N/A',
|
||||
updateAvailable: `Non stai usando l'ultima versione disponibile: {version}`
|
||||
updateAvailable: `Non stai usando l'ultima versione disponibile: {version}`,
|
||||
deemixVersion: 'Versione libreria deemix'
|
||||
},
|
||||
titles: {
|
||||
usefulLinks: 'Link Utili',
|
||||
|
Loading…
Reference in New Issue
Block a user