mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-28 05:47:52 +00:00
Add translation to save page
This commit is contained in:
parent
5fc2174861
commit
1a0ccbc08d
@ -12,6 +12,8 @@
|
|||||||
},
|
},
|
||||||
"description": "description",
|
"description": "description",
|
||||||
"edit": "edit",
|
"edit": "edit",
|
||||||
|
"export": "export",
|
||||||
|
"import": "import",
|
||||||
"last_height": "last height",
|
"last_height": "last height",
|
||||||
"loading": "loading...",
|
"loading": "loading...",
|
||||||
"logout": "logout",
|
"logout": "logout",
|
||||||
@ -36,8 +38,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"save_options": {
|
"save_options": {
|
||||||
|
"no_pinned_changes": "you currently do not have any changes to your pinned apps",
|
||||||
|
"overwrite_changes": "the app was unable to download your existing QDN-saved pinned apps. Would you like to overwrite those changes?",
|
||||||
|
"overwrite_qdn": "overwrite to QDN",
|
||||||
"publish_qdn": "would you like to publish your settings to QDN (encrypted)?",
|
"publish_qdn": "would you like to publish your settings to QDN (encrypted)?",
|
||||||
"save": "save"
|
"qdn": "use QDN saving",
|
||||||
|
"register_name": "you need a registered Qortal name to save your pinned apps to QDN.",
|
||||||
|
"reset_pinned": "don't like your current local changes? Would you like to reset to the default pinned apps?",
|
||||||
|
"reset_qdn": "don't like your current local changes? Would you like to reset to your saved QDN pinned apps?",
|
||||||
|
"revert_default": "revert to default",
|
||||||
|
"revert_qdn": "revert to QDN",
|
||||||
|
"save_qdn": "save to QDN",
|
||||||
|
"save": "save",
|
||||||
|
"settings": "you are using the export/import way of saving settings.",
|
||||||
|
"unsaved_changes": " You have unsaved changes to your pinned apps. Save them to QDN."
|
||||||
},
|
},
|
||||||
"settings": "settings",
|
"settings": "settings",
|
||||||
"supply": "supply",
|
"supply": "supply",
|
||||||
|
@ -281,9 +281,10 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
You are using the export/import way of saving settings.
|
{t('core:save_options.settings', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>{' '}
|
</Typography>{' '}
|
||||||
// TODO: translate
|
|
||||||
<Spacer height="40px" />
|
<Spacer height="40px" />
|
||||||
<Button
|
<Button
|
||||||
size="small"
|
size="small"
|
||||||
@ -309,7 +310,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Use QDN saving
|
{t('core:save_options.qdn', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
@ -338,8 +341,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
You need a registered Qortal name to save your pinned apps to
|
{t('core:save_options.register_name', {
|
||||||
QDN.
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
) : (
|
) : (
|
||||||
@ -358,8 +362,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
You have unsaved changes to your pinned apps. Save them to
|
{t('core:save_options.unsaved_changes', {
|
||||||
QDN.
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
||||||
<Spacer height="10px" />
|
<Spacer height="10px" />
|
||||||
@ -381,7 +386,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
onClick={saveToQdn}
|
onClick={saveToQdn}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
>
|
>
|
||||||
Save to QDN
|
{t('core:save_options.save_qdn', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
<Spacer height="20px" />
|
<Spacer height="20px" />
|
||||||
{!isNaN(settingsQdnLastUpdated) &&
|
{!isNaN(settingsQdnLastUpdated) &&
|
||||||
@ -392,8 +399,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Don't like your current local changes? Would you
|
{t('core:save_options.reset_qdn', {
|
||||||
like to reset to your saved QDN pinned apps?
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Spacer height="10px" />
|
<Spacer height="10px" />
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
@ -413,7 +421,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Revert to QDN
|
{t('core:save_options.revert_qdn', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@ -425,8 +435,10 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Don't like your current local changes? Would you
|
{' '}
|
||||||
like to reset to the default pinned apps?
|
{t('core:save_options.reset_pinned', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Spacer height="10px" />
|
<Spacer height="10px" />
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
@ -434,7 +446,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
onClick={revertChanges}
|
onClick={revertChanges}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
>
|
>
|
||||||
Revert to default
|
{t('core:save_options.revert_default', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@ -456,8 +470,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
The app was unable to download your existing QDN-saved
|
{t('core:save_options.overwrite_changes', {
|
||||||
pinned apps. Would you like to overwrite those changes?
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Spacer height="10px" />
|
<Spacer height="10px" />
|
||||||
<LoadingButton
|
<LoadingButton
|
||||||
@ -477,7 +492,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Overwrite to QDN
|
{t('core:save_options.overwrite_qdn', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</LoadingButton>
|
</LoadingButton>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
@ -495,7 +512,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
You currently do not have any changes to your pinned apps
|
{t('core:save_options.no_pinned_changes', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
@ -550,7 +569,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Import
|
{t('core:import', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
|
|
||||||
<ButtonBase
|
<ButtonBase
|
||||||
@ -573,7 +594,9 @@ export const Save = ({ isDesktop, disableWidth, myName }) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Export
|
{t('core:export', {
|
||||||
|
postProcess: 'capitalize',
|
||||||
|
})}
|
||||||
</ButtonBase>
|
</ButtonBase>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user