standardize i18n keys for consistency rename keys

fix: avatar url `null` console warnings.
This commit is contained in:
Abhinav Raut
2025-04-02 03:51:30 +05:30
parent cd4b9a9c23
commit 6b6549cb03
118 changed files with 1515 additions and 992 deletions

View File

@@ -39,7 +39,6 @@
</div>
</template>
<script setup>
import { FlexRender, getCoreRowModel, useVueTable } from '@tanstack/vue-table'
import { useI18n } from 'vue-i18n'
@@ -65,13 +64,19 @@ const props = defineProps({
})
// Set the default value for emptyText if it's empty
const emptyText = computed(() => props.emptyText || t('globals.messages.noResultsFound'))
const emptyText = computed(
() =>
props.emptyText ||
t('globals.messages.noResults', {
name: t('globals.terms.result', 2)
})
)
const table = useVueTable({
get data () {
get data() {
return props.data
},
get columns () {
get columns() {
return props.columns
},
getCoreRowModel: getCoreRowModel()