demo mode translations

This commit is contained in:
Gamosoft 2026-01-14 09:31:25 +01:00
parent 8f33aab631
commit e5fade5a99
11 changed files with 54 additions and 4 deletions

View File

@ -1906,11 +1906,11 @@
<h1 class="text-3xl font-bold mb-2" style="color: var(--text-primary);" x-text="appName"></h1> <h1 class="text-3xl font-bold mb-2" style="color: var(--text-primary);" x-text="appName"></h1>
<p class="text-lg" style="color: var(--text-secondary);" x-text="t('app.tagline')"></p> <p class="text-lg" style="color: var(--text-secondary);" x-text="t('app.tagline')"></p>
<!-- Demo Mode Warning Banner --> <!-- Demo Mode Warning Banner -->
<div x-data="{ showDemoBanner: false }" x-init="fetch('/api/config').then(r => r.json()).then(d => showDemoBanner = d.demoMode || false)" x-show="showDemoBanner" class="mt-4 flex items-center px-4 py-2.5 text-sm rounded-lg" style="background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); color: white; font-weight: 500;"> <div x-show="demoMode" class="mt-4 flex items-center px-4 py-2.5 text-sm rounded-lg" style="background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); color: white; font-weight: 500;">
<svg class="w-5 h-5 mr-2 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <svg class="w-5 h-5 mr-2 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
</svg> </svg>
<span><strong>DEMO MODE:</strong> Contents reset daily. Changes may be overwritten by other users.</span> <span><strong x-text="t('demo.title') + ':'"></strong> <span x-text="t('demo.warning')"></span></span>
</div> </div>
</div> </div>
@ -2148,11 +2148,11 @@
</div> </div>
<!-- Demo Mode Warning Banner --> <!-- Demo Mode Warning Banner -->
<div x-data="{ showDemoBanner: false }" x-init="fetch('/api/config').then(r => r.json()).then(d => showDemoBanner = d.demoMode || false)" x-show="showDemoBanner" class="flex items-center px-3 py-1.5 text-xs rounded-lg" style="background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); color: white; font-weight: 500;"> <div x-show="demoMode" class="flex items-center px-3 py-1.5 text-xs rounded-lg" style="background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); color: white; font-weight: 500;">
<svg class="w-4 h-4 mr-2 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"> <svg class="w-4 h-4 mr-2 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
</svg> </svg>
<span><strong>DEMO MODE:</strong> Contents reset daily. Changes may be overwritten by other users.</span> <span><strong x-text="t('demo.title') + ':'"></strong> <span x-text="t('demo.warning')"></span></span>
</div> </div>
<div class="flex items-center space-x-2" x-show="currentNote"> <div class="flex items-center space-x-2" x-show="currentNote">

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "Unterstütze dieses Projekt" "enjoying_demo": "Unterstütze dieses Projekt"
},
"demo": {
"title": "DEMO-MODUS",
"warning": "Inhalte werden täglich zurückgesetzt. Änderungen können von anderen Benutzern überschrieben werden."
} }
} }

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "Support this project" "enjoying_demo": "Support this project"
},
"demo": {
"title": "DEMO MODE",
"warning": "Contents reset daily. Changes may be overwritten by other users."
} }
} }

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "Support this project" "enjoying_demo": "Support this project"
},
"demo": {
"title": "DEMO MODE",
"warning": "Contents reset daily. Changes may be overwritten by other users."
} }
} }

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "Apoya este proyecto" "enjoying_demo": "Apoya este proyecto"
},
"demo": {
"title": "MODO DEMO",
"warning": "El contenido se reinicia diariamente. Los cambios pueden ser sobrescritos por otros usuarios."
} }
} }

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "Soutenez ce projet" "enjoying_demo": "Soutenez ce projet"
},
"demo": {
"title": "MODE DÉMO",
"warning": "Le contenu est réinitialisé quotidiennement. Les modifications peuvent être écrasées par d'autres utilisateurs."
} }
} }

View File

@ -251,5 +251,10 @@
"support": { "support": {
"enjoying_demo": "Supporta questo progetto" "enjoying_demo": "Supporta questo progetto"
},
"demo": {
"title": "MODALITÀ DEMO",
"warning": "I contenuti vengono ripristinati ogni giorno. Le modifiche potrebbero essere sovrascritte da altri utenti."
} }
} }

View File

@ -251,5 +251,10 @@
"support": { "support": {
"enjoying_demo": "このプロジェクトを支援" "enjoying_demo": "このプロジェクトを支援"
},
"demo": {
"title": "デモモード",
"warning": "コンテンツは毎日リセットされます。変更は他のユーザーによって上書きされる場合があります。"
} }
} }

View File

@ -251,5 +251,10 @@
"support": { "support": {
"enjoying_demo": "Поддержать проект" "enjoying_demo": "Поддержать проект"
},
"demo": {
"title": "ДЕМО-РЕЖИМ",
"warning": "Содержимое сбрасывается ежедневно. Изменения могут быть перезаписаны другими пользователями."
} }
} }

View File

@ -251,5 +251,10 @@
"support": { "support": {
"enjoying_demo": "Podprite ta projekt" "enjoying_demo": "Podprite ta projekt"
},
"demo": {
"title": "DEMO NAČIN",
"warning": "Vsebina se dnevno ponastavi. Spremembe lahko prepišejo drugi uporabniki."
} }
} }

View File

@ -251,6 +251,11 @@
"support": { "support": {
"enjoying_demo": "支持此项目" "enjoying_demo": "支持此项目"
},
"demo": {
"title": "演示模式",
"warning": "内容每日重置。您的更改可能被其他用户覆盖。"
} }
} }