From b536466d8589d1905297d8b318bf9945a8948c99 Mon Sep 17 00:00:00 2001 From: Gamosoft Date: Wed, 17 Dec 2025 10:32:02 +0100 Subject: [PATCH] added ko-fi to demo mode --- frontend/app.js | 2 ++ frontend/index.html | 17 ++++++++++++++++- locales/de-DE.json | 4 ++++ locales/en-US.json | 4 ++++ locales/es-ES.json | 4 ++++ locales/fr-FR.json | 4 ++++ locales/zh-CN.json | 4 ++++ 7 files changed, 38 insertions(+), 1 deletion(-) diff --git a/frontend/app.js b/frontend/app.js index 295cf4e..73eecec 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -128,6 +128,7 @@ function noteApp() { appName: 'NoteDiscovery', appVersion: '0.0.0', authEnabled: false, + demoMode: false, notes: [], currentNote: '', currentNoteName: '', @@ -663,6 +664,7 @@ function noteApp() { this.appName = config.name; this.appVersion = config.version || '0.0.0'; this.authEnabled = config.authentication?.enabled || false; + this.demoMode = config.demoMode || false; } catch (error) { console.error('Failed to load config:', error); } diff --git a/frontend/index.html b/frontend/index.html index 51f66ab..cd8dd35 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1733,7 +1733,22 @@ style="color: var(--accent-primary);" > notediscovery.com - + + + diff --git a/locales/de-DE.json b/locales/de-DE.json index 208e72f..f2e5465 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -224,6 +224,10 @@ "reserved_name": "Dieser Name ist vom Betriebssystem reserviert.", "invalid_dot": "Der Name darf nicht nur ein Punkt sein.", "trailing_dot_space": "Der Name darf nicht mit einem Punkt oder Leerzeichen enden." + }, + + "support": { + "enjoying_demo": "Unterstütze dieses Projekt" } } diff --git a/locales/en-US.json b/locales/en-US.json index 5c32cc6..23f3f2c 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -224,6 +224,10 @@ "reserved_name": "This name is reserved by the operating system.", "invalid_dot": "Name cannot be just a dot.", "trailing_dot_space": "Name cannot end with a dot or space." + }, + + "support": { + "enjoying_demo": "Support this project" } } diff --git a/locales/es-ES.json b/locales/es-ES.json index c51053e..ed92ffb 100644 --- a/locales/es-ES.json +++ b/locales/es-ES.json @@ -224,6 +224,10 @@ "reserved_name": "Este nombre está reservado por el sistema operativo.", "invalid_dot": "El nombre no puede ser solo un punto.", "trailing_dot_space": "El nombre no puede terminar con un punto o espacio." + }, + + "support": { + "enjoying_demo": "Apoya este proyecto" } } diff --git a/locales/fr-FR.json b/locales/fr-FR.json index 5ef619c..7e6cc62 100644 --- a/locales/fr-FR.json +++ b/locales/fr-FR.json @@ -224,6 +224,10 @@ "reserved_name": "Ce nom est réservé par le système d'exploitation.", "invalid_dot": "Le nom ne peut pas être juste un point.", "trailing_dot_space": "Le nom ne peut pas se terminer par un point ou un espace." + }, + + "support": { + "enjoying_demo": "Soutenez ce projet" } } diff --git a/locales/zh-CN.json b/locales/zh-CN.json index a8925a4..9463bfa 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -224,6 +224,10 @@ "reserved_name": "此名称被操作系统保留。", "invalid_dot": "名称不能只是一个点。", "trailing_dot_space": "名称不能以点或空格结尾。" + }, + + "support": { + "enjoying_demo": "支持此项目" } }