From 5865181d9859fb03f5af84d43602718f506d5aa0 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 9 Dec 2024 14:08:29 +0100 Subject: [PATCH] Change terminology Note -> Buffer --- src/components/NewBuffer.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/NewBuffer.vue b/src/components/NewBuffer.vue index cc0b335..eac8d6c 100644 --- a/src/components/NewBuffer.vue +++ b/src/components/NewBuffer.vue @@ -91,7 +91,7 @@ }, dialogTitle() { - return this.createBufferParams.mode === "currentBlock" ? "New Note from Block" : "New Note" + return this.createBufferParams.mode === "currentBlock" ? "New Buffer from Block" : "New Buffer" }, }, @@ -151,17 +151,17 @@ slug = slugify(this.name + "-" + i) } if (this.buffers[path]) { - console.error("Failed to create note, path already exists", path) + console.error("Failed to create buffer, path already exists", path) this.errors.name = true return } - //console.log("Creating note", path, this.createBufferParams) + //console.log("Creating buffer", path, this.createBufferParams) if (this.createBufferParams.mode === "currentBlock") { this.createNewBufferFromActiveBlock(path, this.name) } else if (this.createBufferParams.mode === "new") { this.createNewBuffer(path, this.name) } else { - throw new Error("Unknown createNote Mode: " + this.createBufferParams.mode) + throw new Error("Unknown createBuffer Mode: " + this.createBufferParams.mode) } this.$emit("close") @@ -173,7 +173,7 @@