1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-30 15:58:06 +09:00

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

This commit is contained in:
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": { "language": {
"display_language": "Display Language", "display_language": "Display Language",
"how_to_contribute": "How to contribute?",
"label": "Language", "label": "Language",
"post_language": "Posting Language", "post_language": "Posting Language",
"status": "Translation status: {0}/{1} ({2}%)", "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> <h2 py2 font-bold text-xl flex="~ gap-1" items-center>
{{ $t('settings.language.display_language') }} {{ $t('settings.language.display_language') }}
</h2> </h2>
<div>{{ status }}</div> <div>
{{ status }}
</div>
<SettingsLanguage select-settings /> <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>
<div mt4> <div mt4>
<h2 font-bold text-xl flex="~ gap-1" items-center> <h2 font-bold text-xl flex="~ gap-1" items-center>