fix: ubah teks stale villages alert ke bahasa inggris
This commit is contained in:
@@ -270,7 +270,7 @@ function AppOverviewPage() {
|
||||
<Group gap="sm" wrap="nowrap">
|
||||
<TbAlertTriangle size={18} color="var(--mantine-color-orange-5)" style={{ flexShrink: 0 }} />
|
||||
<Text fw={700} size="sm" c="orange.4">
|
||||
{staleRes.data.count} desa tidak ada aktivitas dalam {staleDays} hari terakhir
|
||||
{staleRes.data.count} {staleRes.data.count === 1 ? 'village' : 'villages'} with no activity in the last {staleDays} days
|
||||
</Text>
|
||||
</Group>
|
||||
<Group gap="xs" wrap="nowrap">
|
||||
@@ -279,9 +279,9 @@ function AppOverviewPage() {
|
||||
value={String(staleDays)}
|
||||
onChange={(v) => setStaleDays(Number(v) as 7 | 14 | 30)}
|
||||
data={[
|
||||
{ label: '7H', value: '7' },
|
||||
{ label: '14H', value: '14' },
|
||||
{ label: '30H', value: '30' },
|
||||
{ label: '7D', value: '7' },
|
||||
{ label: '14D', value: '14' },
|
||||
{ label: '30D', value: '30' },
|
||||
]}
|
||||
/>
|
||||
<ActionIcon variant="subtle" color="gray" size="sm" onClick={toggleStale}>
|
||||
@@ -305,7 +305,7 @@ function AppOverviewPage() {
|
||||
{v.name}
|
||||
</Anchor>
|
||||
<Text size="xs" c="orange.6" fw={600}>
|
||||
{v.daysSince === null ? 'Belum pernah ada aktivitas' : `${v.daysSince} hari lalu`}
|
||||
{v.daysSince === null ? 'No activity yet' : `${v.daysSince}d ago`}
|
||||
</Text>
|
||||
</Group>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user