Polish: Unicode diacritics fix, Header drawer, date formatting

- Czech diacritics properly rendered (no more escape sequences)
- Header avatar click opens drawer on mobile+desktop
- Invalid Date -> Bez terminu fallback with cs-CZ locale
- Chat/Settings pages improved

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude CLI Agent
2026-03-29 13:01:48 +00:00
parent 8ef3206ff0
commit eac9e72404
3 changed files with 58 additions and 27 deletions

View File

@@ -63,7 +63,7 @@ export default function ChatPage() {
const assistantMsg: ChatMessage = {
id: (Date.now() + 1).toString(),
role: "assistant",
content: data.reply || data.message || "Omlouv\u00e1m se, nemohl jsem zpracovat va\u0161i zpr\u00e1vu.",
content: data.reply || data.message || "Omlouvám se, nemohl jsem zpracovat vaši zprávu.",
timestamp: new Date(),
};
setMessages((prev) => [...prev, assistantMsg]);
@@ -71,7 +71,7 @@ export default function ChatPage() {
const errorMsg: ChatMessage = {
id: (Date.now() + 1).toString(),
role: "assistant",
content: "Chat asistent je momentáln\u011b nedostupný. Zkuste to prosím pozd\u011bji.",
content: "Chat asistent je momentálně nedostupný. Zkuste to prosím později.",
timestamp: new Date(),
};
setMessages((prev) => [...prev, errorMsg]);
@@ -101,7 +101,7 @@ export default function ChatPage() {
</div>
<div>
<h1 className="font-semibold">AI Asistent</h1>
<p className="text-xs text-muted">Zeptejte se na cokoliv ohledn\u011b va\u0161ich úkol\u016f</p>
<p className="text-xs text-muted">Zeptejte se na cokoliv ohledně vašich úkolů</p>
</div>
</div>
@@ -114,9 +114,9 @@ export default function ChatPage() {
<path strokeLinecap="round" strokeLinejoin="round" d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z" />
</svg>
</div>
<p className="text-muted text-lg font-medium">Za\u010dn\u011bte konverzaci</p>
<p className="text-muted text-lg font-medium">Začněte konverzaci</p>
<p className="text-muted text-sm mt-1">
Napi\u0161te zpr\u00e1vu a AI asistent v\u00e1m pom\u016f\u017ee s úkoly
Napište zprávu a AI asistent vám pomůže s úkoly
</p>
</div>
)}
@@ -168,7 +168,7 @@ export default function ChatPage() {
value={input}
onChange={(e) => setInput(e.target.value)}
onKeyDown={handleKeyDown}
placeholder="Napi\u0161te zpr\u00e1vu..."
placeholder="Napište zprávu..."
rows={1}
className="flex-1 px-4 py-3 border border-gray-300 dark:border-gray-600 rounded-2xl bg-white dark:bg-gray-800 focus:ring-2 focus:ring-blue-500 focus:border-transparent outline-none resize-none text-sm"
style={{ maxHeight: "120px" }}