refactor(i18n): Optimize service pagination internationalization copy
- Added service pagination related copy in English and Chinese translation files - Updated type definitions to include new translation fields - Modified the ServicesPagination component to use the newly added translation fields
This commit is contained in:
@@ -80,9 +80,9 @@ export function ServicesPagination({
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<span className="text-sm text-muted-foreground whitespace-nowrap">
|
||||
{totalItems > 0
|
||||
? `${startItem}-${endItem} of ${totalItems} ${t("services") || "services"}`
|
||||
: `0 ${t("services") || "services"}`
|
||||
{totalItems > 0
|
||||
? t("servicesPagination", {"startItem": startItem, "endItem": endItem, "totalItems": totalItems})
|
||||
: t("servicesPaginationNoService")
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user