Skip to content

Commit

Permalink
fix: remove several occurrences of translation file prefix (#2188)
Browse files Browse the repository at this point in the history
Co-authored-by: BuildTools <[email protected]>
  • Loading branch information
marius-arch and BuildTools authored Nov 5, 2024
1 parent 7ea9c00 commit 95c126f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"layout.manage.navigation.**",
],
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib",
"explorer.fileNesting.patterns": {
Expand Down
10 changes: 5 additions & 5 deletions src/widgets/dnshole/TimerModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ export function TimerModal({ toggleDns, getDnsStatus, opened, close, appId }: Ti
setHours(0);
setMinutes(0);
}}
title={t('modules/dns-hole-controls:durationModal.title')}
title={t('durationModal.title')}
>
<Flex direction="column" align="center" justify="center">
<Stack align="flex-end">
<Group spacing={5}>
<Text>{t('modules/dns-hole-controls:durationModal.hours')}</Text>
<Text>{t('durationModal.hours')}</Text>
<ActionIcon
size={35}
variant="default"
Expand All @@ -73,7 +73,7 @@ export function TimerModal({ toggleDns, getDnsStatus, opened, close, appId }: Ti
</ActionIcon>
</Group>
<Group spacing={5}>
<Text>{t('modules/dns-hole-controls:durationModal.minutes')}</Text>
<Text>{t('durationModal.minutes')}</Text>
<ActionIcon
size={35}
variant="default"
Expand Down Expand Up @@ -101,7 +101,7 @@ export function TimerModal({ toggleDns, getDnsStatus, opened, close, appId }: Ti
</Group>
</Stack>
<Text ta="center" c="dimmed" my={5}>
{t('modules/dns-hole-controls:durationModal.unlimited')}
{t('durationModal.unlimited')}
</Text>
<Button
variant="light"
Expand All @@ -116,7 +116,7 @@ export function TimerModal({ toggleDns, getDnsStatus, opened, close, appId }: Ti
close();
}}
>
{t('modules/dns-hole-controls:durationModal.set')}
{t('durationModal.set')}
</Button>
</Flex>
</Modal>
Expand Down

0 comments on commit 95c126f

Please sign in to comment.