Skip to content

Commit

Permalink
feat: add "How to contribute?" link next to language status (#2733)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuuji3 committed Apr 1, 2024
1 parent 5064b26 commit de11a60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions locales/en.json
Expand Up @@ -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}%)",
Expand Down
12 changes: 11 additions & 1 deletion pages/settings/language/index.vue
Expand Up @@ -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>
Expand Down

0 comments on commit de11a60

Please sign in to comment.