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

zio/stable
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

@ -280,7 +280,8 @@
"sponsors": "Sponsors",
"sponsors_body_1": "Elk is made possible thanks the generous sponsoring and help of:",
"sponsors_body_2": "And all the companies and individuals sponsoring Elk Team and the members.",
"sponsors_body_3": "If you're enjoying the app, consider sponsoring us:"
"sponsors_body_3": "If you're enjoying the app, consider sponsoring us:",
"version": "Version"
},
"account_settings": {
"description": "Edit your account settings in Mastodon UI",

View File

@ -244,7 +244,8 @@
"sponsors": "スポンサー",
"sponsors_body_1": "Elkは以下の寛大なスポンサー",
"sponsors_body_2": "そして、Elkのチームとメンバーを支援してくれているすべての企業と個人のおかげで実現しました。",
"sponsors_body_3": "もしアプリを楽しんでくれているなら、サポートすることを考えてみてください。"
"sponsors_body_3": "もしアプリを楽しんでくれているなら、サポートすることを考えてみてください。",
"version": "バージョン"
},
"account_settings": {
"description": "Mastodon UIでアカウントの設定を編集します",

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"