feat: add "How to contribute?" link next to language status (#2733)

zio/stable
TAKAHASHI Shuuji 2024-04-01 14:27:47 +09:00 committed by GitHub
parent 5064b269e7
commit de11a60b17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -459,6 +459,7 @@
},
"language": {
"display_language": "Display Language",
"how_to_contribute": "How to contribute?",
"label": "Language",
"post_language": "Posting Language",
"status": "Translation status: {0}/{1} ({2}%)",

View File

@ -26,8 +26,18 @@ const status = computed(() => {
<h2 py2 font-bold text-xl flex="~ gap-1" items-center>
{{ $t('settings.language.display_language') }}
</h2>
<div>{{ status }}</div>
<div>
{{ status }}
</div>
<SettingsLanguage select-settings />
<NuxtLink
href="https://docs.elk.zone/guide/contributing"
target="_blank"
hover:underline text-primary inline-flex items-center gap-1
>
<span inline-block i-ri:information-line />
{{ $t('settings.language.how_to_contribute') }}
</NuxtLink>
</div>
<div mt4>
<h2 font-bold text-xl flex="~ gap-1" items-center>