Add version to info-menu and index.html

This commit is contained in:
Lukas Rieger (Blue) 2022-09-11 23:20:15 +02:00
parent 204aca189f
commit 6584137885
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
25 changed files with 55 additions and 46 deletions

View File

@ -5,6 +5,7 @@
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description"
content="BlueMap is a tool that generates 3D maps of your Minecraft worlds and displays them in your browser">
<meta name="version" content="%version%">
<meta name="keywords" content="bluemap, map, minecraft, minecraft map">
<meta name="theme-color" content="#006EDE">
<meta name="og:site_name" content="BlueMap">

View File

@ -136,8 +136,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Mapa byla vygenerována s &#9829; pomocí <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Mapa byla vygenerována s &#9829; pomocí <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -140,8 +140,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Diese Map wurde mit &#9829; von <a href="https://bluecolo.red/bluemap">BlueMap</a> generiert.
<p class="info-footer">
Diese Map wurde mit &#9829; von <a href="https://bluecolo.red/bluemap">BlueMap</a> {version} generiert
</p>
`
}

View File

@ -140,8 +140,8 @@ export default {
</table>
</p>
<br><hr>
<p>
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Este mapa ha sido generado con &#9829; usando <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Este mapa ha sido generado con &#9829; usando <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Tämä kartta on tehty rakkaudella &#9829; käyttäen <a href="https://bluecolo.red/bluemap">BlueMap</a> -ohjelmaa.
<p class="info-footer">
Tämä kartta on tehty rakkaudella &#9829; käyttäen <a href="https://bluecolo.red/bluemap">BlueMap</a> {version} -ohjelmaa
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Cette carte a été générée avec &#9829; par <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Cette carte a été générée avec &#9829; par <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
उपय कर उतपन <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
उपय कर उतपन <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Ez a térkép &#9829; a <a href="https://bluecolo.red/bluemap">BlueMap</a> segítségével lett generálva.
<p class="info-footer">
Ez a térkép &#9829; a <a href="https://bluecolo.red/bluemap">BlueMap</a> {version} segítségével lett generálva
</p>
`
}

View File

@ -136,8 +136,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Questa mappa e' stata generata con &#9829; usando <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Questa mappa e' stata generata con &#9829; usando <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
このマップは<a href="https://bluecolo.red/bluemap">BlueMap</a>&#9829;
<p class="info-footer">
このマップは<a href="https://bluecolo.red/bluemap">BlueMap</a> {version}&#9829;
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
지도는 &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a> .
<p class="info-footer">
지도는 &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -137,8 +137,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Šī karte veidota ar &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Šī karte veidota ar &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Deze kaart is met &#9829; door <a href="https://bluecolo.red/bluemap">BlueMap</a> gegenereerd.
<p class="info-footer">
Deze kaart is met &#9829; door <a href="https://bluecolo.red/bluemap">BlueMap</a> {version} gegenereerd
</p>
`
}

View File

@ -163,8 +163,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Ta mapa została wygenerowana z &#9829; używając <a href="https://bluecolo.red/bluemap">BlueMap</a>.</p>
<p class="info-footer">
Ta mapa została wygenerowana z &#9829; używając <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}</p>
`
}
}

View File

@ -137,8 +137,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Este mapa foi gerado com &#9829; usando o <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Este mapa foi gerado com &#9829; usando o <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -136,8 +136,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Эта карта сгенерирована с &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Эта карта сгенерирована с &#9829; <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Denna karta har blivit genererad med &#9829; med hjälp av <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Denna karta har blivit genererad med &#9829; med hjälp av <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -138,8 +138,8 @@ export default {
</table>
</p>
<br><hr>
<p>
Цю карту було згенеровано з &#9829; використовуючи <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
Цю карту було згенеровано з &#9829; використовуючи <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -137,8 +137,8 @@ export default {
</table>
</p>
<br><hr>
<p>
本地图由 &#9829 生成; 正在使用 <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
本地图由 &#9829 生成; 正在使用 <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -136,8 +136,8 @@ export default {
</table>
</p>
<br><hr>
<p>
此地圖是用 &#9829; 製作地圖插件名稱是 <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
此地圖是用 &#9829; 製作地圖插件名稱是 <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -136,8 +136,8 @@ export default {
</table>
</p>
<br><hr>
<p>
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -24,7 +24,9 @@
<SettingsMenu v-if="menu.currentPage().id === 'settings'" />
<div class="info-content" v-if="menu.currentPage().id === 'info'" v-html="$t('info.content')"></div>
<div class="info-content" v-if="menu.currentPage().id === 'info'" v-html="$t('info.content', {
version: $bluemap.settings.version
})"></div>
</SideMenu>
</template>
@ -77,5 +79,9 @@ export default {
}
}
}
.info-footer {
text-align: center;
}
}
</style>

View File

@ -140,8 +140,8 @@ export default {
</table>
</p>
<br><hr>
<p>
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a>.
<p class="info-footer">
This map has been generated with &#9829; using <a href="https://bluecolo.red/bluemap">BlueMap</a> {version}
</p>
`
}

View File

@ -55,6 +55,7 @@ export class BlueMapApp {
this.markerFileManager = null;
/** @type {{
* version: string,
* useCookies: boolean,
* enableFreeFlight: boolean,
* resolutionDefault: number,
@ -639,7 +640,8 @@ export class BlueMapApp {
history.replaceState(undefined, undefined, hash);
document.title = i18n.t("pageTitle", {
map: this.mapViewer.map ? this.mapViewer.map.data.name : "?"
map: this.mapViewer.map ? this.mapViewer.map.data.name : "?",
version: this.settings.version
});
}