From 8949f68b81cb73a5ec2bed0fb29d4b41cc82dada Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 8 Apr 2025 18:09:02 +0300 Subject: [PATCH] fix(server): duplicating note subtree escapes special characters --- src/public/translations/ro/translation.json | 2 +- translations/cn/server.json | 2 +- translations/de/server.json | 2 +- translations/en/server.json | 2 +- translations/es/server.json | 2 +- translations/fr/server.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.json index 590cb04f0..afc34d06e 100644 --- a/src/public/translations/ro/translation.json +++ b/src/public/translations/ro/translation.json @@ -1648,7 +1648,7 @@ }, "notes": { "duplicate-note-suffix": "(dupl.)", - "duplicate-note-title": "{{ noteTitle }} {{ duplicateNoteSuffix }}" + "duplicate-note-title": "{{- noteTitle }} {{ duplicateNoteSuffix }}" }, "geo-map-context": { "open-location": "Deschide locația", diff --git a/translations/cn/server.json b/translations/cn/server.json index 4080fda97..8d344d267 100644 --- a/translations/cn/server.json +++ b/translations/cn/server.json @@ -253,7 +253,7 @@ "notes": { "new-note": "新建笔记", "duplicate-note-suffix": "(重复)", - "duplicate-note-title": "{{ noteTitle }} {{ duplicateNoteSuffix }}" + "duplicate-note-title": "{{- noteTitle }} {{ duplicateNoteSuffix }}" }, "backend_log": { "log-does-not-exist": "后端日志文件 '{{ fileName }}' 暂不存在。", diff --git a/translations/de/server.json b/translations/de/server.json index 476ecb162..8cb8d38dd 100644 --- a/translations/de/server.json +++ b/translations/de/server.json @@ -245,7 +245,7 @@ "notes": { "new-note": "Neue Notiz", "duplicate-note-suffix": "(dup)", - "duplicate-note-title": "{{ noteTitle }} {{ duplicateNoteSuffix }}" + "duplicate-note-title": "{{- noteTitle }} {{ duplicateNoteSuffix }}" }, "backend_log": { "log-does-not-exist": "Die Backend-Log-Datei '{{ fileName }}' existiert (noch) nicht.", diff --git a/translations/en/server.json b/translations/en/server.json index ab10985d1..e987b4148 100644 --- a/translations/en/server.json +++ b/translations/en/server.json @@ -253,7 +253,7 @@ "notes": { "new-note": "New note", "duplicate-note-suffix": "(dup)", - "duplicate-note-title": "{{ noteTitle }} {{ duplicateNoteSuffix }}" + "duplicate-note-title": "{{- noteTitle }} {{ duplicateNoteSuffix }}" }, "backend_log": { "log-does-not-exist": "The backend log file '{{ fileName }}' does not exist (yet).", diff --git a/translations/es/server.json b/translations/es/server.json index ecfdba3b7..b523a2b03 100644 --- a/translations/es/server.json +++ b/translations/es/server.json @@ -250,7 +250,7 @@ "notes": { "new-note": "Nueva nota", "duplicate-note-suffix": "(dup)", - "duplicate-note-title": "{{noteTitle}} {{duplicateNoteSuffix}}" + "duplicate-note-title": "{{- noteTitle}} {{duplicateNoteSuffix}}" }, "backend_log": { "log-does-not-exist": "El archivo de registro del backend '{{fileName}}' no existe (aún).", diff --git a/translations/fr/server.json b/translations/fr/server.json index 983c5155c..aaecbb5d2 100644 --- a/translations/fr/server.json +++ b/translations/fr/server.json @@ -249,7 +249,7 @@ "notes": { "new-note": "Nouvelle note", "duplicate-note-suffix": "(dup)", - "duplicate-note-title": "{{ noteTitle }} {{ duplicateNoteSuffix }}" + "duplicate-note-title": "{{- noteTitle }} {{ duplicateNoteSuffix }}" }, "backend_log": { "log-does-not-exist": "Le fichier journal '{{ fileName }}' n'existe pas (encore).",