|
3 | 3 | class="bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6" |
4 | 4 | v-if="meta" |
5 | 5 | > |
6 | | - <p v-if="meta.total < 1">No results found</p> |
| 6 | + <p v-if="meta.total < 1">{{ translations.no_results_found }}</p> |
7 | 7 | <div v-if="meta.total > 0" class="flex-1 flex justify-between sm:hidden"> |
8 | 8 | <component |
9 | 9 | :is="meta.prev_page_url ? 'inertia-link' : 'div'" |
10 | 10 | :href="meta.prev_page_url" |
11 | 11 | class="relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:text-gray-500" |
12 | | - >Previous</component> |
| 12 | + >{{ translations.previous }}</component> |
13 | 13 | <component |
14 | 14 | :is="meta.next_page_url ? 'inertia-link' : 'div'" |
15 | 15 | :href="meta.next_page_url" |
16 | 16 | class="ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:text-gray-500" |
17 | | - >Next</component> |
| 17 | + >{{ translations.next }}</component> |
18 | 18 | </div> |
19 | 19 | <div v-if="meta.total > 0" class="hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"> |
20 | 20 | <div> |
21 | 21 | <p class="hidden lg:block text-sm text-gray-700"> |
22 | 22 | <span class="font-medium">{{ meta.from }}</span> |
23 | | - to |
| 23 | + {{ translations.to }} |
24 | 24 | <span class="font-medium">{{ meta.to }}</span> |
25 | | - of |
| 25 | + {{ translations.of }} |
26 | 26 | <span class="font-medium">{{ meta.total }}</span> |
27 | | - results |
| 27 | + {{ translations.results }} |
28 | 28 | </p> |
29 | 29 | </div> |
30 | 30 | <div> |
|
37 | 37 | :href="meta.prev_page_url" |
38 | 38 | class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50" |
39 | 39 | > |
40 | | - <span class="sr-only">Previous</span> |
| 40 | + <span class="sr-only">{{ translations.previous }}</span> |
41 | 41 | <svg |
42 | 42 | xmlns="http://www.w3.org/2000/svg" |
43 | 43 | class="h-5 w-5" |
|
69 | 69 | :href="meta.next_page_url" |
70 | 70 | class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50" |
71 | 71 | > |
72 | | - <span class="sr-only">Next</span> |
| 72 | + <span class="sr-only">{{ translations.next }}</span> |
73 | 73 | <svg |
74 | 74 | xmlns="http://www.w3.org/2000/svg" |
75 | 75 | class="h-5 w-5" |
|
0 commit comments