Skip to content

Commit

Permalink
fix: remove unused translation status settings entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Clovis committed Jan 5, 2025
1 parent a721451 commit 0e2f14c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion elk/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@
"how_to_contribute": "How to contribute?",
"label": "Language",
"post_language": "Posting Language",
"status": "Translation status: {0}/{1} ({2}%)",
"translations": {
"add": "Add",
"choose_language": "Choose language",
Expand Down
1 change: 0 additions & 1 deletion elk/locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@
"display_language": "Langue d'affichage",
"label": "Langue",
"post_language": "Langue de publication",
"status": "État de la traduction : {0}/{1} ({2} %)",
"translations": {
"add": "Ajouter",
"choose_language": "Choisir une langue",
Expand Down
8 changes: 0 additions & 8 deletions elk/pages/settings/language/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ const { t, locale } = useI18n()
useHydratedHead({
title: () => `${t('settings.language.label')} | ${t('nav.settings')}`,
})
const status = computed(() => {
// const entry = translationStatus.locales[locale.value]
// return t('settings.language.status', [entry.total, translationStatus.total, entry.percentage])
return t('settings.language.status')
})
</script>

<template>
Expand All @@ -28,9 +23,6 @@ const status = computed(() => {
<h2 py2 font-bold text-xl flex="~ gap-1" items-center>
{{ $t('settings.language.display_language') }}
</h2>
<div>
{{ status }}
</div>
<SettingsLanguage select-settings />
<NuxtLink
href="https://docs.elk.zone/guide/contributing"
Expand Down

0 comments on commit 0e2f14c

Please sign in to comment.