Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: tweak memo relation popover

Steven1ae3afc0baa9
diff --git a/web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx b/web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
index ac8d6d837..82c862153 100644
--- a/web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
+++ b/web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
@@ -168,12 +168,10 @@ const AddMemoRelationPopover = (props: Props) => {
}
onChange={(_, value) => setSelectedMemos(value)}
/>
- <div className="mt-2">
- <Checkbox size="sm" label={t("reference.embedded-usage")} checked={embedded} onChange={(e) => setEmbedded(e.target.checked)} />
- </div>
- <div className="mt-1 w-full flex flex-row justify-start items-center space-x-1">
+ <div className="mt-2 w-full flex flex-row justify-end items-center gap-2">
+ <Checkbox size="sm" label={"Embed"} checked={embedded} onChange={(e) => setEmbedded(e.target.checked)} />
<Button size="sm" onClick={addMemoRelations} disabled={selectedMemos.length === 0}>
- {t("common.confirm")}
+ {t("common.add")}
</Button>
</div>
</div>
diff --git a/web/src/locales/en.json b/web/src/locales/en.json
index e83bf19be..d46f2a2dc 100644
--- a/web/src/locales/en.json
+++ b/web/src/locales/en.json
@@ -9,6 +9,7 @@
},
"common": {
"about": "About",
+ "add": "Add",
"admin": "Admin",
"archive": "Archive",
"archived": "Archived",