Polish translation fixes

This commit is contained in:
pswid
2023-05-29 12:43:55 +02:00
parent 4a3201f194
commit b57fff13eb
20 changed files with 61 additions and 53 deletions

View File

@@ -318,7 +318,7 @@ const DashboardDevices: FC = () => {
const handleDownloadCsv = () => {
const columns = [
{ accessor: (dv: any) => dv.id.slice(2), name: LL.ENTITY_NAME() },
{ accessor: (dv: any) => dv.id.slice(2), name: LL.ENTITY_NAME(0) },
{
accessor: (dv: any) => (typeof dv.v === 'number' ? new Intl.NumberFormat().format(dv.v) : dv.v),
name: LL.VALUE(0)
@@ -515,7 +515,7 @@ const DashboardDevices: FC = () => {
<Grid item xs>
<Typography sx={{ ml: 1 }} variant="subtitle2" color="primary">
{shown_data.length + ' ' + LL.ENTITIES()}
{shown_data.length + ' ' + LL.ENTITIES(shown_data.length)}
<IconButton onClick={() => setShowDeviceInfo(true)}>
<InfoOutlinedIcon color="primary" sx={{ fontSize: 18, verticalAlign: 'middle' }} />
</IconButton>
@@ -553,7 +553,7 @@ const DashboardDevices: FC = () => {
endIcon={getSortIcon(dv_sort.state, 'NAME')}
onClick={() => dv_sort.fns.onToggleSort({ sortKey: 'NAME' })}
>
{LL.ENTITY_NAME()}
{LL.ENTITY_NAME(0)}
</Button>
</HeaderCell>
<HeaderCell resize>