vue3-easy-data-table icon indicating copy to clipboard operation
vue3-easy-data-table copied to clipboard

Doc - Footer translation

Open tomgeorgelin opened this issue 2 years ago • 1 comments

I don't find it easily in the doc, so I post it here.

You can translate footer by adding props in the component like:

<template>
	<EasyDataTable
		:headers="headers"
		:items="items"
		rowsPerPageMessage="Lignes par page"
		rowsOfPageSeparatorMessage="de"
	/>
</template>

Hope that's helped someone

tomgeorgelin avatar May 11 '23 07:05 tomgeorgelin

PROPS are available at: node_modules/vue3-easy-data-table/dist/vue3-easy-data-table.es.js

And then it can be used as a reference to know which PROPS to use and how to use them.

Here is an example in Brazilian:

<template>
  <EasyDataTable
    :headers="headers"
    :items="items"
    alternating
    buttons-pagination
    rowsPerPageMessage="Linhas por páginas"
    rowsOfPageSeparatorMessage="de"
    emptyMessage="Sem dados para exibir!"
  />
</template>

dansp89 avatar May 22 '23 04:05 dansp89