Expand AITURK Turkish settings and desktop surfaces for beta 5

This commit is contained in:
2026-09-06 05:03:32 +03:00
parent 237d1e2060
commit 5e76f58637
108 changed files with 6675 additions and 1034 deletions
+5 -5
View File
@@ -27,7 +27,7 @@ import {
setSkillEnabled,
setToolsetEnabled
} from '@/hermes'
import { useI18n } from '@/i18n'
import { type Translations, useI18n } from '@/i18n'
import { isDesktopToolsetVisible } from '@/lib/desktop-toolsets'
import { compactNumber } from '@/lib/format'
import { Loader2 } from '@/lib/icons'
@@ -118,7 +118,7 @@ const usageOf = (skill: SkillInfo): number => (typeof skill.usage === 'number' ?
const categoryFor = (skill: SkillInfo): string => asText(skill.category) || 'general'
// Row subtitle: category, with non-default origins badged.
function skillSubtitle(skill: SkillInfo): React.ReactNode {
function skillSubtitle(skill: SkillInfo, copy: Translations['surfaces']): React.ReactNode {
const category = prettyName(categoryFor(skill))
const provenance = skill.provenance
@@ -127,12 +127,12 @@ function skillSubtitle(skill: SkillInfo): React.ReactNode {
<span className="truncate">{category}</span>
{provenance === 'agent' && (
<Badge className="shrink-0 normal-case" variant="default">
learned
{copy.learned}
</Badge>
)}
{provenance === 'hub' && (
<Badge className="shrink-0 normal-case" variant="muted">
hub
{copy.hub}
</Badge>
)}
</>
@@ -927,7 +927,7 @@ export function SkillsView({
setSelectedOfficial(null)
}}
onToggle={enabled => void handleToggleSkill(skill, enabled)}
subtitle={skillSubtitle(skill)}
subtitle={skillSubtitle(skill, t.surfaces)}
title={skill.name}
toggleLabel={skill.name}
/>