English Transilation added
This commit is contained in:
parent
f453750570
commit
6514198cf3
|
@ -232,6 +232,15 @@
|
|||
"CAPTION_PLACEHOLDER": "",
|
||||
"LOCATION": "",
|
||||
"SHOW_ON_MAP": "",
|
||||
"MAP":"",
|
||||
"MAP_SETTINGS":"",
|
||||
"ENABLE_MAPS":"",
|
||||
"DISABLE_MAPS":"",
|
||||
"ENABLE_MAP_DESCRIPTION_1":"",
|
||||
"ENABLE_MAP_DESCRIPTION_2":"",
|
||||
"ENABLE_MAP_DESCRIPTION_3":"",
|
||||
"DISABLE_MAP_DESCRIPTION_1":"",
|
||||
"DISABLE_MAP_DESCRIPTION_2":"",
|
||||
"DETAILS": "",
|
||||
"VIEW_EXIF": "",
|
||||
"NO_EXIF": "",
|
||||
|
|
|
@ -232,6 +232,15 @@
|
|||
"CAPTION_PLACEHOLDER": "Add a description",
|
||||
"LOCATION": "Location",
|
||||
"SHOW_ON_MAP": "View on OpenStreetMap",
|
||||
"MAP":"Map",
|
||||
"MAP_SETTINGS":"Map Settings",
|
||||
"ENABLE_MAPS":"Enable Maps?",
|
||||
"DISABLE_MAPS":"Disable Maps?",
|
||||
"ENABLE_MAP_DESCRIPTION_1":"This will show your photos on a worldmap.",
|
||||
"ENABLE_MAP_DESCRIPTION_2":"The map is hosted by OpenStreetMap, and the exact locations of your photos are never shared.",
|
||||
"ENABLE_MAP_DESCRIPTION_3":"You can disable this feature anytime from Settings.",
|
||||
"DISABLE_MAP_DESCRIPTION_1":"This will disable the display of your photos on a world map.",
|
||||
"DISABLE_MAP_DESCRIPTION_2":"You can enable this feature anytime from Settings.",
|
||||
"DETAILS": "Details",
|
||||
"VIEW_EXIF": "View all EXIF data",
|
||||
"NO_EXIF": "No EXIF data",
|
||||
|
|
|
@ -43,7 +43,7 @@ export default function AdvancedMapSettings({ open, onClose, onRootClose }) {
|
|||
<Stack spacing={'4px'} py={'12px'}>
|
||||
<Titlebar
|
||||
onClose={onClose}
|
||||
title={t('Map')}
|
||||
title={t('MAP')}
|
||||
onRootClose={handleRootClose}
|
||||
/>
|
||||
|
||||
|
@ -55,7 +55,7 @@ export default function AdvancedMapSettings({ open, onClose, onRootClose }) {
|
|||
onClick={openMapSettings}
|
||||
variant="toggle"
|
||||
checked={mapEnabledToggle}
|
||||
label={t('Map Settings')}
|
||||
label={t('MAP_SETTINGS')}
|
||||
/>
|
||||
</MenuItemGroup>
|
||||
</Box>
|
||||
|
|
|
@ -8,25 +8,17 @@ export default function EnableMap({ onClose, disableMap, onRootClose }) {
|
|||
<Stack spacing={'4px'} py={'12px'}>
|
||||
<Titlebar
|
||||
onClose={onClose}
|
||||
title={t('Disable Maps?')}
|
||||
title={t('DISABLE_MAPS')}
|
||||
onRootClose={onRootClose}
|
||||
/>
|
||||
<Stack py={'20px'} px={'8px'} spacing={'32px'}>
|
||||
<Box px={'8px'}>
|
||||
{' '}
|
||||
<Typography color="text.muted">
|
||||
<Trans
|
||||
i18nKey={
|
||||
'This will disable the display of your photos on a world map.'
|
||||
}
|
||||
/>
|
||||
<Trans i18nKey={'DISABLE_MAP_DESCRIPTION_1'} />
|
||||
<br />
|
||||
<br />
|
||||
<Trans
|
||||
i18nKey={
|
||||
'You can enable this feature anytime from Settings.'
|
||||
}
|
||||
/>
|
||||
<Trans i18nKey={'DISABLE_MAP_DESCRIPTION_2'} />
|
||||
</Typography>
|
||||
</Box>
|
||||
<Stack px={'8px'} spacing={'8px'}>
|
||||
|
@ -37,7 +29,7 @@ export default function EnableMap({ onClose, disableMap, onRootClose }) {
|
|||
{t('DISABLE')}
|
||||
</Button>
|
||||
<Button color={'secondary'} size="large" onClick={onClose}>
|
||||
{t('Cancel')}
|
||||
{t('CANCEL')}
|
||||
</Button>
|
||||
</Stack>
|
||||
</Stack>
|
||||
|
|
|
@ -8,34 +8,22 @@ export default function EnableMap({ onClose, enableMap, onRootClose }) {
|
|||
<Stack spacing={'4px'} py={'12px'}>
|
||||
<Titlebar
|
||||
onClose={onClose}
|
||||
title={t('Enable Maps?')}
|
||||
title={t('ENABLE_MAPS')}
|
||||
onRootClose={onRootClose}
|
||||
/>
|
||||
<Stack py={'20px'} px={'8px'} spacing={'32px'}>
|
||||
<Box px={'8px'}>
|
||||
{' '}
|
||||
<Typography color="text.muted">
|
||||
<Trans
|
||||
i18nKey={
|
||||
'This will show your photos on a worldmap.'
|
||||
}
|
||||
/>
|
||||
<Trans i18nKey={'ENABLE_MAP_DESCRIPTION_1'} />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<Trans
|
||||
i18nKey={
|
||||
'The map is hosted by OpenStreetMap, and the exact locations of your photos are never shared.'
|
||||
}
|
||||
/>
|
||||
<Trans i18nKey={'ENABLE_MAP_DESCRIPTION_2'} />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<Trans
|
||||
i18nKey={
|
||||
'You can disable this feature anytime from Settings.'
|
||||
}
|
||||
/>
|
||||
<Trans i18nKey={'ENABLE_MAP_DESCRIPTION_3'} />
|
||||
</Typography>
|
||||
</Box>
|
||||
<Stack px={'8px'} spacing={'8px'}>
|
||||
|
@ -43,7 +31,7 @@ export default function EnableMap({ onClose, enableMap, onRootClose }) {
|
|||
{t('ENABLE')}
|
||||
</Button>
|
||||
<Button color={'secondary'} size="large" onClick={onClose}>
|
||||
{t('Cancel')}
|
||||
{t('CANCEL')}
|
||||
</Button>
|
||||
</Stack>
|
||||
</Stack>
|
||||
|
|
Loading…
Reference in a new issue