mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 12:09:02 +01:00
feat(client/import): clarify importing from zip (closes #7429)
This commit is contained in:
parent
8fc7a20220
commit
bcb2daf9b6
@ -164,6 +164,7 @@
|
||||
"importIntoNote": "Import into note",
|
||||
"chooseImportFile": "Choose import file",
|
||||
"importDescription": "Content of the selected file(s) will be imported as child note(s) into",
|
||||
"importZipRecommendation": "Upload a .zip file to seamlessly import an entire directory hierarchy at once.",
|
||||
"options": "Options",
|
||||
"safeImportTooltip": "Trilium <code>.zip</code> export files can contain executable scripts which may contain harmful behavior. Safe import will deactivate automatic execution of all imported scripts. Uncheck \"Safe import\" only if the imported archive is supposed to contain executable scripts and you completely trust the contents of the import file.",
|
||||
"safeImport": "Safe import",
|
||||
|
||||
@ -58,7 +58,12 @@ export default function ImportDialog() {
|
||||
footer={<Button text={t("import.import")} primary disabled={!files} />}
|
||||
show={shown}
|
||||
>
|
||||
<FormGroup name="files" label={t("import.chooseImportFile")} description={<>{t("import.importDescription")} <strong>{ noteTitle }</strong></>}>
|
||||
<FormGroup name="files" label={t("import.chooseImportFile")} description={
|
||||
<>
|
||||
{t("import.importDescription")} <strong>{ noteTitle }</strong>.<br />
|
||||
{t("import.importZipRecommendation")}
|
||||
</>
|
||||
}>
|
||||
<FormFileUpload multiple onChange={setFiles} />
|
||||
</FormGroup>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user