mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
Styling and fix translations
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
const { env } = require('process');
|
|
||||||
|
|
||||||
const { i18n } = require('./next-i18next.config');
|
const { i18n } = require('./next-i18next.config');
|
||||||
|
|
||||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"modal": {
|
"modal": {
|
||||||
"title": "Add a new tile",
|
"title": "Add a new tile omegalaul",
|
||||||
"text": "Tiles are the main element of homarr. They allow you to configure the dashboard and display the information you want."
|
"text": "Tiles are the main element of homarr. They allow you to configure the dashboard and display the information you want."
|
||||||
},
|
},
|
||||||
"actionIcon": {
|
"actionIcon": {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"madeWithLove": "Made with ❤️ by @"
|
"madeWithLove": "Made with ❤️ by @"
|
||||||
},
|
},
|
||||||
"grow": "Grow grid (take all space)",
|
"grow": "Grow grid (take all space)",
|
||||||
"yayout": {
|
"layout": {
|
||||||
"title": "Dashboard yayout",
|
"title": "Dashboard yayout",
|
||||||
"main": "Main",
|
"main": "Main",
|
||||||
"sidebar": "Sidebar",
|
"sidebar": "Sidebar",
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export default function ConfigActions() {
|
|||||||
<Flex gap="xs" justify="stretch">
|
<Flex gap="xs" justify="stretch">
|
||||||
<ActionIcon className={classes.actionIcon} onClick={handleDownload} variant="default">
|
<ActionIcon className={classes.actionIcon} onClick={handleDownload} variant="default">
|
||||||
<IconDownload size={20} />
|
<IconDownload size={20} />
|
||||||
<Text>{t('buttons.download')}</Text>
|
<Text size="sm">{t('buttons.download')}</Text>
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
className={classes.actionIcon}
|
className={classes.actionIcon}
|
||||||
@@ -48,11 +48,11 @@ export default function ConfigActions() {
|
|||||||
variant="light"
|
variant="light"
|
||||||
>
|
>
|
||||||
<IconTrash color={colors.red[2]} size={20} />
|
<IconTrash color={colors.red[2]} size={20} />
|
||||||
<Text>{t('buttons.delete.text')}</Text>
|
<Text size="sm">{t('buttons.delete.text')}</Text>
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
<ActionIcon className={classes.actionIcon} onClick={createCopyModal.open} variant="default">
|
<ActionIcon className={classes.actionIcon} onClick={createCopyModal.open} variant="default">
|
||||||
<IconCopy size={20} />
|
<IconCopy size={20} />
|
||||||
<Text>{t('buttons.saveCopy')}</Text>
|
<Text size="sm">{t('buttons.saveCopy')}</Text>
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ export const LayoutSelector = ({ defaultLayout }: LayoutSelectorProps) => {
|
|||||||
<Paper className={classes.primaryWrapper} p="xs" withBorder>
|
<Paper className={classes.primaryWrapper} p="xs" withBorder>
|
||||||
<Text align="center">{t('layout.main')}</Text>
|
<Text align="center">{t('layout.main')}</Text>
|
||||||
<Text color="dimmed" size="xs" align="center">
|
<Text color="dimmed" size="xs" align="center">
|
||||||
{t('cannotturnoff')}
|
{t('layout.cannotturnoff')}
|
||||||
</Text>
|
</Text>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user