feat(i18n): allow "Version" string on about page to localize (#1314)

This commit is contained in:
TAKAHASHI Shuuji 2023-01-20 00:04:09 +09:00 committed by GitHub
parent ae05d3bee5
commit 61f2237121
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -33,7 +33,7 @@ const handleShowCommit = () => {
<template v-if="isHydrated">
<SettingsItem
text="Version"
:text="$t('settings.about.version')"
:to="showCommit ? `https://github.com/elk-zone/elk/commit/${buildInfo.commit}` : undefined"
external target="_blank"
@click="handleShowCommit"